bsvars3.2 package

Bayesian Estimation of Structural Vector Autoregressive Models

bsvars-package

Bayesian Estimation of Structural Vector Autoregressive Models

compute_conditional_sd.PosteriorBSVAR

Computes posterior draws of structural shock conditional standard devi...

compute_conditional_sd.PosteriorBSVARMIX

Computes posterior draws of structural shock conditional standard devi...

compute_conditional_sd.PosteriorBSVARMSH

Computes posterior draws of structural shock conditional standard devi...

compute_conditional_sd.PosteriorBSVARSV

Computes posterior draws of structural shock conditional standard devi...

compute_conditional_sd.PosteriorBSVART

Computes posterior draws of structural shock conditional standard devi...

compute_conditional_sd

Computes posterior draws of structural shock conditional standard devi...

compute_fitted_values.PosteriorBSVAR

Computes posterior draws from data predictive density

compute_fitted_values.PosteriorBSVARMIX

Computes posterior draws from data predictive density

compute_fitted_values.PosteriorBSVARMSH

Computes posterior draws from data predictive density

compute_fitted_values.PosteriorBSVARSV

Computes posterior draws from data predictive density

compute_fitted_values.PosteriorBSVART

Computes posterior draws from data predictive density

compute_fitted_values

Computes posterior draws from data predictive density

compute_historical_decompositions.PosteriorBSVAR

Computes posterior draws of historical decompositions

compute_historical_decompositions.PosteriorBSVARMIX

Computes posterior draws of historical decompositions

compute_historical_decompositions.PosteriorBSVARMSH

Computes posterior draws of historical decompositions

compute_historical_decompositions.PosteriorBSVARSV

Computes posterior draws of historical decompositions

compute_historical_decompositions.PosteriorBSVART

Computes posterior draws of historical decompositions

compute_historical_decompositions

Computes posterior draws of historical decompositions

compute_impulse_responses.PosteriorBSVAR

Computes posterior draws of impulse responses

compute_impulse_responses.PosteriorBSVARMIX

Computes posterior draws of impulse responses

compute_impulse_responses.PosteriorBSVARMSH

Computes posterior draws of impulse responses

compute_impulse_responses.PosteriorBSVARSV

Computes posterior draws of impulse responses

compute_impulse_responses.PosteriorBSVART

Computes posterior draws of impulse responses

compute_impulse_responses

Computes posterior draws of impulse responses

compute_regime_probabilities.PosteriorBSVARMIX

Computes posterior draws of regime probabilities

compute_regime_probabilities.PosteriorBSVARMSH

Computes posterior draws of regime probabilities

compute_regime_probabilities

Computes posterior draws of regime probabilities

compute_structural_shocks.PosteriorBSVAR

Computes posterior draws of structural shocks

compute_structural_shocks.PosteriorBSVARMIX

Computes posterior draws of structural shocks

compute_structural_shocks.PosteriorBSVARMSH

Computes posterior draws of structural shocks

compute_structural_shocks.PosteriorBSVARSV

Computes posterior draws of structural shocks

compute_structural_shocks.PosteriorBSVART

Computes posterior draws of structural shocks

compute_structural_shocks

Computes posterior draws of structural shocks

compute_variance_decompositions.PosteriorBSVAR

Computes posterior draws of the forecast error variance decomposition

compute_variance_decompositions.PosteriorBSVARMIX

Computes posterior draws of the forecast error variance decomposition

compute_variance_decompositions.PosteriorBSVARMSH

Computes posterior draws of the forecast error variance decomposition

compute_variance_decompositions.PosteriorBSVARSV

Computes posterior draws of the forecast error variance decomposition

compute_variance_decompositions.PosteriorBSVART

Computes posterior draws of the forecast error variance decomposition

compute_variance_decompositions

Computes posterior draws of the forecast error variance decomposition

estimate.BSVAR

Bayesian estimation of a homoskedastic Structural Vector Autoregressio...

estimate.BSVARMIX

Bayesian estimation of a Structural Vector Autoregression with shocks ...

estimate.BSVARMSH

Bayesian estimation of a Structural Vector Autoregression with Markov-...

estimate.BSVARSV

Bayesian estimation of a Structural Vector Autoregression with Stochas...

