sim_ar1: AR1 Simulations and Estimations

Description Usage Arguments Examples

Description

AR1 Simulations and Estimations

Usage

1
sim_ar1(n.draws = 10, n = 92, out_path = system.file(package = "tdmc", "out"))

Arguments

n.draws

number of draws

n

length of the time series (in quarterts, incl 1 year foracast)

out_path

where to save the data

Examples

1
2
3
out_path <- system.file(package = "tdmc", "out")
# use n.draws = 1000 to replicate paper
sim_ar1(n.draws = 10, out_path = out_path)  

christophsax/tdmc documentation built on May 9, 2019, 12:47 p.m.