Package org.djutils.stats.summarizers
Class TallyTest
java.lang.Object
org.djutils.stats.summarizers.TallyTest
The TallyTest test the tally.
Copyright (c) 2002-2024 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See
for project information https://simulation.tudelft.nl. The DSOL
project is distributed under a three-clause BSD-style license, which can be found at
https://simulation.tudelft.nl/dsol/3.0/license.html.
- Author:
- Peter Jacobs , Peter Knoppers
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) double
generateGaussianNoise
(double mu, double sigma, Random random) Generate normally distributed values.void
Test the FullStorageAccumulator.void
Test the kurtosis example from https://en.wikipedia.org/wiki/Kurtosis where we assumed that the example for sample kurtosis actually calculates population kurtosis (!).void
Test Tally with the NoStorageAccumulator.void
Test skewness and kurtosis based on two Excel samples.void
Test skewness and kurtosis.void
Test the tally.void
Test the T-Digest accumulator.
-
Constructor Details
-
TallyTest
public TallyTest()
-
-
Method Details
-
testTally
@Test public void testTally()Test the tally. -
testKurtWikipedia
@Test public void testKurtWikipedia()Test the kurtosis example from https://en.wikipedia.org/wiki/Kurtosis where we assumed that the example for sample kurtosis actually calculates population kurtosis (!). -
testSkewKurtExcel
@Test public void testSkewKurtExcel()Test skewness and kurtosis based on two Excel samples. -
testNoStorageAccumulator
@Test public void testNoStorageAccumulator()Test Tally with the NoStorageAccumulator. -
testFullStorageAccumulator
@Test public void testFullStorageAccumulator()Test the FullStorageAccumulator. -
generateGaussianNoise
Generate normally distributed values. Derived from https://en.wikipedia.org/wiki/Box%E2%80%93Muller_transform- Parameters:
mu
- double; meansigma
- double; standard deviationrandom
- Random; entropy source- Returns:
- double; one pseudo random value
-
testTDigestAccumulator
@Test public void testTDigestAccumulator()Test the T-Digest accumulator. -
testSkewnessAndKurtosis
@Test public void testSkewnessAndKurtosis()Test skewness and kurtosis. Test data from http://web.ipac.caltech.edu/staff/fmasci/home/astro_refs/SkewStatSignif.pdf
-