Class ContinuousDistributionTest
java.lang.Object
nl.tudelft.simulation.jstats.distributions.ContinuousDistributionTest
DistributionTest tests the correct statistics of the Normal and LogNormal distributions, based on a tally of their values.
Copyright (c) 2020-2024 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information DSOL Manual. The DSOL project is distributed under a three-clause BSD-style license, which can be found at DSOL License.
- Author:
- Alexander Verbraeck
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
testBeta()
Test the Beta distribution.void
Test the Constant distribution.void
Test the distributions for the correct stats based on a tally of their values.void
Test the Erlang distribution.void
Test the Exponential distribution.void
Test the Gamma distribution.void
Test the Pearson5 distribution.void
Test the Pearson6 distribution.void
Test the Triangular distribution.void
Test the Uniform distribution.void
Test the Weibull distribution.
-
Field Details
-
stream
StreamInterface streamthe random stream to use.
-
-
Constructor Details
-
ContinuousDistributionTest
public ContinuousDistributionTest()
-
-
Method Details
-
testDistributionsMeanVariance
@Test public void testDistributionsMeanVariance()Test the distributions for the correct stats based on a tally of their values. -
testBeta
@Test public void testBeta()Test the Beta distribution. -
testConstant
@Test public void testConstant()Test the Constant distribution. -
testErlang
@Test public void testErlang()Test the Erlang distribution. -
testExponential
@Test public void testExponential()Test the Exponential distribution. -
testGamma
@Test public void testGamma()Test the Gamma distribution. -
testPearson5
@Test public void testPearson5()Test the Pearson5 distribution. -
testPearson6
@Test public void testPearson6()Test the Pearson6 distribution. -
testTriangular
@Test public void testTriangular()Test the Triangular distribution. -
testUniform
@Test public void testUniform()Test the Uniform distribution. -
testWeibull
@Test public void testWeibull()Test the Weibull distribution.
-