## pricing.CasualtyRating


The treaty's expected loss, kept policy by policy, from


Usage

``` python
pricing.CasualtyRating()
```


[CasualtyProfile.rate](pricing.CasualtyProfile.md#prospicio.pricing.CasualtyProfile.rate) or [rate_by_frequency](pricing.CasualtyProfile.md#prospicio.pricing.CasualtyProfile.rate_by_frequency).


## Attributes

| Name | Description |
|----|----|
| [ceded](#ceded) | The treaty's expected loss, with ALAE. |
| [loss_cost](#loss_cost) | Expected treaty loss over subject premium. |
| [premium](#premium) | Subject premium. |

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


#### ceded


The treaty's expected loss, with ALAE.


`ceded: float`


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


#### loss_cost


Expected treaty loss over subject premium.


`loss_cost: float`


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


#### premium


Subject premium.


`premium: float`


## Methods

| Name | Description |
|----|----|
| [by_tag()](#by_tag) | Ceded loss and premium by tag, in first-seen order: columns `tag` |
| [rows()](#rows) | One row per policy: columns [factor](models.Terms.md#prospicio.models.Terms.factor) and [expected_loss](pricing.Price.md#prospicio.pricing.Price.expected_loss) (NaN |
| [without()](#without) | The rating with the policies tagged `tag` left out. |

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


#### by_tag()


Ceded loss and premium by tag, in first-seen order: columns `tag`


Usage

``` python
by_tag()
```


(`None` for untagged), [ceded](reinsurance.Layer.md#prospicio.reinsurance.Layer.ceded) and [premium](pricing.Price.md#prospicio.pricing.Price.premium).


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


#### rows()


One row per policy: columns [factor](models.Terms.md#prospicio.models.Terms.factor) and [expected_loss](pricing.Price.md#prospicio.pricing.Price.expected_loss) (NaN


Usage

``` python
rows()
```


in the frequency form), [ceded](reinsurance.Layer.md#prospicio.reinsurance.Layer.ceded), [premium](pricing.Price.md#prospicio.pricing.Price.premium) and `tag`.


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


#### without()


The rating with the policies tagged `tag` left out.


Usage

``` python
without(tag)
```
