summary.PosteriorSigma function

Provides posterior summary of structural shocks' conditional standard deviations

Provides posterior summary of structural shocks' conditional standard deviations

Provides posterior summary of structural shocks' conditional standard deviations including their mean, standard deviations, as well as 5 and 95 percentiles.

## S3 method for class 'PosteriorSigma' summary(object, ...)

Arguments

  • object: an object of class PosteriorSigma obtained using the compute_conditional_sd() function containing posterior draws of conditional standard deviations of structural shocks.
  • ...: additional arguments affecting the summary produced.

Returns

A list reporting the posterior mean, standard deviations, as well as 5 and 95 percentiles of the structural shocks' conditional standard deviations for each of the shocks and periods.

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, 5) # estimate the model posterior = estimate(burn_in, 5) # compute structural shocks' conditional standard deviations sigma = compute_conditional_sd(posterior) sigma_summary = summary(sigma) # workflow with the pipe |> ############################################################ set.seed(123) us_fiscal_lsuw |> specify_bsvar_sv$new() |> estimate(S = 5) |> estimate(S = 5) |> compute_conditional_sd() |> summary() -> sigma_summary

See Also

compute_conditional_sd

Author(s)

Tomasz Woźniak wozniak.tom@pm.me

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