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 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,5)# estimate the modelposterior = estimate(burn_in,5)# compute structural shocks' conditional standard deviationssigma = 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