
R6 Class Representing PosteriorBVARGROUPPRIORPANEL
Source:R/specify_bvargrouppriorpanel.R
specify_posterior_bvarGroupPriorPANEL.RdThe 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.
Public fields
last_drawan 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().posteriora list containing Bayesian estimation output.
Methods
Inherited methods
PosteriorBVARPANEL$get_last_draw()PosteriorBVARPANEL$get_posterior()
PosteriorBVARGROUPPRIORPANEL$new()
Create a new posterior output PosteriorBVARGROUPPRIORPANEL.
Examples
spec = specify_bvarGroupPriorPANEL$new(
data = ilo_dynamic_panel[1:5],
G = 2
)
#> Country groupings will be estimated.
#posterior = estimate(specification, 5)
#class(posterior)