## pricing.BurningCost


The burning cost by accident year and overall, from


Usage

``` python
pricing.BurningCost()
```


[PreparedLosses.burning_cost](pricing.PreparedLosses.md#prospicio.pricing.PreparedLosses.burning_cost).


## Attributes

| Name | Description |
|----|----|
| [loss_cost](#loss_cost) | Each layer's developed losses over the premium, summed over the |
| [mean_loss_cost](#mean_loss_cost) | Each layer's loss cost averaged over the years with equal weight. |
| [years](#years) | The accident years. |

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


#### loss_cost


Each layer's developed losses over the premium, summed over the


`loss_cost: list[float]`


years: the premium-weighted loss cost.


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


#### mean_loss_cost


Each layer's loss cost averaged over the years with equal weight.


`mean_loss_cost: list[float]`


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


#### years


The accident years.


`years: list[int]`


## Methods

| Name | Description |
|----|----|
| [to_dict()](#to_dict) | The years as columns: `year`, [premium](pricing.Price.md#prospicio.pricing.Price.premium), [losses](distributions.SizeOfLoss.md#prospicio.distributions.SizeOfLoss.losses) (the count |

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


#### to_dict()


The years as columns: `year`, [premium](pricing.Price.md#prospicio.pricing.Price.premium), [losses](distributions.SizeOfLoss.md#prospicio.distributions.SizeOfLoss.losses) (the count


Usage

``` python
to_dict()
```


through the tower), [development](reserving.MackFit.md#prospicio.reserving.MackFit.development), and per layer [layer_loss](pricing.TowerModel.md#prospicio.pricing.TowerModel.layer_loss), `developed` and [loss_cost](pricing.BurningCost.md#prospicio.pricing.BurningCost.loss_cost) (a list per year, one value per layer).


##### Returns


`dict of str to list`
