|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.math3.distribution.IntegerDistributionAbstractTest
org.apache.commons.math3.distribution.PoissonDistributionTest
public class PoissonDistributionTest
PoissonDistributionTest
| Constructor Summary | |
|---|---|
PoissonDistributionTest()
Constructor. |
|
| Method Summary | |
|---|---|
int[] |
makeCumulativeTestPoints()
Creates the default cumulative probability density test input values. |
double[] |
makeCumulativeTestValues()
Creates the default cumulative probability density test expected values. |
int[] |
makeDensityTestPoints()
Creates the default probability density test input values. |
double[] |
makeDensityTestValues()
Creates the default probability density test expected values. |
IntegerDistribution |
makeDistribution()
Creates the default discrete distribution instance to use in tests. |
double[] |
makeInverseCumulativeTestPoints()
Creates the default inverse cumulative probability test input values. |
int[] |
makeInverseCumulativeTestValues()
Creates the default inverse cumulative probability density test expected values. |
void |
testCumulativeProbabilitySpecial()
JIRA: MATH-282 |
void |
testDegenerateInverseCumulativeProbability()
Test the degenerate cases of a 0.0 and 1.0 inverse cumulative probability. |
void |
testLargeMeanCumulativeProbability()
|
void |
testLargeMeanInverseCumulativeProbability()
|
void |
testMean()
|
void |
testMoments()
|
void |
testNegativeMean()
|
void |
testNormalApproximateProbability()
Test the normal approximation of the Poisson distribution by calculating P(90 ≤ X ≤ 110) for X = Po(100) and P(9900 ≤ X ≤ 10200) for X = Po(10000) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PoissonDistributionTest()
| Method Detail |
|---|
public IntegerDistribution makeDistribution()
makeDistribution in class IntegerDistributionAbstractTestpublic int[] makeDensityTestPoints()
makeDensityTestPoints in class IntegerDistributionAbstractTestpublic double[] makeDensityTestValues()
makeDensityTestValues in class IntegerDistributionAbstractTestpublic int[] makeCumulativeTestPoints()
makeCumulativeTestPoints in class IntegerDistributionAbstractTestpublic double[] makeCumulativeTestValues()
makeCumulativeTestValues in class IntegerDistributionAbstractTestpublic double[] makeInverseCumulativeTestPoints()
makeInverseCumulativeTestPoints in class IntegerDistributionAbstractTestpublic int[] makeInverseCumulativeTestValues()
makeInverseCumulativeTestValues in class IntegerDistributionAbstractTestpublic void testNormalApproximateProbability()
public void testDegenerateInverseCumulativeProbability()
public void testNegativeMean()
public void testMean()
public void testLargeMeanCumulativeProbability()
public void testCumulativeProbabilitySpecial()
public void testLargeMeanInverseCumulativeProbability()
public void testMoments()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||