diff --git a/lib/rubystats/beta_distribution.rb b/lib/rubystats/beta_distribution.rb index 01c218d..b8eb73e 100755 --- a/lib/rubystats/beta_distribution.rb +++ b/lib/rubystats/beta_distribution.rb @@ -10,7 +10,7 @@ class BetaDistribution < Rubystats::ProbabilityDistribution #dgr_q = degrees of freedom q def initialize(dgr_p, dgr_q) if dgr_p <= 0 || dgr_q <= 0 - raise ArgumentError.new("Paramters must be greater than zero.") + raise ArgumentError.new("Parameters must be greater than zero.") end @p = dgr_p.to_f @q = dgr_q.to_f