Home  /  Products  /  Features  /  DSGE models

DSGE models

Write your model using a simple syntax. Solve the model at specified parameter values or estimate model parameters by maximum likelihood. Graph impulse responses and compare models.

Dynamic stochastic general equilibrium (DSGE) models

  • Write down your DSGE model, linear or nonlinear, using Stata's substitutable expression syntax
  • Solve DSGE models at specified parameter values
  • Estimate the parameters of DSGE models
  • Identification diagnostics
  • Robust standard errors
  • Bayesian estimation


  • Obtain the state-space form of the model
  • Obtain steady state of the model
  • View policy and state transition matrices
  • Standard errors for policy and state transition parameters
  • Assess the stability of your model
  • View model implied covariances


  • Expected values of dependent variables
  • Expected values of unobserved state variables
  • Static (one-step) predictions
  • Dynamic (multistep) predictions
  • RMSEs of predictions

Learn more about Linearized DSGEs.

Learn more about Nonlinearized DSGEs.

Impulse–response functions

  • Graph the dynamic response to a shock
  • Standard errors for impulse–response functions
  • Compare models
  • Compare output of a model under different parameter settings

Additional resources

See New in Stata 18 to learn about what was added in Stata 18.