atoti.experimental.stats.normal module#

Normal distribution, also called Gaussian, Gauss or Laplace–Gauss distribution.

For more information read:

atoti.experimental.stats.normal.cdf(point, /, *, mean, standard_deviation)#

Cumulative distribution function for a normal distribution.

The cdf is given by the formula

cdf(x)=12[1+erf(xμσ2)]

Where μ is the mean of the distribution, σ is its standard deviation and erf the error function.

Parameters
  • point (NonConstantMeasureConvertible) – The point where the function is evaluated.

  • mean (NumericMeasureConvertible) – The mean value of the distribution.

  • standard_deviation (NumericMeasureConvertible) – The standard deviation of the distribution. Must be positive.

Return type

MeasureDescription

See also

cdf of a normal distribution on Wikipedia

atoti.experimental.stats.normal.pdf(point, /, *, mean=0, standard_deviation=1)#

Probability density function for a normal distribution.

The pdf is given by the formula

pdf(x)=1σ2πe12(xμσ)2

Where μ is the mean (or expectation) of the distribution while σ is its standard deviation.

Parameters
  • point (NonConstantMeasureConvertible) – The point where the function is evaluated.

  • mean (NumericMeasureConvertible) – The mean value of the distribution.

  • standard_deviation (NumericMeasureConvertible) – The standard deviation of the distribution. Must be positive.

Return type

MeasureDescription

See also

General normal distribution on Wikipedia.

atoti.experimental.stats.normal.ppf(point, /, *, mean, standard_deviation)#

Percent point function for a normal distribution.

Also called inverse cumulative distribution function.

The ppf is given by the formula

ppf(x)=μ+σ2erf1(2x1)

Where μ is the mean of the distribution, σ is its standard deviation and erf1 the inverse of the error function.

Parameters
  • point (NonConstantMeasureConvertible) – The point where the function is evaluated.

  • mean (NumericMeasureConvertible) – The mean value of the distribution.

  • standard_deviation (NumericMeasureConvertible) – The standard deviation of the distribution. Must be positive.

Return type

MeasureDescription