Description Usage Arguments Examples
AR1 Simulations and Estimations
1 2 | sim_sarima(n.draws = 10, n = 92, bootstrap = TRUE,
out_path = system.file(package = "tdmc", "out"))
|
n.draws |
number of draws |
n |
length of the time series (in quarterts, incl 1 year foracast) |
bootstrap |
should the errors in the simulated series be bootstraped? (instead of drawn from a normal) |
out_path |
where to save the data |
1 2 3 | out_path <- system.file(package = "tdmc", "out")
# use n.draws = 1000 to replicate paper
sim_sarima(n.draws = 10, out_path = out_path)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.