Method: Distribution::Beta::GSL_.quantile
- Defined in:
- lib/distribution/beta/gsl.rb
.quantile(pr, a, b) ⇒ Object Also known as: p_value
Return the P-value of the corresponding integral with k degrees of freedom
21 22 23 |
# File 'lib/distribution/beta/gsl.rb', line 21 def quantile(pr, a, b) GSL::Cdf.beta_Pinv(pr.to_f, a.to_f, b.to_f) end |