35#ifndef STK_FUNCT_BETARATIO_H
36#define STK_FUNCT_BETARATIO_H
45#ifndef IS_RTKPP_LIBRARY
51 ,
bool xm1,
bool lower_tail
58 ,
bool xm1,
bool lower_tail
65 ,
bool lower_tail =
true
72 ,
bool xm1,
bool lower_tail
80 ,
bool xm1,
bool lower_tail
100{
return Rf_pbeta(x,a,b,lower_tail,
false);}
This file include all the header files of the project STKernel.
Real betaRatio_se(Real const &a, Real const &b, Real const &x, bool xm1, bool lower_tail)
Compute the incomplete beta function ratio I_x(a,b) using the serie expansion method.
Real betaRatio_ae(Real const &a, Real const &b, Real const &x, bool xm1, bool lower_tail)
Compute the incomplete beta function ratio I_x(a,b) using the asymptotic expansion method.
Real betaRatio(Real const &a, Real const &b, Real const &x, bool lower_tail=true)
Compute the incomplete beta function ratio Compute the beta ratio function.
Real betaRatio_cf(Real const &a, Real const &b, Real x, bool xm1, bool lower_tail=true)
Compute the incomplete beta function ratio using the continued fraction method.
Real betaRatio_up(Real const &a, Real const &b, Real const &x, bool xm1, bool lower_tail)
Compute the incomplete beta function ratio I_x(a,b) using its recurrence formula and its asymptotic e...
Real betaRatio_sr(Real const &a, Real const &b, Real x, bool xm1, bool lower_tail)
Compute the incomplete beta function ratio I_x(a,b) using its series representation.
double Real
STK fundamental type of Real values.
Real betaRatio_raw(Real const &a, Real const &b, Real const &x, bool lower_tail)
The namespace STK is the main domain space of the Statistical ToolKit project.