
R6 Class Representing PosteriorBVARGROUPPRIORPANEL
Source:R/specify_bvargrouppriorpanel.R
specify_posterior_bvarGroupPriorPANEL.Rd
The class PosteriorBVARGROUPPRIORPANEL contains posterior output and the specification
including the last MCMC draw for the Bayesian Panel VAR model with country grouping.
Note that due to the thinning of the MCMC output the starting value in element
last_draw
might not be equal to the last draw provided in
element posterior
.
Super classes
bpvars::PosteriorBVARPANEL
-> bpvars::PosteriorBVARGROUPPANEL
-> PosteriorBVARGROUPPRIORPANEL
Public fields
last_draw
an object of class BVARGROUPPRIORPANEL with the last draw of the current MCMC run as the starting value to be passed to the continuation of the MCMC estimation using
estimate()
.posterior
a list containing Bayesian estimation output.
Methods
Method new()
Create a new posterior output PosteriorBVARGROUPPRIORPANEL.
Usage
specify_posterior_bvarGroupPriorPANEL$new(specification, posterior)
Examples
# This is a function that is used within estimate()
spec = specify_bvarGroupPriorPANEL$new(
data = ilo_dynamic_panel,
p = 4,
G = 2
)
#> Country groupings will be estimated.
#posterior = estimate(specification, 50)
#class(posterior)