## pricing.PurePremiumExperience


Experience years for the pure premium method: losses developed, trended


Usage

``` python
pricing.PurePremiumExperience()
```


and loaded for LAE over earned exposure, combined as the ratio of their totals.


## Parameters


`exposure: list of float`  

`losses: list of float`  

`development: list of float or float`  

`loss_trend: list of float or float`  

`lae_factor: list of float or float`  


## Raises


`ValueError`  
For no years, mismatched lengths, or an exposure or factor that is not positive.


## Examples

``` python
>>> from prospicio.pricing import PurePremiumExperience
>>> e = PurePremiumExperience([10.0, 30.0], [1000.0, 2000.0], loss_trend=1.1)
>>> round(e.pure_premium, 6)
```

82.5


## Attributes

| Name | Description |
|----|----|
| [exposure](#exposure) | Total earned exposure. |
| [projected_losses](#projected_losses) | Total projected ultimate losses and LAE. |
| [projected_losses_by_year](#projected_losses_by_year) | Each year's projected losses and LAE. |
| [pure_premium](#pure_premium) | The projected pure premium, the ratio of the totals. |
| [pure_premium_by_year](#pure_premium_by_year) | Each year's projected pure premium. |

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


#### exposure


Total earned exposure.


`exposure: float`


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


#### projected_losses


Total projected ultimate losses and LAE.


`projected_losses: float`


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


#### projected_losses_by_year


Each year's projected losses and LAE.


`projected_losses_by_year: list[float]`


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


#### pure_premium


The projected pure premium, the ratio of the totals.


`pure_premium: float`


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


#### pure_premium_by_year


Each year's projected pure premium.


`pure_premium_by_year: list[float]`
