# Dealing with bad/unobservable data

**URL:** <https://forum.dynare.org/t/dealing-with-bad-unobservable-data/1254>\
**Category:** ML/Bayesian estimation\
**Created:** [3 December 2009 09:01 UTC](https://forum.dynare.org/t/dealing-with-bad-unobservable-data/1254 "2009-12-03T09:01:01Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pert](https://forum.dynare.org/letter_avatar_proxy/v4/letter/p/df705f/32.png) [@Pert](https://forum.dynare.org/u/Pert)\
**Post date:** [3 December 2009 09:01 UTC](https://forum.dynare.org/t/dealing-with-bad-unobservable-data/1254/1 "2009-12-03T09:01:01Z")

</div>

Sorry, I don’t know if my question goes here or in “Dynare Help”, so I posted in both. Here’s my question, please help, thank you! :

How does one deal with bad/unobservable data? For example, in Smets-Wouters (2003), the authors said “as we do not have good measures of the area-wide capital stock, the value of capital or the rental rate on capital, we will assume these variables are not observed”. Similarly, my problems is that I have a bad real wage data, which I want to treat as unobservable. So how does one goes about that? How does one estimate/do it in dynare? any reference/readings you can recommend _on the actual estimation implementation_ (I know in principle it is possible in Bayesian estimation, but my question goes more on actual (Dynare) estimation, step by step.)

Thank you in advance for any help/recommendation!

---

<div class="post-metadata">

**Author:** ![pakocica](https://forum.dynare.org/letter_avatar_proxy/v4/letter/p/9f8e36/32.png) [@pakocica](https://forum.dynare.org/u/pakocica)\
**Post date:** [12 December 2009 08:53 UTC](https://forum.dynare.org/t/dealing-with-bad-unobservable-data/1254/2 "2009-12-12T08:53:07Z")

</div>

Dear Pert,

what if you specify the list of observable variables in the Dynare command “varobs” and exclude the area-wide capital stock and real wage there. Does it work in your case?

Pavel

---

<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:** [13 May 2010 09:07 UTC](https://forum.dynare.org/t/dealing-with-bad-unobservable-data/1254/3 "2010-05-13T09:07:06Z")

</div>

You can also add a measurement error (possibly autoregressive) on real wage if you believe that the theoretical variable does not match exactly its empirical counterpart. Even if the theoretical real wage is not fully consistent with the observed real wage you can benefit from the use of this information. To do this you just have to add an equation in the **model** block:

```auto
ObservedRealWage = TheoreticalRealWage + MeasurementError ;
```

where MeasurementError is an exogenous variable, and to declare ObservedRealWage as an observed variable (with **varobs** ).

Best Stéphane.

---

<div class="post-metadata">

**Author:** ![GilBurt](https://forum.dynare.org/letter_avatar_proxy/v4/letter/g/a87d85/32.png) [@GilBurt](https://forum.dynare.org/u/GilBurt)\
**Post date:** [24 October 2011 11:57 UTC](https://forum.dynare.org/t/dealing-with-bad-unobservable-data/1254/4 "2011-10-24T11:57:51Z")

</div>

Great discussion. Even if the theoretical real wage is not fully consistent with the observed real wage you can benefit from the use of this information.

---

<div class="post-metadata">

**Author:** ![tyrellwatson](https://forum.dynare.org/letter_avatar_proxy/v4/letter/t/258eb7/32.png) [@tyrellwatson](https://forum.dynare.org/u/tyrellwatson)\
**Post date:** [20 November 2013 06:33 UTC](https://forum.dynare.org/t/dealing-with-bad-unobservable-data/1254/5 "2013-11-20T06:33:35Z")

</div>

Thanks for sharing useful information.

---

<div class="post-metadata">

**Author:** ![Hope59](https://forum.dynare.org/letter_avatar_proxy/v4/letter/h/df788c/32.png) [@Hope59](https://forum.dynare.org/u/Hope59)\
**Post date:** [4 February 2014 04:57 UTC](https://forum.dynare.org/t/dealing-with-bad-unobservable-data/1254/6 "2014-02-04T04:57:14Z")

</div>

I’ve been researching this topic for a few hours and found this post pretty helpful. Thanks for compiling the info in one spot.
