|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object RandomVariables.MeanAndVarianceTest
This class provides a static method to test the analytic mean and variance of a random variable against the Monte Carlo mean and variance over a sample of size N. This is used the main methods of each random variable as a basic test that things are in order.
Constructor Summary | |
MeanAndVarianceTest()
|
Method Summary | |
static void |
test(RandomVariable X,
int N)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MeanAndVarianceTest()
Method Detail |
public static void test(RandomVariable X, int N)
X
- the randoim variable being testedN
- size of Monte Carlo sample
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |