- Added function
covar_vector_to_matrix. - Added function
sur_const_to_tvp. - Updated
Rcppdependency in DESCRIPTION file to version 1.0.12. - Added
post_gamma_state_variancefor posterior simulation of constant error variances of the state equation. - Added
post_gamma_measurement_variancefor posterior simulation of constant error variances of the measurement equation. - Renamed
.prep_covar_datatocovar_prepare_dataand made it visible in R and also callable from C++.
- Using an updated version of
Rcppto address an issue withRcpp::stop. stochvol_ocsn2007can handle multi-column input.stochvol_ksc1998can handle multi-column input.- Added
post_normal_covar_tvpfor posterior simulation of time varying, lower triangular covariance matrices. - Added
post_normal_covar_constfor posterior simulation of constant, lower triangular covariance matrices.
- Fixed alias issue resulting from use of
roxygen2. - Made
kalman_dkcallable from C++. - Stochastic volatility algorithms allow to set the offsetting constant manually.
- Changed
stoch_volto a wrapper forstochvol_ksc1998. - Added stochastic volatility algorithm of Kim et al. (1998) in a separate function
stochvol_ksc1998. - Added stochastic volatility algorithm of Omori et al. (2007) in function
stochvol_ocsn2007. - Fixed bug with detection of deterministic terms in
bvar. - Implemented recursive iterations for forecasts in C++.
- Replaced erroneous
|in C++ sampling functions by||.
- Addressed CRAN NOTE on CITATION file
- Addressed the CRAN NOTE "Specified C++11: please drop specification unless essential" by dropping the specification from "src/Makevars"
- Improved the treatment of
bvarandbvecobjects if Gibbs sampler fails. - Fix erroneous SUR-matrix generation for VEC models with r = 0 in
.bvecalg. - Fix bug in
.bvecalgand.bvectvpalgwith the storing of posterior draws of beta. - Fix bug of
predict.bvar, which could not handle only VARX models with contemporaneous exogenous variables only. - Model plot functions support boxplots.
- Fix typos in documentation.
- Added functionality for the simulation of models with time varying parameters, both for VAR and VEC models.
- Added functionality for the simulation of models with stochastic volatility, both for VAR and VEC models.
- Added a plot function for classes
bvarandbvecfor visual inspection of posterior draws. - Changed the generation of the output object in the Gibbs sampler functions
bvaralgandbvecalgto make them more stable for especially large output. - Changed
draw_posteriorto a generic function and added the corresponding methods for BVAR, BVEC and DFM input. - Changed
irfandfevdto generic functions. - Corrected typos in documentation.
thin_posteriormethods were renamed tothinand are now methods ofcoda::thin.- Function
irfallows to specify the size of a shock. - Fixed a bug in
ssvs_priorconcerning BVEC models. - Fixed a bug with the prior in the BVEC algorithm.
- Changed
thin_posteriorto a generic function and added methods for BVAR, BVEC and dynamic factor model input. - Changed
add_priorto a generic function and added methods for BVAR, BVEC and dynamic factor model input. - Added funcionality to estimate dynamic factor models (DFM).
predictrequires to specify an object of classtsas input for argumentexogen.- Additioal argument checks for
add_priorsmethods. - Updated documentation in
minnesota_priorand foradd_priormethods. - Using \doi instead of \url in documentation
- Omitted package
Matrixfrom "Imports"" in DESCRIPTION, which caused a note in version 0.0.3. - Added function
bvarpostfor posterior simulation of BVAR models. - Added function
bvecpostfor posterior simulation of BVEC models. - Added function
draw_posteriorfor estimation of multiple models. - Fixed erroneous calculation of structural forecast error variance decompositions.
- More specification checks and increased robustness against erroneous model specificaions.
- Function
fevdcalculates FEVDs based on means of posterior draws of FEVDs and not based on the means of the coefficient draws. - Function
bvarandsummary.bvarcan deal with inclusion parameters. - Added funtion
add_priorsfor easier construction of prior matrices for multiple models. gen_varandgen_veccan produce multiple models.- Changed all argument names of
predict.bvarto lower cases.
- Changed all argument names of
post_normal,post_normal_sur,post_coint_klsandpost_coint_kls_surto lower case letters. - Replaced output element in function
ssvsfromV_itov_i. - Refined function
minnesota_priorand added additional functionaliy. - Fixed error message when creating seasonal dummies with
gen_varandgen_vec. - New data set
us_macrodata. - Added additional checks in
gen_vec. - Added functions
inclusion_priorfor the calculation of inclusion probability priors as used bybvsandssvs. - Added
summaryfunctions. - Fixed conversion and collection of exogenous regressors in
bvec_to_bvar. - Fixed detection of deterministic terms in
bvec_to_bvar. - Updated documentation in
kalman_dk. irfcontains a new argumentkeep_draws.- Additional checks in
post_normal,post_normal_sur,post_coint_klsandpost_coint_kls_sur. - Adapt vignette
bvec. - Added
loglik_normalfor the calculation of a multivariate normal log-likelihood.
- Updated vignette
ssvsafter the introduction of functionssvs_prior. - Added
ssvs_priorfor the calculation of prior matrices for the SSVS algorithm. - Added
minnesota_priorfor the calculation of the Minnesota prior. - Use unsigned integers for indices in Cpp code to address warnings during installation.
- Better error handling in
irf. - In
post_coint_kls_surthe prior matrixg_ican be time varying. bvarandpredictalso work only with deterministic terms, i.e. p can be zero.- Use SVD to obtain a draw of beta in
post_coint_klsandpost_coint_kls_sur. predictallows for p = 1.- Add legend to
plot.bvarfevd.
- Initial release