# Conditinal forecast

**URL:** <https://forum.dynare.org/t/conditinal-forecast/26336>\
**Category:** Stochastic simulations\
**Created:** [28 August 2024 21:23 UTC](https://forum.dynare.org/t/conditinal-forecast/26336 "2024-08-28T21:23:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lasha](https://forum.dynare.org/letter_avatar_proxy/v4/letter/l/e480ec/32.png) [@Lasha](https://forum.dynare.org/u/Lasha)\
**Post date:** [28 August 2024 21:23 UTC](https://forum.dynare.org/t/conditinal-forecast/26336/1 "2024-08-28T21:23:20Z")

</div>

Hello,

I have some problem using conditional\_forecast, when i specify path for endogenous variable it works and correct forecasted values are produced. however, I also, would like to add controlled path for a shock, which is decleared as  
varexo\_det , the problem is that the conditional forecast is absolutly insensitive to the path of the varexo\_det shock. I am atteching the mod file that calls other mode files (decalaration of model variables, equations, parameters, histvalues and path for controled vars), unfortunaly, i can not share all of the files, becouse it quite large. but I think that the problem must me somewhere in the master file runmod.mod , if any. Could anyone has some recomendation how to combaine the scenario for some shock (defined as varexo\_det) into conditional forecast. also,  
[runmod.mod](https://forum.dynare.org/uploads/short-url/kGzb8sTGbQIgW441I9Vjryf535f.mod) (2.2 KB)  
could you see any obvious problem with the file?

---

<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:** [29 August 2024 06:41 UTC](https://forum.dynare.org/t/conditinal-forecast/26336/2 "2024-08-29T06:41:28Z")

</div>

`varexo_det` is not compatible with `conditional_forecast`.

---

<div class="post-metadata">

**Author:** ![Lasha](https://forum.dynare.org/letter_avatar_proxy/v4/letter/l/e480ec/32.png) [@Lasha](https://forum.dynare.org/u/Lasha)\
**Post date:** [29 August 2024 07:25 UTC](https://forum.dynare.org/t/conditinal-forecast/26336/3 "2024-08-29T07:25:31Z")

</div>

thanks for answering. Could you recommend any alternative for setting path for variables (hard tunes) and aslo, setting path for some shocks (soft tunes) simultanously in dynare?
