summary.PosteriorBSVARSV function

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 BB, autoregressive parameters AA, 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 BB, autoregressive parameters AA, and hyper-parameters.

Examples

# upload data data(us_fiscal_lsuw) # specify the model and set seed set.seed(123) specification = specify_bsvar_sv$new(us_fiscal_lsuw) # run the burn-in burn_in = estimate(specification, 10) # estimate the model posterior = 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()

See Also

estimate, specify_bsvar_sv

Author(s)

Tomasz Woźniak wozniak.tom@pm.me

  • Maintainer: Tomasz Woźniak
  • License: GPL (>= 3)
  • Last published: 2024-10-24