Click or drag to resize
Accord.NET (logo)

UnivariateContinuousDistribution Class

Abstract class for univariate continuous probability Distributions.
Inheritance Hierarchy
SystemObject
  Accord.Statistics.DistributionsDistributionBase
    Accord.Statistics.Distributions.UnivariateUnivariateContinuousDistribution
      More...

Namespace:  Accord.Statistics.Distributions.Univariate
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
[SerializableAttribute]
public abstract class UnivariateContinuousDistribution : DistributionBase, 
	IDistribution, ICloneable, IUnivariateDistribution, IUnivariateDistribution<double>, 
	IDistribution<double>, ISampleableDistribution<double>, IRandomNumberGenerator<double>, 
	IFormattable
Request Example View Source

The UnivariateContinuousDistribution type exposes the following members.

Constructors
  NameDescription
Protected methodUnivariateContinuousDistribution
Constructs a new UnivariateDistribution class.
Top
Properties
  NameDescription
Public propertyEntropy
Gets the entropy for this distribution.
Public propertyMean
Gets the mean for this distribution.
Public propertyMedian
Gets the median for this distribution.
Public propertyMode
Gets the mode for this distribution.
Public propertyQuartiles
Gets the Quartiles for this distribution.
Public propertyStandardDeviation
Gets the Standard Deviation (the square root of the variance) for the current distribution.
Public propertySupport
Gets the support interval for this distribution.
Public propertyVariance
Gets the variance for this distribution.
Top
Methods
  NameDescription
Public methodClone
Creates a new object that is a copy of the current instance.
(Inherited from DistributionBase.)
Public methodComplementaryDistributionFunction
Gets the complementary cumulative distribution function (ccdf) for this distribution evaluated at point x. This function is also known as the Survival function.
Public methodCumulativeHazardFunction
Gets the cumulative hazard function for this distribution evaluated at point x.
Public methodDistributionFunction(Double)
Gets the cumulative distribution function (cdf) for this distribution evaluated at point x.
Public methodDistributionFunction(Double, Double)
Gets the cumulative distribution function (cdf) for this distribution in the semi-closed interval (a; b] given as P(a < X ≤ b).
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodCode exampleFit(Double)
Fits the underlying distribution to a given set of observations.
Public methodCode exampleFit(Double, IFittingOptions)
Fits the underlying distribution to a given set of observations.
Public methodCode exampleFit(Double, Double)
Fits the underlying distribution to a given set of observations.
Public methodCode exampleFit(Double, Int32)
Fits the underlying distribution to a given set of observations.
Public methodCode exampleFit(Double, Double, IFittingOptions)
Fits the underlying distribution to a given set of observations.
Public methodCode exampleFit(Double, Int32, IFittingOptions)
Fits the underlying distribution to a given set of observations.
Public methodGenerate
Generates a random observation from the current distribution.
Public methodGenerate(Int32)
Generates a random vector of observations from the current distribution.
Public methodGenerate(Random)
Generates a random observation from the current distribution.
Public methodGenerate(Int32, Double)
Generates a random vector of observations from the current distribution.
Public methodGenerate(Int32, Random)
Generates a random vector of observations from the current distribution.
Public methodGenerate(Int32, Double, Random)
Generates a random vector of observations from the current distribution.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetRange
Gets the distribution range within a given percentile.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHazardFunction
Gets the hazard function, also known as the failure rate or the conditional failure density function for this distribution evaluated at point x.
Protected methodInnerComplementaryDistributionFunction
Gets the complementary cumulative distribution function (ccdf) for this distribution evaluated at point x. This function is also known as the Survival function.
Protected methodInnerDistributionFunction
Gets the cumulative distribution function (cdf) for this distribution evaluated at point x.
Protected methodInnerInverseDistributionFunction
Gets the inverse of the cumulative distribution function (icdf) for this distribution evaluated at probability p. This function is also known as the Quantile function.
Protected methodInnerLogProbabilityDensityFunction
Gets the log-probability density function (pdf) for this distribution evaluated at point x.
Protected methodInnerProbabilityDensityFunction
Gets the probability density function (pdf) for this distribution evaluated at point x.
Public methodInverseDistributionFunction
Gets the inverse of the cumulative distribution function (icdf) for this distribution evaluated at probability p. This function is also known as the Quantile function.
Public methodLogCumulativeHazardFunction
Gets the log of the cumulative hazard function for this distribution evaluated at point x.
Public methodLogProbabilityDensityFunction
Gets the log-probability density function (pdf) for this distribution evaluated at point x.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodProbabilityDensityFunction
Gets the probability density function (pdf) for this distribution evaluated at point x.
Public methodQuantileDensityFunction
Gets the first derivative of the inverse distribution function (icdf) for this distribution evaluated at probability p.
Public methodToString
Returns a String that represents this instance.
(Inherited from DistributionBase.)
Public methodToString(IFormatProvider)
Returns a String that represents this instance.
(Inherited from DistributionBase.)
Public methodToString(String)
Returns a String that represents this instance.
(Inherited from DistributionBase.)
Public methodToString(String, IFormatProvider)
Returns a String that represents this instance.
(Inherited from DistributionBase.)
Top
Extension Methods
  NameDescription
