| |
|
| org.apache.commons.math.distribution.IntegerDistributionAbstractTest org.apache.commons.math.distribution.HypergeometricDistributionTest
HypergeometricDistributionTest | public class HypergeometricDistributionTest extends IntegerDistributionAbstractTest (Code) | | Test cases for HyperGeometriclDistribution.
Extends IntegerDistributionAbstractTest. See class javadoc for
IntegerDistributionAbstractTest for details.
version: $Revision: 348888 $ $Date: 2005-11-24 23:21:25 -0700 (Thu, 24 Nov 2005) $ |
HypergeometricDistributionTest | public HypergeometricDistributionTest(String name)(Code) | | Constructor for ChiSquareDistributionTest.
Parameters: name - |
makeCumulativeTestPoints | public int[] makeCumulativeTestPoints()(Code) | | Creates the default cumulative probability density test input values
|
makeCumulativeTestValues | public double[] makeCumulativeTestValues()(Code) | | Creates the default cumulative probability density test expected values
|
makeDensityTestPoints | public int[] makeDensityTestPoints()(Code) | | Creates the default probability density test input values
|
makeDensityTestValues | public double[] makeDensityTestValues()(Code) | | Creates the default probability density test expected values
|
makeDistribution | public IntegerDistribution makeDistribution()(Code) | | Creates the default discrete distribution instance to use in tests.
|
makeInverseCumulativeTestPoints | public double[] makeInverseCumulativeTestPoints()(Code) | | Creates the default inverse cumulative probability test input values
|
makeInverseCumulativeTestValues | public int[] makeInverseCumulativeTestValues()(Code) | | Creates the default inverse cumulative probability density test expected values
|
testDegenerateFullSample | public void testDegenerateFullSample() throws Exception(Code) | | Verify that if sampleSize = populationSize, mass is concentrated on numberOfSuccesses
|
testDegenerateNoFailures | public void testDegenerateNoFailures() throws Exception(Code) | | Verify that if there are no failures, mass is concentrated on sampleSize
|
testDegenerateNoSuccesses | public void testDegenerateNoSuccesses() throws Exception(Code) | | Verify that if there are no successes, mass is concentrated on 0
|
testLargeValues | public void testLargeValues()(Code) | | |
testMoreLargeValues | public void testMoreLargeValues()(Code) | | |
testPopulationSize | public void testPopulationSize()(Code) | | |
|
|
|