# DSGE-Var

**URL:** <https://forum.dynare.org/t/dsge-var/2487>\
**Category:** DSGE-VAR\
**Created:** [23 April 2012 15:03 UTC](https://forum.dynare.org/t/dsge-var/2487 "2012-04-23T15:03:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rstokrotka](https://forum.dynare.org/letter_avatar_proxy/v4/letter/r/85f322/32.png) [@rstokrotka](https://forum.dynare.org/u/rstokrotka)\
**Post date:** [23 April 2012 15:03 UTC](https://forum.dynare.org/t/dsge-var/2487/1 "2012-04-23T15:03:38Z")

</div>

Hi, when estimating dsge-var: when and where do you put the real data? The file simul\_hybrid.mod generates artificial data, from (I guess) the posterior means of parameters, their values are given at the beginning(?). In the dsgevar\_forward\_estimated\_lambda.mod are used simulated data. The posteriors for DSGEVars (N-IW) depend on the real data. So where should they be used.  
Best regards  
Renata

---

<div class="post-metadata">

**Author:** ![stepan-a](https://forum.dynare.org/user_avatar/forum.dynare.org/stepan-a/32/6652_2.png) [@stepan-a](https://forum.dynare.org/u/stepan-a)\
**Post date:** [2 August 2017 13:25 UTC](https://forum.dynare.org/t/dsge-var/2487/2 "2017-08-02T13:25:42Z")

</div>

Hi, In these files we use artificial data to illustrate how the DSGE-VAR estimation works. You can safely replace the artificial sample by ``true’’ data.This has nothing to do with the dummy variable approach of the Bayesian VAR estimation. Actually the DSGE-VAR estimation is not implemented with dummy variables, which would introduce noise in the estimation, but with the population moments appearing in the expression of the ML estimator of the VAR model, as explained in the paper by Schorfheide and Del Negro (_Priors from General Equilibrium Models for VARS_, in International Economic Review, 2004).

Best,  
Stéphane.