Public Extension MethodHasMethod
Checks whether an object implements a method with the given name.
(Defined by ExtensionMethods.)
Public Extension MethodIsEqual
Compares two objects for equality, performing an elementwise comparison if the elements are vectors or matrices.
(Defined by Matrix.)
Public Extension MethodTo(Type)Overloaded.
Converts an object into another type, irrespective of whether the conversion can be done at compile time or not. This can be used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.)
Public Extension MethodToTOverloaded.
Converts an object into another type, irrespective of whether the conversion can be done at compile time or not. This can be used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.)
Top
Remarks

A probability distribution identifies either the probability of each value of an unidentified random variable (when the variable is discrete), or the probability of the value falling within a particular interval (when the variable is continuous).

The probability distribution describes the range of possible values that a random variable can attain and the probability that the value of the random variable is within any (measurable) subset of that range.

The function describing the probability that a given value will occur is called the probability function (or probability density function, abbreviated PDF), and the function describing the cumulative probability that a given value or any value smaller than it will occur is called the distribution function (or cumulative distribution function, abbreviated CDF).

References:

See Also
Inheritance Hierarchy
SystemObject
  Accord.Statistics.DistributionsDistributionBase
    Accord.Statistics.Distributions.UnivariateUnivariateContinuousDistribution
      Accord.Statistics.Distributions.UnivariateAndersonDarlingDistribution
      Accord.Statistics.Distributions.UnivariateBetaDistribution
      Accord.Statistics.Distributions.UnivariateBetaPrimeDistribution
      Accord.Statistics.Distributions.UnivariateBirnbaumSaundersDistribution
      Accord.Statistics.Distributions.UnivariateCauchyDistribution
      Accord.Statistics.Distributions.UnivariateChiSquareDistribution
      Accord.Statistics.Distributions.UnivariateEmpiricalDistribution
      Accord.Statistics.Distributions.UnivariateEmpiricalHazardDistribution
      Accord.Statistics.Distributions.UnivariateExponentialDistribution
      Accord.Statistics.Distributions.UnivariateFDistribution
      Accord.Statistics.Distributions.UnivariateFoldedNormalDistribution
      Accord.Statistics.Distributions.UnivariateGammaDistribution
      Accord.Statistics.Distributions.UnivariateGeneralContinuousDistribution
      Accord.Statistics.Distributions.UnivariateGeneralizedBetaDistribution
      Accord.Statistics.Distributions.UnivariateGeneralizedNormalDistribution
      Accord.Statistics.Distributions.UnivariateGeneralizedParetoDistribution
      Accord.Statistics.Distributions.UnivariateGompertzDistribution
      Accord.Statistics.Distributions.UnivariateGrubbDistribution
      Accord.Statistics.Distributions.UnivariateGumbelDistribution
      Accord.Statistics.Distributions.UnivariateHyperbolicSecantDistribution
      Accord.Statistics.Distributions.UnivariateInverseChiSquareDistribution
      Accord.Statistics.Distributions.UnivariateInverseGammaDistribution
      Accord.Statistics.Distributions.UnivariateInverseGaussianDistribution
      Accord.Statistics.Distributions.UnivariateKolmogorovSmirnovDistribution
      Accord.Statistics.Distributions.UnivariateKumaraswamyDistribution
      Accord.Statistics.Distributions.UnivariateLaplaceDistribution
      Accord.Statistics.Distributions.UnivariateLevyDistribution
      Accord.Statistics.Distributions.UnivariateLogisticDistribution
      Accord.Statistics.Distributions.UnivariateLogLogisticDistribution
      Accord.Statistics.Distributions.UnivariateLognormalDistribution
      Accord.Statistics.Distributions.UnivariateMannWhitneyDistribution
      Accord.Statistics.Distributions.UnivariateMixtureT
      Accord.Statistics.Distributions.UnivariateNakagamiDistribution
      Accord.Statistics.Distributions.UnivariateNoncentralTDistribution
      Accord.Statistics.Distributions.UnivariateNormalDistribution
      Accord.Statistics.Distributions.UnivariateParetoDistribution
      Accord.Statistics.Distributions.UnivariatePowerLognormalDistribution
      Accord.Statistics.Distributions.UnivariatePowerNormalDistribution
      Accord.Statistics.Distributions.UnivariateRayleighDistribution
      Accord.Statistics.Distributions.UnivariateShapiroWilkDistribution
      Accord.Statistics.Distributions.UnivariateShiftedLogLogisticDistribution
      Accord.Statistics.Distributions.UnivariateSkewNormalDistribution
      Accord.Statistics.Distributions.UnivariateTDistribution
      Accord.Statistics.Distributions.UnivariateTrapezoidalDistribution
      Accord.Statistics.Distributions.UnivariateTriangularDistribution
      Accord.Statistics.Distributions.UnivariateTukeyLambdaDistribution
      Accord.Statistics.Distributions.UnivariateUniformContinuousDistribution
      Accord.Statistics.Distributions.UnivariateUQuadraticDistribution
      Accord.Statistics.Distributions.UnivariateVonMisesDistribution
      Accord.Statistics.Distributions.UnivariateWeibullDistribution
      Accord.Statistics.Distributions.UnivariateWilcoxonDistribution
      Accord.Statistics.Distributions.UnivariateWrappedCauchyDistribution