Skip to main content

esg.ProjectionPaths

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

Usage

esg.ProjectionPaths()

Attributes

Name Description
n_sims The number of paths.
opening_surplus The surplus today, assets less the opening reserves.
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() The probability that the surplus before capital falls below the
lines() The names of the lines, for values().
ruin() The probability of ruin (the surplus before capital below zero at a
values() A line (as "surplus", from lines()) by path and year.

breach()

The probability that the surplus before capital falls below the

Usage

breach(horizon, capital)

required capital at a year end within horizon years.

capital is a fixed amount, a list of amounts by year, or a pair ("premium", ratio) or ("reserves", ratio). Returns a dict of probability, 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().

Usage

lines()

ruin()

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

Usage

ruin(horizon)

year end) within horizon years, with its standard error: a dict of probability and standard_error.


values()

A line (as "surplus", from lines()) by path and year.

Usage

values(line)