Skip to contents

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

Inherited methods


Method new()

Create a new posterior output PosteriorBVARGROUPPRIORPANEL.

Usage

specify_posterior_bvarGroupPriorPANEL$new(specification, posterior)

Arguments

specification

an object of class BVARGROUPPRIORPANEL with the last draw of the current MCMC run as the starting value.

posterior

a list containing Bayesian estimation output.

Returns

A posterior output PosteriorBVARGROUPPRIORPANEL.


Method clone()

The objects of this class are cloneable with this method.

Usage

specify_posterior_bvarGroupPriorPANEL$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

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)