Module: Distribution::Normal::Statistics2_

Defined in:
lib/distribution/normal/statistics2.rb

Class Method Summary collapse

Class Method Details

.cdf(x) ⇒ Object


5
6
7
# File 'lib/distribution/normal/statistics2.rb', line 5

def cdf(x)
  Statistics2.normaldist(x)
end

.quantile(pr) ⇒ Object Also known as: p_value


9
10
11
# File 'lib/distribution/normal/statistics2.rb', line 9

def quantile(pr)
  Statistics2.pnormaldist(pr)
end