## esg.Inflation


Economic inflation, an Ornstein-Uhlenbeck rate,


Usage


``` python
esg.Inflation()
```


`di = kappa (mean - i) dt + sigma dW`.


## Parameters


`kappa: float`  
The speed of mean reversion, positive.

`mean: float`  
The long-run rate.

`sigma: float`  
The volatility, non-negative.

`i0: float`  
The rate today.


## Examples

``` python
>>> from prospicio.esg import Inflation
>>> round(Inflation(0.5, 0.025, 0.01, 0.03).index_mean(1.0), 6) > 1.0
```

True


## Methods

| Name | Description |
|----|----|
| [index_mean()](#index_mean) | The mean of the price index at [t](distributions.Pareto.md#prospicio.distributions.Pareto.t) years. |
| [log_index_mean()](#log_index_mean) | The mean of the log price index at [t](distributions.Pareto.md#prospicio.distributions.Pareto.t) years. |
| [log_index_variance()](#log_index_variance) | The variance of the log price index at [t](distributions.Pareto.md#prospicio.distributions.Pareto.t) years. |
| [mean()](#mean) | The mean of the rate at [t](distributions.Pareto.md#prospicio.distributions.Pareto.t) years. |
| [stationary_variance()](#stationary_variance) | The variance of the rate in the long run. |
| [variance()](#variance) | The variance of the rate at [t](distributions.Pareto.md#prospicio.distributions.Pareto.t) years. |

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


#### index_mean()


The mean of the price index at [t](distributions.Pareto.md#prospicio.distributions.Pareto.t) years.


Usage


``` python
index_mean(t)
```


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


#### log_index_mean()


The mean of the log price index at [t](distributions.Pareto.md#prospicio.distributions.Pareto.t) years.


Usage


``` python
log_index_mean(t)
```


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


#### log_index_variance()


The variance of the log price index at [t](distributions.Pareto.md#prospicio.distributions.Pareto.t) years.


Usage


``` python
log_index_variance(t)
```


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


#### mean()


The mean of the rate at [t](distributions.Pareto.md#prospicio.distributions.Pareto.t) years.


Usage


``` python
mean(t)
```


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


#### stationary_variance()


The variance of the rate in the long run.


Usage


``` python
stationary_variance()
```


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


#### variance()


The variance of the rate at [t](distributions.Pareto.md#prospicio.distributions.Pareto.t) years.


Usage


``` python
variance(t)
```
