Class DiscreteDistributionTest


  • public class DiscreteDistributionTest
    extends Object
    DistributionTest tests the correct statistics of the discrete distributions, based on a tally of their values.

    Copyright (c) 2020-2023 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
    • Constructor Detail

      • DiscreteDistributionTest

        public DiscreteDistributionTest()
    • Method Detail

      • testDistributionsMeanVariance

        public void testDistributionsMeanVariance()
        Test the distributions for the correct stats based on a tally of their values.
      • testBernoulli

        public void testBernoulli()
        Test the Bernoulli distribution.
      • testBinomial

        public void testBinomial()
        Test the Binomial distribution.
      • testDiscreteConstant

        public void testDiscreteConstant()
        Test the DiscreteConstant distribution.
      • testDiscreteUniform

        public void testDiscreteUniform()
        Test the DiscreteUniform distribution.
      • testGeometric

        public void testGeometric()
        Test the Geometric distribution.
      • testNegBinomial

        public void testNegBinomial()
        Test the Negative Binomial distribution.
      • testPoisson

        public void testPoisson()
        Test the Poisson distribution.