# Observable variables in Dynare!

**URL:** <https://forum.dynare.org/t/observable-variables-in-dynare/4597>\
**Category:** Dynare help (legacy posts)\
**Created:** [2 April 2015 11:16 UTC](https://forum.dynare.org/t/observable-variables-in-dynare/4597 "2015-04-02T11:16:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Glm](https://forum.dynare.org/letter_avatar_proxy/v4/letter/g/b19c9b/32.png) [@Glm](https://forum.dynare.org/u/Glm)\
**Post date:** [2 April 2015 11:16 UTC](https://forum.dynare.org/t/observable-variables-in-dynare/4597/1 "2015-04-02T11:16:55Z")

</div>

I need some advice regarding typing observable variables into the data

When looking at employment in the US from 1947 to 2004 there is an upward trend and I normalized that variable to one and entered it in Dynare like this.

n=n\_obs\*n\_ss;

n is employment in the model and n\_ss is steady state employment in the model which means that when n\_obs is normalized to one, n=n\_obs\*n\_ss holds. However, since n\_obs has an upward trend I am instead considering to redefine a new observed variable like dn\_obs=n\_obs/n\_obs(-1) and enter

dn\_obs=gamma\_n\*n/n(-1)

gamma\_n is the average upward trend you see in the data. On average gamma\_n=1.0005 for quarterly data.

So any advice in this matter on what I should do?

---

<div class="post-metadata">

**Author:** ![jpfeifer](https://forum.dynare.org/user_avatar/forum.dynare.org/jpfeifer/32/5044_2.png) [@jpfeifer](https://forum.dynare.org/u/jpfeifer)\
**Post date:** [2 April 2015 18:18 UTC](https://forum.dynare.org/t/observable-variables-in-dynare/4597/2 "2015-04-02T18:18:05Z")

</div>

The answer depends on what you are trying to achieve. It seems to me that you are considering employment and not employment per population. You somehow need to consider the increase in population. If you detrended your other variables, you need to detrend employment as well. But note that you should only subtract the population trend, not the trend of output and TFP.

---

<div class="post-metadata">

**Author:** ![Glm](https://forum.dynare.org/letter_avatar_proxy/v4/letter/g/b19c9b/32.png) [@Glm](https://forum.dynare.org/u/Glm)\
**Post date:** [5 April 2015 13:17 UTC](https://forum.dynare.org/t/observable-variables-in-dynare/4597/3 "2015-04-05T13:17:50Z")

</div>

The varaible n\_obs is defined as (Nonfarm Business Sector: Employment)/(Civilian Noninstitutional Population) between 1947 and 2004. So it actually is employment per population. The upward trend seems to start somewhere at 1970.

You don’t see the similar pattern when looking at US data?

---

<div class="post-metadata">

**Author:** ![jpfeifer](https://forum.dynare.org/user_avatar/forum.dynare.org/jpfeifer/32/5044_2.png) [@jpfeifer](https://forum.dynare.org/u/jpfeifer)\
**Post date:** [6 April 2015 20:39 UTC](https://forum.dynare.org/t/observable-variables-in-dynare/4597/4 "2015-04-06T20:39:50Z")

</div>

That must be the increase in female labor force participation.
