Description Usage Arguments Details Value
View source: R/stress_interface.R
This is the main user function, designed to obtain posterior samples from the Normal-Wishart VAR model.
1 | RunScenario(PATHS, iters = 40000, base_objs = NULL, burn = 10000, ...)
|
PATHS |
the PATHS variable to be used. |
iters |
the number of Gibbs iterations. |
base_objs |
an optional parameter providing the environment from
|
burn |
the number of burn-in samples to discard from the Gibbs Sampler. |
... |
additional parameters to be passed to |
The main underlying functions are CreateData
, which is used
to set the environment, and Gibbs, which runs the Gibbs sampler. As a
safety measure, one cannot run the Gibbs sampler without pre-specifying the
base_objs argument; the function will return a pre-made
base_objs for revision, and must be run with this environment for
it to begin the sampling process.
if base_objs is NULL, it will return the base environment for
revision. If not, then a Gibbs
object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.