Bayesian Simultaneous Equation Models for Forecasting

Estimate and forecast Bayesian simultaneous equation models for macroeconomic time series. Provides tools to specify systems of behavioral equations and accounting identities, transform and manage time series, simulate from the posterior using a Metropolis-within-Gibbs sampler, and generate unconditional and conditional forecasts with user-defined priors and restrictions. Methods are described in Rathke A. and Sarferaz S. (forthcoming) "Bayesian Estimation of Simultaneous Equations Model".


KOMA - Large Macroeconomic Model

Lifecycle:maturing codecov

koma is an R package for Bayesian estimation of simultaneous equation models (SEMs) using Metropolis-within-Gibbs Markov Chain Monte Carlo (MCMC) methods.

Installation

Install the released version from CRAN:

install.packages("koma")

Or install the latest development version from GitHub:

pak::pak("TimothyMerlin/koma")

Documentation

See the full documentation site for the complete function reference.

Contributing

Contributions are welcome! See CONTRIBUTING.md for the development setup and pull request process. Bug reports and feature requests are welcome via GitHub issues.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("koma")

0.4.0 by Merlin Scherer, 2 days ago


https://timothymerlin.github.io/koma/, https://github.com/TimothyMerlin/koma


Report a bug at https://github.com/TimothyMerlin/koma/issues


Browse source code at https://github.com/cran/koma


Authors: Samad Sarferaz [aut, cph] (ORCID: , Merlin Scherer [aut, cre, cph] (ORCID: , Laurent Florin [ctb] , Andrew D. Martin [ctb, cph] (Adapted rwish/riwish code from MCMCpack) , Kevin M. Quinn [ctb, cph] (Adapted rwish/riwish code from MCMCpack) , Jong Hee Park [ctb, cph] (Adapted rwish/riwish code from MCMCpack) , Bill Venables [ctb, cph] (Adapted multivariate_norm code from MASS::mvrnorm) , Brian D. Ripley [ctb, cph] (Adapted multivariate_norm code from MASS::mvrnorm)


Documentation:   PDF Manual  


GPL (>= 3) license


Imports cli, doFuture, foreach, glue, methods, progressr, purrr, rlang, stats, tempdisagg, utils

Suggests devtools, ggplot2, usethis, pkgdown, knitr, rmarkdown, future, parallelly, withr, texreg, testthat, plotly, webshot2


See at CRAN