public class FishersF
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
FishersF()
Make class non-instantiable but inheritable.
|
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 freedomjava.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