Package org.djutils.stats
Class DistNormalTableTest
java.lang.Object
org.djutils.stats.DistNormalTableTest
Test the DistNormalTable class.
- Author:
- Peter Knoppers
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Test the cumulative normal probabilities based on well-known values.void
Test the inverse cumulative normal probabilities based on well-known values.void
Test that the values in the CUMULATIVE_NORMAL_PROBABILITIES table are non-decreasing and range from 0.5 to 1.0.
-
Constructor Details
-
DistNormalTableTest
public DistNormalTableTest()
-
-
Method Details
-
testSmoothness
@Test public void testSmoothness()Test that the values in the CUMULATIVE_NORMAL_PROBABILITIES table are non-decreasing and range from 0.5 to 1.0. This test should catch accidental edits and typos. -
testCumulativeNormalProbabilities
@Test public void testCumulativeNormalProbabilities()Test the cumulative normal probabilities based on well-known values. Values from https://en.wikipedia.org/wiki/68%E2%80%9395%E2%80%9399.7_rule -
testInverseCumulativeNormalProbabilities
@Test public void testInverseCumulativeNormalProbabilities()Test the inverse cumulative normal probabilities based on well-known values. Values from https://en.wikipedia.org/wiki/68%E2%80%9395%E2%80%9399.7_rule
-