# Gap-Trend model

**URL:** <https://forum.dynare.org/t/gap-trend-model/27950>\
**Category:** ML/Bayesian estimation\
**Created:** [2 September 2025 19:47 UTC](https://forum.dynare.org/t/gap-trend-model/27950 "2025-09-02T19:47:16Z")\
**Posts on this page:** 4\
**Page:** 2

<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 October 2025 13:24 UTC](https://forum.dynare.org/t/gap-trend-model/27950/22 "2025-10-20T13:24:07Z")

</div>

What do you mean with “deviation”? IRFs in Dynare are always relative to a pre-shock concept.

---

<div class="post-metadata">

**Author:** ![Alia](https://forum.dynare.org/user_avatar/forum.dynare.org/alia/32/21413_2.png) [@Alia](https://forum.dynare.org/u/Alia)\
**Post date:** [20 October 2025 14:19 UTC](https://forum.dynare.org/t/gap-trend-model/27950/23 "2025-10-20T14:19:53Z")

</div>

I mean by deviation the difference relative to steady state (C - C\_ss).

From your response prof , I infer that in the case where variables in FOC are deviations from state (as is log-linearization of NK models) i.e c = C - C\_ss and the case where variable are in logarithmic scale then IRF in these two cases is percentage deviation and this applies for both linear or Non linear models. Is my understanding correct ?

---

<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 October 2025 20:01 UTC](https://forum.dynare.org/t/gap-trend-model/27950/24 "2025-10-20T20:01:24Z")

</div>

The type of model does not matter. Ultimately, the only question is whether the model variables are recentered or not. With manually linearized models, they are typically recentered to be mean 0 and are measured in (log)-deviations from steady state.

---

<div class="post-metadata">

**Author:** ![Alia](https://forum.dynare.org/user_avatar/forum.dynare.org/alia/32/21413_2.png) [@Alia](https://forum.dynare.org/u/Alia)\
**Post date:** [20 October 2025 21:56 UTC](https://forum.dynare.org/t/gap-trend-model/27950/26 "2025-10-20T21:56:12Z")

</div>

Thanks a million prof.

[Previous page](https://forum.dynare.org/t/gap-trend-model/27950.md?page=1)
