View source: R/draw_posterior.gvecsubmodels.R
draw_posterior.gvecsubmodels | R Documentation |
Estimates the country models of a Bayesian GVAR model.
## S3 method for class 'gvecsubmodels'
draw_posterior(object, ..., FUN = NULL, mc.cores = NULL, ctry = NULL)
object |
a list of data and model specifications for country-specific
models, which should be passed on to function |
... |
further arguments passed to or from other methods. |
FUN |
the function to be applied to each country model in argument |
mc.cores |
the number of cores to use, i.e. at most how many child processes will be run simultaneously. The option is initialized from environment variable MC_CORES if set. Must be at least one, and parallelization requires at least two cores. |
ctry |
character vector specifying for which countries posterior distributions
should be drawn. If |
An object of class bgvecest
, which contains a list of data,
model specifications, priors, coefficient draws and information
criteria for each estimated country model.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.