<h1>Short answer</h1>

<p>It doesn't seem like you've tried very hard to find estimation using Dynare (<a href="https://www.google.com/webhp?sourceid=chrome-instant&amp;ion=1&amp;espv=2&amp;ie=UTF-8#q=Dynare+estimation">google results</a> of "Dynare estimation"). Dynare is in fact capable of doing estimation and typically people use some sort of data to estimate the parameters that govern their model.</p>

<h1>Longer Answer</h1>

<h2>What is a DSGE model?</h2>

<p>A DSGE model is a series of equations (and variables and parameters) that describe a "model" economy. Once you write everything down and take into consideration the optimizing decisions made by the agents, it is simply a system of stochastic difference (differential) equation that you can imagine writing in some form along the lines of:</p>

<p>$$ E_t F(y_{t+1}, y_t, y_{t-1}, u_t) = 0$$</p>

<h2>What does Dynare do?</h2>

<p>The majority of introductory examples only use Dynare to solve the model and run some simple simulations. In addition to being able to solve the model, Dynare is also capable of doing Bayesian estimation of the parameters that make up the model by feeding in data.</p>

<h3>Solves and simulates the Model</h3>

<p>Dynare takes this system of equations (and the given parameter values) and solves them using perturbation methods. One of the outputs of the solution is a law of motion for all of the variables in the economy -- i.e. one can write something along the lines of</p>

<p>$$y_{t+1} = F(y_t, u_{t+1})$$</p>

<p>This law of motion allows you to generate model analogues of the data that you are interested in -- i.e. capital, labor, consumption etc...</p>

<h3>Estimates the model</h3>

<p>Once Dynare has a law of motion and has obtained simulated moments, it can compare the output of the model to data that you have provided. Dynare uses Bayesian estimation (though it is possible it does other types, but I'm not familiar with it) to estimate parameters which means that you need to provide it with a prior for each variable that you would like to estimate. It then uses a simple Metropolis Hastings algorithm to obtain estimates for the distribution over parameter values.</p>

<h2>References</h2>

<p>I would recommend you read both of the following references.</p>

<ul>
<li>Tommaso Mancini Griffoli. <em>Dynare User Guide: An introduction to the solution &amp; estimation of DSGE models</em>. 2007-2008. <a href="http://www.dynare.org/documentation-and-support/user-guide/Dynare-UserGuide-WebBeta.pdf/view">found here</a></li>
<li>Stefanie Flotho. <em>DSGE Models - solution strategies</em>. December 2009. <a href="https://www.macro.uni-freiburg.de/publications/research_flotho/dsge_models">found here</a></li>
</ul>

CC BY-SA 3.0
2015-07-16T16:00:04.093Z
Thank you for answer. So after solving the entire system we import data or data should we used in solving process?
user2991243
CC BY-SA 3.0
2015-07-16T16:03:31.903Z
Read the user guide for more information. Simplified version of what it does: 1) Begins with a set of parameter values. 2) Solves the model given those parameter values. 3) Checks how likely the outside data is given those parameter values. 4) Repeats until it finds the parameter values that are "most" likely (this is step that is simplified because it estimates them in a Bayesian way and I'm describing maximum likelihood).
cc7768
CC BY-SA 3.0
2015-07-16T15:45:52.253Z
2015-07-16T15:45:52.253Z
cc7768
<p>I'm beginner in <code>DSGE</code> models. Are they only based on simulations and approximations? Don't we have any real data-sets (for example interest rate, labor force, etc) to estimate the equations? I opened some <code>.Mod</code> files and I can only see equations, variable names and other functions. If yes, why do we have this structure in <code>DSGE</code> models and why can't we use real data-sets in these models?</p>

<dsge><dynare>
DSGE models (Dynare) are only based on simulations and approximations? (without data)
user2991243
# DSGE models (Dynare) are only based on simulations and approximations? (without data)

(Asked by: username_0 on 2015-07-16)

I'm beginner in `DSGE` models. Are they only based on simulations and approximations? Don't we have any real data-sets (for example interest rate, labor force, etc) to estimate the equations? I opened some `.Mod` files and I can only see equations, variable names and other functions. If yes, why do we have this structure in `DSGE` models and why can't we use real data-sets in these models?

**Tags:** dsge, dynare

---

## 1 answers

### Answer by username_1 on 2015-07-16. Score: 8 | Accepted answer

# Short answer

It doesn't seem like you've tried very hard to find estimation using Dynare ([google results](https://www.google.com/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=Dynare+estimation) of "Dynare estimation"). Dynare is in fact capable of doing estimation and typically people use some sort of data to estimate the parameters that govern their model.

# Longer Answer

## What is a DSGE model?

A DSGE model is a series of equations (and variables and parameters) that describe a "model" economy. Once you write everything down and take into consideration the optimizing decisions made by the agents, it is simply a system of stochastic difference (differential) equation that you can imagine writing in some form along the lines of:

$$ E\_t F(y\_{t+1}, y\_t, y\_{t-1}, u\_t) = 0$$

## What does Dynare do?

The majority of introductory examples only use Dynare to solve the model and run some simple simulations. In addition to being able to solve the model, Dynare is also capable of doing Bayesian estimation of the parameters that make up the model by feeding in data.

### Solves and simulates the Model

Dynare takes this system of equations (and the given parameter values) and solves them using perturbation methods. One of the outputs of the solution is a law of motion for all of the variables in the economy -- i.e. one can write something along the lines of

$$y\_{t+1} = F(y\_t, u\_{t+1})$$

This law of motion allows you to generate model analogues of the data that you are interested in -- i.e. capital, labor, consumption etc...

### Estimates the model

Once Dynare has a law of motion and has obtained simulated moments, it can compare the output of the model to data that you have provided. Dynare uses Bayesian estimation (though it is possible it does other types, but I'm not familiar with it) to estimate parameters which means that you need to provide it with a prior for each variable that you would like to estimate. It then uses a simple Metropolis Hastings algorithm to obtain estimates for the distribution over parameter values.

## References

I would recommend you read both of the following references.

* Tommaso Mancini Griffoli. *Dynare User Guide: An introduction to the solution & estimation of DSGE models*. 2007-2008. [found here](http://www.dynare.org/documentation-and-support/user-guide/Dynare-UserGuide-WebBeta.pdf/view)
* Stefanie Flotho. *DSGE Models - solution strategies*. December 2009. [found here](https://www.macro.uni-freiburg.de/publications/research_flotho/dsge_models)

> **Comments:**
> **username_0**: Thank you for answer. So after solving the entire system we import data or data should we used in solving process?  
> **username_1**: Read the user guide for more information. Simplified version of what it does: 1) Begins with a set of parameter values. 2) Solves the model given those parameter values. 3) Checks how likely the outside data is given those parameter values. 4) Repeats until it finds the parameter values that are "most" likely (this is step that is simplified because it estimates them in a Bayesian way and I'm describing maximum likelihood).  

---

