Class: RubyStatistics::Distribution::StandardNormal
- Defined in:
- lib/ruby-statistics/distribution/normal.rb
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from Normal
#mean, #standard_deviation, #variance
Instance Method Summary collapse
- #density_function(value) ⇒ Object
-
#initialize ⇒ StandardNormal
constructor
A new instance of StandardNormal.
Methods inherited from Normal
Constructor Details
#initialize ⇒ StandardNormal
Returns a new instance of StandardNormal.
71 72 73 |
# File 'lib/ruby-statistics/distribution/normal.rb', line 71 def initialize super(0, 1) # Mean = 0, Std = 1 end |