Skip to content

dsge

Dynamic Stochastic General Equilibrium Models

v1.0.0 · Apr 2, 2026 · MIT + file LICENSE

Description

Specify, solve, and estimate dynamic stochastic general equilibrium (DSGE) models by maximum likelihood and Bayesian methods. Supports both linear models via an equation-based formula interface and nonlinear models via string-based equations with first-order perturbation (linearization around deterministic steady state). Solution uses the method of undetermined coefficients (Klein, 2000 <doi:10.1016/S0165-1889(99)00045-7>). Likelihood evaluated via the Kalman filter. Bayesian estimation uses adaptive Random-Walk Metropolis-Hastings with prior specification. Additional tools include Kalman smoothing, historical shock decomposition, local identification diagnostics, parameter sensitivity analysis, second-order perturbation, occasionally binding constraints, impulse-response functions, forecasting, and robust standard errors.

Downloads

21

Last 30 days

23702nd

21

Last 90 days

21

Last year

CRAN Check Status

8 OK
Show all 8 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK

Check History

OK 5 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 3, 2026

Dependency Network

Dependencies Reverse dependencies numDeriv dsge

Version History

new 1.0.0 Apr 2, 2026