estimate.BSVART

Bayesian estimation of a homoskedastic Structural Vector Autoregressio...

estimate.PosteriorBSVAR

Bayesian estimation of a homoskedastic Structural Vector Autoregressio...

estimate.PosteriorBSVARMIX

Bayesian estimation of a Structural Vector Autoregression with shocks ...

estimate.PosteriorBSVARMSH

Bayesian estimation of a Structural Vector Autoregression with Markov-...

estimate.PosteriorBSVARSV

Bayesian estimation of a Structural Vector Autoregression with Stochas...

estimate.PosteriorBSVART

Bayesian estimation of a homoskedastic Structural Vector Autoregressio...

estimate

Bayesian estimation of Structural Vector Autoregressions via Gibbs sam...

forecast.PosteriorBSVAR

Forecasting using Structural Vector Autoregression

forecast.PosteriorBSVARMIX

Forecasting using Structural Vector Autoregression

forecast.PosteriorBSVARMSH

Forecasting using Structural Vector Autoregression

forecast.PosteriorBSVARSV

Forecasting using Structural Vector Autoregression

forecast.PosteriorBSVART

Forecasting using Structural Vector Autoregression

forecast

Forecasting using Structural Vector Autoregression

normalise_posterior

Waggoner & Zha (2003) row signs normalisation of the posterior draws f...

plot_ribbon

Plots the median and an interval between two specified percentiles for...

plot.Forecasts

Plots fitted values of dependent variables

plot.PosteriorFEVD

Plots forecast error variance decompositions

plot.PosteriorFitted

Plots fitted values of dependent variables

plot.PosteriorHD

Plots historical decompositions

plot.PosteriorIR

Plots impulse responses

plot.PosteriorRegimePr

Plots estimated regime probabilities

plot.PosteriorShocks

Plots structural shocks

plot.PosteriorSigma

Plots structural shocks' conditional standard deviations

specify_bsvar_mix

R6 Class representing the specification of the BSVAR model with a zero...

specify_bsvar_msh

R6 Class representing the specification of the BSVAR model with Markov...

specify_bsvar_sv

R6 Class representing the specification of the BSVAR model with Stocha...

specify_bsvar_t

R6 Class representing the specification of the BSVAR model with t-dist...

specify_bsvar

R6 Class representing the specification of the homoskedastic BSVAR mod...

specify_data_matrices

R6 Class Representing DataMatricesBSVAR

specify_identification_bsvars

R6 Class Representing IdentificationBSVARs

specify_posterior_bsvar_mix

R6 Class Representing PosteriorBSVARMIX

specify_posterior_bsvar_msh

R6 Class Representing PosteriorBSVARMSH

specify_posterior_bsvar_sv

R6 Class Representing PosteriorBSVARSV

specify_posterior_bsvar_t

R6 Class Representing PosteriorBSVART

specify_posterior_bsvar

R6 Class Representing PosteriorBSVAR

specify_prior_bsvar_mix

R6 Class Representing PriorBSVARMIX

specify_prior_bsvar_msh

R6 Class Representing PriorBSVARMSH

specify_prior_bsvar_sv

R6 Class Representing PriorBSVARSV

specify_prior_bsvar_t

R6 Class Representing PriorBSVART

specify_prior_bsvar

R6 Class Representing PriorBSVAR

specify_starting_values_bsvar_mix

R6 Class Representing StartingValuesBSVARMIX

specify_starting_values_bsvar_msh

R6 Class Representing StartingValuesBSVARMSH

specify_starting_values_bsvar_sv

R6 Class Representing StartingValuesBSVARSV

specify_starting_values_bsvar_t

R6 Class Representing StartingValuesBSVART

specify_starting_values_bsvar

R6 Class Representing StartingValuesBSVAR

summary.Forecasts

Provides posterior summary of Forecasts

summary.PosteriorBSVAR

Provides posterior summary of homoskedastic Structural VAR estimation

summary.PosteriorBSVARMIX

Provides posterior summary of non-normal Structural VAR estimation

summary.PosteriorBSVARMSH

Provides posterior summary of heteroskedastic Structural VAR estimatio...

summary.PosteriorBSVARSV

