Normal |
The normal (or Gaussian) distribution is a continuous probability distribution that is often used as a first approximation to describe real-valued random variables that tend to cluster around a single mean value. The graph of the associated probability density function is “bell”-shaped, and is known as the Gaussian function or bell curve. It has two parameters: parameter μ is the mean (location of the peak) and σ is the standard deviation.
This topic contains the following sections:
Constructor | Description | Performance |
---|---|---|
set mean and standard deviation | Creates new instance of Normal with user specified parameters. | |
default mean and standard deviation | Creates new instance of Normal with default parameters (0; 1). | |
set random generator | Creates new instance of Normal with user specified generator and parameters. |
Method | Description | Performance |
---|---|---|
sample | Generate random variable sample. Fill in array with random variable series in place: Static method which generates new sample of Exponential distribution variate with specified parameters: | |
Probability density function. Static probability density function. | ||
cdf | Cumulative distribution function. where erf denotes the error function. Static cumulative distribution function. | |
inverse cdf | Inverse cumulative distribution function. Is useful for quantile calculation. Function will return value of random variable such that likelihood for this random variable to occur less than or equal to returned value equal to specified pvalue parameter. |
Property | Description | Performance |
---|---|---|
mean | Mean of the distribution. | |
median | Median of the distribution. | |
mode | Mode of distribution. | |
kurtosis | Excess Kurtosis of distribution. | |
skewness | Skewness of distribution. | |
entropy | Entropy of distribution. | |
variance | Variance of the distribution. | |
standard deviation | Standard deviation of the distribution. | |
method | Method of normal distribution generation. Method may take values:
|