|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.northwestern.at.utils.math.distributions.FishersF
public class FishersF
Fisher's F distribution functions.
| Constructor Summary | |
|---|---|
protected |
FishersF()
Make class non-instantiable but inheritable. |
| Method Summary | |
|---|---|
static double |
f(double f,
double dfn,
double dfd)
Compute probability for Fisher's F distribution. |
static double |
fInverse(double p,
double dfn,
double dfd)
Compute percentage point for Fisher's F distribution. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected FishersF()
| Method Detail |
|---|
public static double f(double f,
double dfn,
double dfd)
throws java.lang.IllegalArgumentException
f - Percentage point of Fisher's F distributiondfn - Numerator degrees of freedomdfd - Denominator degrees of freedom
java.lang.IllegalArgumentException - if dfn <= 0 or dfd <= 0 .
fprob(f) = incompleteBeta( dfd/(dfd*f*dfn), df/2, dfn/2 )
The result is accurate to about 14 decimal digits.
public static double fInverse(double p,
double dfn,
double dfd)
throws java.lang.IllegalArgumentException
p - Probability level for percentage point.dfn - Numerator degrees of freedom.dfd - Denominator degrees of freedom.
java.lang.IllegalArgumentException - if p < 0 or p > 1 or dfn <= 0 or dfd <= 0 .
java.lang.ArithmeticException - if incomplete beta evaluation fails
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||