esg.Scenarios
Simulated economic paths, from Esg.simulate().
Usage
esg.Scenarios()Every matrix has one row per path and one column per step from today (n_steps + 1), except superimposed(), by year.
Attributes
| Name | Description |
|---|---|
| n_sims | The number of paths. |
| n_steps | The number of steps after today. |
| step | The step’s name. |
n_sims
The number of paths.
n_sims: int
n_steps
The number of steps after today.
n_steps: int
step
The step’s name.
step: str
Methods
| Name | Description |
|---|---|
| bond_prices() |
The price of the zero-coupon bond of the j-th maturity by path
|
| curve() |
The annually compounded spot curve of path sim at step k:
|
| deflators() |
The stochastic discount factor exp(-∫ r) by path and step.
|
| index_levels() |
The level of index ("claims" or "price") by path and
|
| inflation_rates() | The economic inflation rate by path and step. |
| maturities() | The maturities of the reported curves. |
| short_rates() | The short rate by path and step. |
| superimposed() | The superimposed excess by path and year (years 1 to the horizon). |
| times() | The time in years of each step, from 0. |
bond_prices()
The price of the zero-coupon bond of the j-th maturity by path
Usage
bond_prices(j)and step.
curve()
The annually compounded spot curve of path sim at step k:
Usage
curve(sim, k)a dict of maturities and rates.
deflators()
The stochastic discount factor exp(-∫ r) by path and step.
Usage
deflators()index_levels()
The level of index ("claims" or "price") by path and
Usage
index_levels(index="claims")step, 1 today.
inflation_rates()
The economic inflation rate by path and step.
Usage
inflation_rates()maturities()
The maturities of the reported curves.
Usage
maturities()short_rates()
The short rate by path and step.
Usage
short_rates()superimposed()
The superimposed excess by path and year (years 1 to the horizon).
Usage
superimposed()times()
The time in years of each step, from 0.
Usage
times()