Uses of Interface
org.hipparchus.distribution.RealDistribution
Package
Description
Implementations of common continuous distributions.
Random number and random data generators.
Various examples.
Statistical methods for fitting distributions.
Classes providing hypothesis testing.
-
Uses of RealDistribution in org.hipparchus.distribution.continuous
Modifier and TypeClassDescriptionclass
Base class for probability distributions on the reals.class
Implements the Beta distribution.class
Implementation of the Cauchy distribution.class
Implementation of the chi-squared distribution.class
Implementation of the constant real distribution.class
Implementation of a real-valuedEnumeratedDistribution
.class
Implementation of the exponential distribution.class
Implementation of the F-distribution.class
Implementation of the Gamma distribution.class
This class implements the Gumbel distribution.class
This class implements the Laplace distribution.class
This class implements the Lévy distribution.class
This class implements the Logistic distribution.class
Implementation of the log-normal (gaussian) distribution.class
This class implements the Nakagami distribution.class
Implementation of the normal (gaussian) distribution.class
Implementation of the Pareto distribution.class
Implementation of Student's t-distribution.class
Implementation of the triangular real distribution.class
Implementation of the uniform real distribution.class
Implementation of the Weibull distribution. -
Uses of RealDistribution in org.hipparchus.random
Modifier and TypeMethodDescriptiondouble
RandomDataGenerator.nextDeviate
(RealDistribution dist) Returns a random deviate from the given distribution.double[]
RandomDataGenerator.nextDeviates
(RealDistribution dist, int size) Returns an array of random deviates from the given distribution. -
Uses of RealDistribution in org.hipparchus.samples
Modifier and TypeMethodDescriptionstatic void
RealDistributionComparison.addCDFSeries
(com.xeiam.xchart.Chart chart, RealDistribution distribution, String desc, int lowerBound, int upperBound) Add a CDF series.static void
RealDistributionComparison.addPDFSeries
(com.xeiam.xchart.Chart chart, RealDistribution distribution, String desc, int lowerBound, int upperBound) Add a PDF series.static JComponent
RealDistributionComparison.createComponent
(String distributionName, int minX, int maxX, String[] seriesText, RealDistribution... series) Create a component. -
Uses of RealDistribution in org.hipparchus.stat.fitting
Modifier and TypeClassDescriptionclass
Represents an empirical probability distribution -- a probability distribution derived from observed data without making any assumptions about the functional form of the population distribution that the data come from.Modifier and TypeMethodDescriptionprotected RealDistribution
EmpiricalDistribution.getKernel
(StreamingStatistics bStats) The within-bin smoothing kernel. -
Uses of RealDistribution in org.hipparchus.stat.inference
Modifier and TypeMethodDescriptionstatic double
InferenceTestUtils.kolmogorovSmirnovStatistic
(RealDistribution dist, double[] data) Computes the one-sample Kolmogorov-Smirnov test statistic, \(D_n=\sup_x |F_n(x)-F(x)|\) where \(F\) is the distribution (cdf) function associated withdistribution
, \(n\) is the length ofdata
and \(F_n\) is the empirical distribution that puts mass \(1/n\) at each of the values indata
.double
KolmogorovSmirnovTest.kolmogorovSmirnovStatistic
(RealDistribution distribution, double[] data) Computes the one-sample Kolmogorov-Smirnov test statistic, \(D_n=\sup_x |F_n(x)-F(x)|\) where \(F\) is the distribution (cdf) function associated withdistribution
, \(n\) is the length ofdata
and \(F_n\) is the empirical distribution that puts mass \(1/n\) at each of the values indata
.static double
InferenceTestUtils.kolmogorovSmirnovTest
(RealDistribution dist, double[] data) Computes the p-value, or observed significance level, of a one-sample Kolmogorov-Smirnov test evaluating the null hypothesis thatdata
conforms todistribution
.static double
InferenceTestUtils.kolmogorovSmirnovTest
(RealDistribution dist, double[] data, boolean strict) Computes the p-value, or observed significance level, of a one-sample Kolmogorov-Smirnov test evaluating the null hypothesis thatdata
conforms todistribution
.static boolean
InferenceTestUtils.kolmogorovSmirnovTest
(RealDistribution dist, double[] data, double alpha) Performs a Kolmogorov-Smirnov test evaluating the null hypothesis thatdata
conforms todistribution
.double
KolmogorovSmirnovTest.kolmogorovSmirnovTest
(RealDistribution distribution, double[] data) Computes the p-value, or observed significance level, of a one-sample Kolmogorov-Smirnov test evaluating the null hypothesis thatdata
conforms todistribution
.double
KolmogorovSmirnovTest.kolmogorovSmirnovTest
(RealDistribution distribution, double[] data, boolean exact) Computes the p-value, or observed significance level, of a one-sample Kolmogorov-Smirnov test evaluating the null hypothesis thatdata
conforms todistribution
.boolean
KolmogorovSmirnovTest.kolmogorovSmirnovTest
(RealDistribution distribution, double[] data, double alpha) Performs a Kolmogorov-Smirnov test evaluating the null hypothesis thatdata
conforms todistribution
.