simulate_shock: Simulating an LRE with an exogenous shock

Description Usage Arguments Value

View source: R/simulation.R

Description

Simulating an LRE with an exogenous shock

Usage

1
simulate_shock(g, h, x0, t, e)

Arguments

g

Decision rule

h

Motion rule

x0

vector of predetermined variables that includes the AR parameter

t

length of the simulation

e

vector of exogenous shocks, input is a list which is then transformed into an appropriate matrix

Value

A matrix showing the dynamic path of variables over the simulation time


nuritovbek/lrem documentation built on May 4, 2019, 4:24 p.m.