## esg.ProjectionPaths


A projection's paths: each line by path and year, ruin and breach.


Usage


``` python
esg.ProjectionPaths()
```


## Attributes

| Name | Description |
|----|----|
| [n_sims](#n_sims) | The number of paths. |
| [opening_surplus](#opening_surplus) | The surplus today, assets less the opening reserves. |
| [years](#years) | The years projected. |

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


#### n_sims


The number of paths.


`n_sims: int`


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


#### opening_surplus


The surplus today, assets less the opening reserves.


`opening_surplus: float`


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


#### years


The years projected.


`years: int`


## Methods

| Name | Description |
|----|----|
| [breach()](#breach) | The probability that the surplus before capital falls below the |
| [lines()](#lines) | The names of the lines, for [values()](reserving.Triangle.md#prospicio.reserving.Triangle.values). |
| [ruin()](#ruin) | The probability of ruin (the surplus before capital below zero at a |
| [values()](#values) | A line (as `"surplus"`, from [lines()](esg.ProjectionPaths.md#prospicio.esg.ProjectionPaths.lines)) by path and year. |

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


#### breach()


The probability that the surplus before capital falls below the


Usage


``` python
breach(horizon, capital)
```


required capital at a year end within `horizon` years.

[capital](risk.capital.md#prospicio.risk.capital) is a fixed amount, a list of amounts by year, or a pair `("premium", ratio)` or `("reserves", ratio)`. Returns a dict of [probability](reinsurance.Reinsurer.md#prospicio.reinsurance.Reinsurer.probability), [standard_error](reserving.MackFit.md#prospicio.reserving.MackFit.standard_error) and `shortfall` (the mean largest shortfall on the paths that breach, `None` when none do).


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


#### lines()


The names of the lines, for [values()](reserving.Triangle.md#prospicio.reserving.Triangle.values).


Usage


``` python
lines()
```


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


#### ruin()


The probability of ruin (the surplus before capital below zero at a


Usage


``` python
ruin(horizon)
```


year end) within `horizon` years, with its standard error: a dict of [probability](reinsurance.Reinsurer.md#prospicio.reinsurance.Reinsurer.probability) and [standard_error](reserving.MackFit.md#prospicio.reserving.MackFit.standard_error).


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


#### values()


A line (as `"surplus"`, from [lines()](esg.ProjectionPaths.md#prospicio.esg.ProjectionPaths.lines)) by path and year.


Usage


``` python
values(line)
```
