public class Gamma
extends java.lang.Object
Constructor and Description |
---|
Gamma() |
Modifier and Type | Method and Description |
---|---|
static double |
chi2inv(double p,
double v)
Returns the inverse chi-squared distribution.
|
static double[] |
rates(double alpha,
int categories)
Returns the rates that should be used for a set number of rate categories
and a set value of alpha as per the methodology of Yang 1993
|
public static double[] rates(double alpha, int categories)
alpha
- The alpha valuecategories
- The number of rate categoriespublic static double chi2inv(double p, double v)
p
- The p-valuev
- The number of degrees of freedom