simulate: Simulate a linear system with given transition

Description Usage Arguments Value

Description

Simulate a linear system with given transition

Usage

1
simulate(g, h, x0, u0 = NULL, t)

Arguments

g

function, Function of predetermined vector at t on un-predetermined vector at t

h

function, Function of predetermined vector at t on predetermined vector at t+1

x0

x0 in R, Initial value of predetermined vector

t

t in N, Length of simulation

e

vector or matrix, each row e[k, ] corresponds to shock at t = k

Value

Path of all vectors


tatsuyaasami/lrem documentation built on May 3, 2019, 11:50 p.m.