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-2025 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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidtestBeta()Test the Beta distribution.voidTest the Constant distribution.voidTest the distributions for the correct stats based on a tally of their values.voidTest the Erlang distribution.voidTest the Exponential distribution.voidTest the Gamma distribution.voidTest the Pearson5 distribution.voidTest the Pearson6 distribution.voidTest the Triangular distribution.voidTest the Uniform distribution.voidTest 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.
-