Package cc.mallet.util
Class StatFunctions
- java.lang.Object
-
- cc.mallet.util.StatFunctions
-
public final class StatFunctions extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description StatFunctions()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static double
betainv(double x, double p, double q)
static double
corr(Univariate x, Univariate y)
static double
cov(Univariate x, Univariate y)
static double
gammaCDF(double x, double shape, double scale)
static double
gammaInverseCDF(double p, double shape, double scale)
static double
gammaPDF(double x, double shape, double scale)
static double[]
ols(Univariate x, Univariate y)
double
pchisq(double q, double df)
static double
pf(double x, double df1, double df2)
static double
pnorm(double z, boolean upper)
static double
pnorm(double x, boolean upper, double mu, double sigma2)
static double
pt(double t, double df)
static double
qnorm(double p, boolean upper)
static double
qnorm(double p, boolean upper, double mu, double sigma2)
static double
qt(double p, double ndf, boolean lower_tail)
-
-
-
Method Detail
-
cov
public static double cov(Univariate x, Univariate y)
-
corr
public static double corr(Univariate x, Univariate y)
-
ols
public static double[] ols(Univariate x, Univariate y)
-
qnorm
public static double qnorm(double p, boolean upper)
-
qnorm
public static double qnorm(double p, boolean upper, double mu, double sigma2)
-
pnorm
public static double pnorm(double z, boolean upper)
-
pnorm
public static double pnorm(double x, boolean upper, double mu, double sigma2)
-
qt
public static double qt(double p, double ndf, boolean lower_tail)
-
pt
public static double pt(double t, double df)
-
pchisq
public double pchisq(double q, double df)
-
betainv
public static double betainv(double x, double p, double q)
-
pf
public static double pf(double x, double df1, double df2)
-
gammaPDF
public static double gammaPDF(double x, double shape, double scale)
-
gammaCDF
public static double gammaCDF(double x, double shape, double scale)
-
gammaInverseCDF
public static double gammaInverseCDF(double p, double shape, double scale)
-
-