SSJ
3.3.1
Stochastic Simulation in Java
|
This interface should be implemented by all classes supporting discrete and continuous distributions. More...
Public Member Functions | |
double | cdf (double x) |
Returns the distribution function \(F(x)\). More... | |
double | barF (double x) |
Returns \(\bar{F}(x) = 1 - F(x)\). More... | |
double | inverseF (double u) |
Returns the inverse distribution function \(F^{-1}(u)\), defined in ( inverseF ). More... | |
double | getMean () |
Returns the mean of the distribution function. | |
double | getVariance () |
Returns the variance of the distribution function. | |
double | getStandardDeviation () |
Returns the standard deviation of the distribution function. | |
double [] | getParams () |
Returns the parameters of the distribution function in the same order as in the constructors. | |
This interface should be implemented by all classes supporting discrete and continuous distributions.
It specifies the signature of methods that compute the distribution function \(F(x)\), the complementary distribution function \(\bar{F}(x)\), and the inverse distribution function \( F^{-1} (u)\). It also specifies the signature of methods that returns the mean, the variance and the standard deviation.
double barF | ( | double | x | ) |
Returns \(\bar{F}(x) = 1 - F(x)\).
x | value at which the complementary distribution function is evaluated |
x
Implemented in JohnsonSLDist, HypoExponentialDistQuick, HypoExponentialDist, FrechetDist, GammaDist, LogisticDist, DiscreteDistribution, PiecewiseLinearEmpiricalDist, JohnsonSBDist, BetaDist, ChiSquareNoncentralDist, GumbelDist, StudentDist, EmpiricalDist, Pearson6Dist, DiscreteDistributionInt, TriangularDist, WeibullDist, ExtremeValueDist, WatsonUDist, CauchyDist, FatigueLifeDist, JohnsonSUDist, LoglogisticDist, NormalDist, HyperbolicSecantDist, LaplaceDist, BetaSymmetricalDist, KolmogorovSmirnovDist, KolmogorovSmirnovPlusDist, ChiDist, ChiSquareDist, InverseGaussianDist, TruncatedDist, AndersonDarlingDistQuick, PowerDist, WatsonGDist, LognormalDist, Pearson5Dist, AndersonDarlingDist, FoldedNormalDist, InverseGammaDist, KolmogorovSmirnovDistQuick, ContinuousDistribution, CramerVonMisesDist, HypoExponentialDistEqual, ParetoDist, RayleighDist, ExponentialDist, UniformDist, NormalInverseGaussianDist, HalfNormalDist, NakagamiDist, FisherFDist, StudentDistQuick, and NormalDistQuick.
double cdf | ( | double | x | ) |
Returns the distribution function \(F(x)\).
x | value at which the distribution function is evaluated |
x
Implemented in InverseDistFromDensity, JohnsonSLDist, HypoExponentialDistQuick, HypoExponentialDist, FrechetDist, GammaDist, LogisticDist, JohnsonSBDist, PiecewiseLinearEmpiricalDist, BetaDist, GumbelDist, DiscreteDistribution, ChiSquareNoncentralDist, StudentDist, EmpiricalDist, Pearson6Dist, TriangularDist, WeibullDist, ExtremeValueDist, WatsonUDist, CauchyDist, FatigueLifeDist, JohnsonSUDist, LoglogisticDist, NormalDist, DiscreteDistributionInt, HyperbolicSecantDist, LaplaceDist, BetaSymmetricalDist, KolmogorovSmirnovDist, KolmogorovSmirnovPlusDist, ChiDist, ChiSquareDist, InverseGaussianDist, AndersonDarlingDistQuick, PowerDist, WatsonGDist, LognormalDist, Pearson5Dist, AndersonDarlingDist, FoldedNormalDist, TruncatedDist, InverseGammaDist, KolmogorovSmirnovDistQuick, CramerVonMisesDist, HypoExponentialDistEqual, ParetoDist, RayleighDist, ExponentialDist, UniformDist, NormalInverseGaussianDist, HalfNormalDist, NakagamiDist, FisherFDist, StudentDistQuick, and NormalDistQuick.
double inverseF | ( | double | u | ) |
Returns the inverse distribution function \(F^{-1}(u)\), defined in ( inverseF ).
u | value in the interval \((0,1)\) for which the inverse distribution function is evaluated |
u
Implemented in ContinuousDistribution, InverseDistFromDensity, JohnsonSLDist, HypoExponentialDistQuick, DiscreteDistribution, HypoExponentialDist, FrechetDist, DiscreteDistributionInt, PiecewiseLinearEmpiricalDist, GammaDist, LogisticDist, ChiSquareNoncentralDist, JohnsonSBDist, BetaDist, GumbelDist, EmpiricalDist, StudentDist, Pearson6Dist, TriangularDist, WeibullDist, ExtremeValueDist, WatsonUDist, CauchyDist, FatigueLifeDist, JohnsonSUDist, LoglogisticDist, NormalDist, HyperbolicSecantDist, LaplaceDist, BetaSymmetricalDist, ConstantDist, KolmogorovSmirnovDist, TruncatedDist, KolmogorovSmirnovPlusDist, ChiDist, ChiSquareDist, InverseGaussianDist, AndersonDarlingDistQuick, PowerDist, WatsonGDist, LognormalDist, Pearson5Dist, AndersonDarlingDist, FoldedNormalDist, InverseGammaDist, KolmogorovSmirnovDistQuick, CramerVonMisesDist, HypoExponentialDistEqual, ParetoDist, RayleighDist, ExponentialDist, UniformDist, HalfNormalDist, NakagamiDist, FisherFDist, StudentDistQuick, NormalDistQuick, and ChiSquareDistQuick.