new Normal(muopt, sigma2opt)
The constructor for a Normal Distribution object
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
mu |
float |
<optional> |
Mean |
sigma2 |
float |
<optional> |
Variance |
Extends
Methods
(static) computeMu(data)
Helper function to compute parameter mu for the Normal
Parameters:
| Name | Type | Description |
|---|---|---|
data |
array | the data from which to compute mu |
(static) computeSigma2(data, muopt)
Helper function to compute parameter sigma2 for the Normal
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
data |
array | the data from which to compute sigma2 | |
mu |
float |
<optional> |
The mean |
cdf()
The cumulative probability distribution function of the parametrised distribution.
- Overrides:
- Source:
fitData()
Method to fit distribution to data.
- Overrides:
- Source:
isUniquelyDetermined() → {bool}
The distribution is uniquely determined if it has all the parameters it
requires to compute all other quantities of interest.
- Overrides:
- Source:
Returns:
- true if this distribution is uniquely determined, false otherwise
- Type
- bool
pdf()
The probability density function of the parametrised distribution.
- Overrides:
- Source: