## aggregate.Approximation


A distribution fitted to compound moments, from


Usage


``` python
aggregate.Approximation()
```


[CompoundMoments.approximate](aggregate.CompoundMoments.md#prospicio.aggregate.CompoundMoments.approximate).


## Attributes

| Name | Description |
|----|----|
| [kind](#kind) | The family: `"normal"`, `"gamma"`, `"lognormal"`, |
| [parameters](#parameters) | The parameters by name: [mean](esg.Cir.md#prospicio.esg.Cir.mean) and [sd](models.GlmmFit.md#prospicio.models.GlmmFit.sd); [shape](reserving.Triangle.md#prospicio.reserving.Triangle.shape) and |

------------------------------------------------------------------------


#### kind


The family: `"normal"`, `"gamma"`, `"lognormal"`,


`kind: str`


`"shifted_gamma"`, `"shifted_lognormal"`, `"normal_power"` or `"wilson_hilferty"`.


------------------------------------------------------------------------


#### parameters


The parameters by name: [mean](esg.Cir.md#prospicio.esg.Cir.mean) and [sd](models.GlmmFit.md#prospicio.models.GlmmFit.sd); [shape](reserving.Triangle.md#prospicio.reserving.Triangle.shape) and


`parameters: list[tuple[str, float]]`


[scale](distributions.Burr.md#prospicio.distributions.Burr.scale); [meanlog](distributions.Lognormal.md#prospicio.distributions.Lognormal.meanlog) and [sdlog](distributions.Lognormal.md#prospicio.distributions.Lognormal.sdlog); with [shift](distributions.Affine.md#prospicio.distributions.Affine.shift) for the shifted families; [mean](esg.Cir.md#prospicio.esg.Cir.mean), [sd](models.GlmmFit.md#prospicio.models.GlmmFit.sd) and [skew](aggregate.CompoundMoments.md#prospicio.aggregate.CompoundMoments.skew) for the normal power and Wilson-Hilferty.


## Methods

| Name | Description |
|----|----|
| [cdf()](#cdf) | `P(S <= x)`. |
| [mean()](#mean) | The mean. |
| [quantile()](#quantile) | The [p](models.Elpd.md#prospicio.models.Elpd.p) quantile. |

------------------------------------------------------------------------


#### cdf()


`P(S <= x)`.


Usage


``` python
cdf(x)
```


##### Parameters


`x: float`  


##### Returns


`float`  


------------------------------------------------------------------------


#### mean()


The mean.


Usage


``` python
mean()
```


##### Returns


`float`  


------------------------------------------------------------------------


#### quantile()


The [p](models.Elpd.md#prospicio.models.Elpd.p) quantile.


Usage


``` python
quantile(p)
```


##### Parameters


`p: float`  


##### Returns


`float`
