|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--dwvisser.statistics.MiscMath
Constructor Summary | |
MiscMath()
|
Method Summary | |
static double |
ave(double[] data)
|
static double |
betai(double a,
double b,
double x)
Incomplete beta function. |
static double |
calculateStudentsT(double tObserved,
double dof)
Returns the probability that the absolute value of a t-statistic would be smaller than tObserved , for a t-distribution with dof
degrees of freedom and a mean of zero. |
static double |
findOneSigmaT(int dof)
Calculates t-statistic such that calculateStudentsT(findOneSigmaT(dof),dof) returns 0.683, the one-sigma probability for the normal distribution. |
static double |
gammln(double xx)
Returns Incomplete gamma P(a,x) evaluated by series. |
static double |
gammq(double a,
double x)
Returns the incomplete gamma function Q(a,x) == 1 - P(a,x). |
static double |
gcf(double a,
double x)
Returns Incomplete gamma Q(a,x) evaluated by series. |
static double |
gser(double a,
double x)
|
static void |
main(java.lang.String[] args)
|
static double |
var(double[] data)
|
double[] |
zbrac(Function func,
double x1,
double x2)
From zbrac.c in "Numerical Recipes". |
static double |
zbrent(Function func,
double x1,
double x2,
double tol)
From zbrent.c in "Numerical Recipes". |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MiscMath()
Method Detail |
public static double ave(double[] data)
public static double var(double[] data)
public static double gammq(double a, double x) throws StatisticsException
StatisticsException
public static double gser(double a, double x) throws StatisticsException
StatisticsException
public static double gammln(double xx)
public static double gcf(double a, double x) throws StatisticsException
StatisticsException
public double[] zbrac(Function func, double x1, double x2) throws StatisticsException
StatisticsException
public static double zbrent(Function func, double x1, double x2, double tol) throws StatisticsException
StatisticsException
public static double betai(double a, double b, double x) throws StatisticsException
StatisticsException
public static double calculateStudentsT(double tObserved, double dof) throws StatisticsException
tObserved
, for a t-distribution with dof
degrees of freedom and a mean of zero.
StatisticsException
public static double findOneSigmaT(int dof) throws StatisticsException
StatisticsException
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |