Model Constructors

This package contains the building blocks of model objects, such as Parameter, Observable, Setting, and State types. You may define any custom model, so long as it has parameters. The model object is used in both DSGE.jl and SMC.jl.

See /docs/examples for scripts demonstrating how to construct a custom model, then use SMC.jl to estimate it with sequential Monte Carlo - an algorithm applicable for any type of model (so long as it has free parameters). Should you build a DSGE model, you can use DSGE.jl to construct forecasts, shock decompositions, impulse responses, etc.


ModelConstructors.jl is a registered Julia package in the general registry. To install, open your Julia REPL, type ] (enter Julia’s package manager), and run

pkg> add ModelConstructors


ModelConstructors.jl is currently compatible with Julia v0.7, v1.0, and v1.1.

Ph.D. Student in Economics and Statistics

I am an Economics Ph.D. candidate at MIT, and former Senior Research Analyst on the dynamic stochastic general equilibrium (DSGE) team in the Macroeconomic and Monetary Studies function at the NY Fed. Views expressed are my own.