Provides posterior summary of heteroskedastic Structural VAR estimation
Provides posterior summary of heteroskedastic Structural VAR estimation
Provides posterior mean, standard deviations, as well as 5 and 95 percentiles of the parameters: the structural matrix B, autoregressive parameters A, and hyper parameters.
## S3 method for class 'PosteriorBSVARSV'summary(object,...)
Arguments
object: an object of class PosteriorBSVARSV obtained using the estimate() function applied to heteroskedastic Bayesian Structural VAR model specification set by function specify_bsvar_sv$new() containing draws from the posterior distribution of the parameters.
...: additional arguments affecting the summary produced.
Returns
A list reporting the posterior mean, standard deviations, as well as 5 and 95 percentiles of the parameters: the structural matrix B, autoregressive parameters A, and hyper-parameters.
Examples
# upload datadata(us_fiscal_lsuw)# specify the model and set seedset.seed(123)specification = specify_bsvar_sv$new(us_fiscal_lsuw)# run the burn-inburn_in = estimate(specification,10)# estimate the modelposterior = estimate(burn_in,20)summary(posterior)# workflow with the pipe |>############################################################set.seed(123)us_fiscal_lsuw |> specify_bsvar_sv$new()|> estimate(S =10)|> estimate(S =20)|> summary()