# Observable unit root

**URL:** <https://forum.dynare.org/t/observable-unit-root/28508>\
**Category:** Estimation\
**Created:** [19 November 2026 23:26 UTC](https://forum.dynare.org/t/observable-unit-root/28508 "2026-11-19T23:26:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Badras](https://forum.dynare.org/user_avatar/forum.dynare.org/badras/32/16654_2.png) [@Badras](https://forum.dynare.org/u/Badras)\
**Post date:** [19 November 2026 23:26 UTC](https://forum.dynare.org/t/observable-unit-root/28508/1 "2026-11-19T23:26:05Z")

</div>

Hi Prof,

I am a bit confused regarding observables (raw data) that are non-stationary in stationary versus non-stationary models.

Case 1. When the model bloc has a unit root equation such as the definition of inflation in trend and gap model:

\pi\_t = p\_t - p\_{t-1}

where p\_t = log(P\_t)

Then using p\_t as observable (despite being unit root process) is safe as both the observable and the model variables matches. The only thing that we have to take care of is to override the steady state computation using any arbitrary value since the model is a linear model. (We have already discussed this in a previous post)

Case 2: If the model is a NK model which is entered in dynare after log-linearization and no unit root equation is present in the model bloc but an observable (price per se) exhibits a stochastic trend. In this case, \*\*if I add an auxiliary equation \pi\_t = p\_t - p\_{t-1} and use the observable p\_t would suffice \*\* ?

This is because I have seen in some posts that some users are adding dp{obs\_t} = p\_t - p\_{t-1} and using the demeaned log difference of the price level P (i.e: stripping the trend from dp\_obs ) **and I think these two different ways of dealing with a non-stationary observable of case 2 are equivalent . Do you agree ?**

Sorry for this basic question but wanted to double check.

---

<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:** [20 November 2026 13:31 UTC](https://forum.dynare.org/t/observable-unit-root/28508/2 "2026-11-20T13:31:56Z")

</div>

No, those two are not equivalent. A growth rate of prices will not contain any information on the initial price level, while observing prices will have that.
