Skip to contents

esg_inflation() is economic inflation, an Ornstein-Uhlenbeck rate, di = kappa (mean - i) dt + sigma dW, and superimposed_inflation() the claims inflation above it, an AR(1) by year, s_t = mean + persistence (s_(t-1) - mean) + sigma e_t. Each can join an esg().

Usage

esg_inflation(kappa, mean, sigma, i0)

superimposed_inflation(mean, persistence, sigma)

inflation_index_mean(x, t)

inflation_log_index_mean(x, t)

inflation_log_index_variance(x, t)

Arguments

kappa

The speed of mean reversion, positive.

mean

The long-run rate (the long-run excess for superimposed_inflation()).

sigma

The volatility (the shock's standard deviation), non-negative.

i0

The rate today.

persistence

In (-1, 1).

x

An esg_inflation.

t

Times in years.

Value

The model, with its parameters as properties; the moment functions give one value per t.

Details

mean() and variance() give the rate's moments at t years (the superimposed excess's variance after t whole years), stationary_variance() its variance in the long run, and inflation_index_mean(), inflation_log_index_mean() and inflation_log_index_variance() the moments of the price index at t years.

Examples

i <- esg_inflation(0.5, 0.025, 0.01, 0.03)
mean(i, 1)
#> [1] 0.02803265
inflation_index_mean(i, 1)
#> [1] 1.029369
stationary_variance(superimposed_inflation(0.01, 0.5, 0.01))
#> [1] 0.0001333333