Provides posterior summary of heteroskedastic Structural VAR estimatio...

summary.PosteriorBSVART

Provides posterior summary of Structural VAR with t-distributed shocks...

summary.PosteriorFEVD

Provides posterior summary of forecast error variance decompositions

summary.PosteriorFitted

Provides posterior summary of variables' fitted values

summary.PosteriorHD

Provides posterior summary of historical decompositions

summary.PosteriorIR

Provides posterior summary of impulse responses

summary.PosteriorRegimePr

Provides posterior summary of regime probabilities

summary.PosteriorShocks

Provides posterior summary of structural shocks

summary.PosteriorSigma

Provides posterior summary of structural shocks' conditional standard ...

summary.SDDRautoregression

Provides summary of verifying hypotheses about autoregressive paramete...

summary.SDDRidMIX

Provides summary of verifying shocks' normality

summary.SDDRidMSH

Provides summary of verifying homoskedasticity

summary.SDDRidSV

Provides summary of verifying homoskedasticity

summary.SDDRidT

Provides summary of verifying shocks' normality

summary.SDDRvolatility

Provides summary of verifying homoskedasticity

verify_autoregression.PosteriorBSVAR

Verifies hypotheses involving autoregressive parameters

verify_autoregression.PosteriorBSVARMIX

Verifies hypotheses involving autoregressive parameters

verify_autoregression.PosteriorBSVARMSH

Verifies hypotheses involving autoregressive parameters

verify_autoregression.PosteriorBSVARSV

Verifies hypotheses involving autoregressive parameters

verify_autoregression.PosteriorBSVART

Verifies hypotheses involving autoregressive parameters

verify_autoregression

Verifies hypotheses involving autoregressive parameters

verify_identification.PosteriorBSVAR

Verifies identification through heteroskedasticity or non-normality of...

verify_identification.PosteriorBSVARMIX

Verifies identification through heteroskedasticity or non-normality of...

verify_identification.PosteriorBSVARMSH

Verifies identification through heteroskedasticity or non-normality of...

verify_identification.PosteriorBSVARSV

Verifies identification through heteroskedasticity or non-normality of...

verify_identification.PosteriorBSVART

Verifies identification through heteroskedasticity or non-normality of...

verify_identification

Verifies identification through heteroskedasticity or non-normality of...

verify_volatility.PosteriorBSVAR

Verifies heteroskedasticity of structural shocks equation by equation

verify_volatility.PosteriorBSVARMIX

Verifies heteroskedasticity of structural shocks equation by equation

verify_volatility.PosteriorBSVARMSH

Verifies heteroskedasticity of structural shocks equation by equation

verify_volatility.PosteriorBSVARSV

Verifies heteroskedasticity of structural shocks equation by equation

verify_volatility

Verifies heteroskedasticity of structural shocks equation by equation

Provides fast and efficient procedures for Bayesian analysis of Structural Vector Autoregressions. This package estimates a wide range of models, including homo-, heteroskedastic, and non-normal specifications. Structural models can be identified by adjustable exclusion restrictions, time-varying volatility, or non-normality. They all include a flexible three-level equation-specific local-global hierarchical prior distribution for the estimated level of shrinkage for autoregressive and structural parameters. Additionally, the package facilitates predictive and structural analyses such as impulse responses, forecast error variance and historical decompositions, forecasting, verification of heteroskedasticity, non-normality, and hypotheses on autoregressive parameters, as well as analyses of structural shocks, volatilities, and fitted values. Beautiful plots, informative summary functions, and extensive documentation including the vignette by Woźniak (2024) <doi:10.48550/arXiv.2410.15090> complement all this. The implemented techniques align closely with those presented in Lütkepohl, Shang, Uzeda, & Woźniak (2024) <doi:10.48550/arXiv.2404.11057>, Lütkepohl & Woźniak (2020) <doi:10.1016/j.jedc.2020.103862>, and Song & Woźniak (2021) <doi:10.1093/acrefore/9780190625979.013.174>. The 'bsvars' package is aligned regarding objects, workflows, and code structure with the R package 'bsvarSIGNs' by Wang & Woźniak (2024) <doi:10.32614/CRAN.package.bsvarSIGNs>, and they constitute an integrated toolset.

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