|
SSJ V. 2.6.2. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object umontreal.iro.lecuyer.gof.FBar
public class FBar
This class is similar to FDist
, except that it provides static methods
to compute or approximate the complementary distribution function of X,
which we define as
bar(F)(x) = P[X >= x], instead of
F(x) = P[X <= x].
Note that with our definition of bar(F), one has
bar(F)(x) = 1 - F(x) for continuous distributions and
bar(F)(x) = 1 - F(x - 1) for discrete distributions over the integers.
Method Summary | |
---|---|
static double |
scan(int n,
double d,
int m)
Return P[SN(d ) >= m], where SN(d ) is the scan statistic. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static double scan(int n, double d, int m)
n
- sample size ( >= 2)d
- length of the test interval (∈(0, 1))m
- scan statistic
|
SSJ V. 2.6.2. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |