Truncated Normal Distribution

Truncated normal

The truncated normal distribution has the probability density function:

\[\begin{split}f(x\mid \mu ,\sigma ^{2})= \begin{cases} \left( 2\pi \sigma^2\right)^{-1/2} \exp\left( - \frac{1}{2} \left(\frac{x-\mu}{\sigma} \right)^2 \right) \,,& x\in [a,b], \\ 0 \,, & \text{otherwise} \,, \end{cases}\end{split}\]

where \(\mu\) and \(\sigma>0\) are the parameter associated with the normal distribution.

Usage

e["Distribution"][*index*]["Type"] = "Univariate/TruncatedNormal"

Distribution Configuration

These are settings required by this distribution.

Mu
  • Usage: e[“Mu”] = real number

  • Description:

Sigma
  • Usage: e[“Sigma”] = real number

  • Description:

Minimum
  • Usage: e[“Minimum”] = real number

  • Description:

Maximum
  • Usage: e[“Maximum”] = real number

  • Description:

Configuration

These are settings required by this module.

Name
  • Usage: e[“Name”] = string

  • Description: Defines the name of the distribution.

Random Seed
  • Usage: e[“Random Seed”] = unsigned integer

  • Description: Defines the random seed of the distribution.

Range
  • Usage: e[“Range”] = gsl_rng

  • Description: Stores the current state of the distribution in hexadecimal notation.

Default Configuration

These following configuration will be assigned by default. Any settings defined by the user will override the given settings specified in these defaults.

{
"Name": "",
"Random Seed": 0,
"Range": ""
}