Method: Distribution::F::GSL_.quantile
- Defined in:
- lib/distribution/f/gsl.rb
.quantile(pr, k1, k2) ⇒ Object Also known as: p_value
Return the P-value of the corresponding integral with k degrees of freedom
Distribution::F.p_value(0.95,1,2)
24 25 26 |
# File 'lib/distribution/f/gsl.rb', line 24 def quantile(pr, k1, k2) GSL::Cdf.fdist_Pinv(pr.to_f, k1, k2) end |