Continuous Distribution Class
Definition
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
[SerializableAttribute]
public abstract class ContinuousDistribution : Distribution
- Inheritance
- Object → Distribution → ContinuousDistribution
- Derived
Remarks
The distribution of a variable is a description of the relative numbers of times each possible outcome will occur in a number of trials. The function describing the distribution is called the probability function, and the function describing the cumulative probability that a given value or any value smaller than it will occur is called the distribution function.
A continuous probability distribution is a statistical distribution whose variables can take on any value within a certain interval. This interval may be infinite.
This library contains classes for the most common continuous distributions. They are listed in the table below:
Distribution | Definition |
---|---|
Beta | The beta distribution. |
Cauchy | The Cauchy distribution. |
Continuous | The continuous uniform distribution. |
Erlang | The Erlang distribution. |
Exponential | The exponential distribution. |
FDistribution | The F distribution. |
Gamma | The gamma distribution. |
Gumbel | The Gumbel or extreme value distribution. |
Laplace | The Laplace distribution. |
Logistic | The logistic distribution. |
Lognormal | The log-normal distribution. |
Normal | The normal distribution. |
Pareto | The Pareto distribution. |
Rayleigh | The Rayleigh distribution. |
Student | The student-t distribution. |
Triangular | The triangular distribution. |
Weibull | The Weibull distribution. |
ContinuousDistribution is an abstract base class that cannot be instantiated. To create a continuous distribution of a specific type, instantiate a class derived from ContinuousDistribution.
Notes to inheritors: When you inherit from ContinuousDistribution, you must override the following members: ProbabilityDensityFunction(Double), DistributionFunction(Double), Mean and Variance. You should also override the following methods: Sample(), Skewness, Kurtosis.
Constructors
Continuous | Constructs a new ContinuousDistribution object. |
Properties
Capabilities |
Gets a value that indicates the capabilities of the distribution class.
(Inherited from Distribution) |
Entropy |
Gets the entropy of the distribution.
(Inherited from Distribution) |
Inter | Returns the inter-quartile range of this distribution. |
IsSymmetrical | Gets whether the distribution is known to be symmetrical around the mean. |
IsUnimodal | Gets whether the distribution has one or more modes. |
Kurtosis |
Gets the kurtosis of the distribution.
(Inherited from Distribution) |
Mean |
Gets the mean or expectation value of the distribution.
(Inherited from Distribution) |
Median | Gets the median of the distribution. |
Mode | Gets the mode of the distribution. |
Number | Gets the number of modes of the distribution. |
Skewness |
Gets the skewness of the distribution.
(Inherited from Distribution) |
Standard |
Gets the standard deviation of the distribution.
(Inherited from Distribution) |
Statistic |
Gets the common symbol to describe a statistic
from the distribution.
(Inherited from Distribution) |
Support | Gets the support of the distribution. |
Variance |
Gets the variance of the distribution.
(Inherited from Distribution) |
Methods
Cdf | Evaluates the cumulative distribution function (CDF) of this distribution for the specified value. |
Distribution | Evaluates the cumulative distribution function (CDF) of this distribution for the specified value. |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
Get | Returns an array that contains all the modes of the distribution. |
Get | Returns the expectation value of a function. |
Get | Returns the un-normalized expectation value of a function over the specified interval. |
Get | Gets a vector containing a histogram of the expected number of samples for a given total number of samples. |
Get | Gets a vector containing a histogram of the expected number of samples for a given total number of samples. |
Get | Gets a vector whose bins contain the expected number of samples for a given total number of samples. |
Get | Serves as the default hash function. (Inherited from Object) |
Get | Returns a sequence of random samples from the distribution. |
Get | Returns a sequence of random samples from the distribution. |
Get | Returns a sequence of random samples of the specified length from the distribution. |
Get | Gets the Type of the current instance. (Inherited from Object) |
Hazard | Returns the probability of failure at the specified value. |
Inverse | Returns the inverse of the DistributionFunction(Double). |
Inverse | Returns the inverse of the DistributionFunction(Double). |
Left | Returns the probability that a sample from the distribution is less than the specified value. |
Log | Returns the logarithm of the probability density function (PDF) of this distribution for the specified value. |
Memberwise | Creates a shallow copy of the current Object. (Inherited from Object) |
Moment | Returns the value of the moment function of the specified order. |
Returns the value of the probability density function (PDF) of this distribution for the specified value. | |
Probability | Returns the probability that a sample taken from the distribution lies inside the specified interval. |
Probability | Returns the value of the probability density function (PDF) of this distribution for the specified value. |
Right | Returns the probability that a sample from the distribution is larger than the specified value. |
Sample() | Returns a random sample from the distribution. |
Sample( | Returns a vector of random samples from the distribution. |
Sample( | Returns a random sample from the distribution. |
Sample( | Returns a vector of random samples from the distribution. |
Sample | Fills a list with random numbers from the distribution. |
Sample | Fills a list with random numbers from the distribution. |
Sample | Fills a span with random numbers from the distribution. |
Sample | Fills part of a list with random numbers from the distribution. |
Survivor | Evaluates the survivor distribution function (SDF) of this distribution for the specified value. |
ToString | Returns a string that represents the current object. (Inherited from Object) |
Two | Returns the probability that a sample from the distribution deviates from the mean more than the specified value. |