Laron K Williams, and Guy D Whitten
method for dynamic simulations of autoregressive relationships in R.
There are four basic steps to use dynsim to create dynamic simulations of autoregressive relationships:
Estimate your linear model using
lm or similar functions.
Set up starting values for simulation scenarios and (optionally) shock values at particular iterations (e.g. points in forecasted time).
Simulate these scenarios based on the estimated model using the
Plot the simulation results with the
For examples please visit http://christophergandrud.github.io/dynsim/.
dynsim is available on CRAN
You can also easily install the latest development version with the devtools package:
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.