aggregate.Approximation
A distribution fitted to compound moments, from
Usage
aggregate.Approximation()Attributes
| Name | Description |
|---|---|
| kind |
The family: "normal", "gamma", "lognormal",
|
| parameters | The parameters by name: mean and sd; shape and |
kind
The family: "normal", "gamma", "lognormal",
kind: str
"shifted_gamma", "shifted_lognormal", "normal_power" or "wilson_hilferty".
parameters
parameters: list[tuple[str, float]]
Methods
| Name | Description |
|---|---|
| cdf() |
P(S <= x).
|
| mean() | The mean. |
| quantile() | The p quantile. |
cdf()
P(S <= x).
Usage
cdf(x)Parameters
x: float
Returns
float
mean()
The mean.
Usage
mean()Returns
float
quantile()
The p quantile.
Usage
quantile(p)Parameters
p: float
Returns
float