# Semistructural Modeling

**URL:** https://forum.dynare.org/c/stochasticsimulations/semistructural-modeling/34.md

[Latest](https://forum.dynare.org/latest.md) · [Categories](https://forum.dynare.org/categories.md)

---

## [About the Semistructural Modeling category](https://forum.dynare.org/t/about-the-semistructural-modeling-category/21558)

<div class="topic-metadata">

**Author:** [@jpfeifer](https://forum.dynare.org/u/jpfeifer)\
**Replies:** 0

</div>

This the place for posts related to semi-structural modeling.

---

## [Issue with the Response to a Positive Tariff Uncertainty Shock](https://forum.dynare.org/t/issue-with-the-response-to-a-positive-tariff-uncertainty-shock/28434)

<div class="topic-metadata">

**Author:** [@Jingjing](https://forum.dynare.org/u/Jingjing)\
**Replies:** 1\
**Last updated:** [18 August 2026 07:25 UTC](https://forum.dynare.org/t/issue-with-the-response-to-a-positive-tariff-uncertainty-shock/28434 "2026-08-18T07:25:43Z")

</div>

I’m currently working on a tariff uncertainty shock, but I’ve encountered a problem with my impulse response functions. When I impose a one-unit positive shock to tariff uncertainty, the tariff uncertainty variable itse…

---

## [Third order solution with skewed shocks](https://forum.dynare.org/t/third-order-solution-with-skewed-shocks/28306)

<div class="topic-metadata">

**Author:** [@lombard](https://forum.dynare.org/u/lombard)\
**Replies:** 4\
**Last updated:** [28 April 2026 15:40 UTC](https://forum.dynare.org/t/third-order-solution-with-skewed-shocks/28306 "2026-04-28T15:40:28Z")

</div>

Hi, I’m trying to study an economy subject to a skewed-normal shock using the “unstable-8” version of Dynare (with skew e=-0.99 in the shocks block). It occurred to me that there is not equivalent of ghs2 (a ghs3) for …

---

## [Issues replicating Chilean Ministry of Finance Semi-Structural Multivariate Filter (FMV) for Output Gap – Hessian not positive definite](https://forum.dynare.org/t/issues-replicating-chilean-ministry-of-finance-semi-structural-multivariate-filter-fmv-for-output-gap-hessian-not-positive-definite/28167)

<div class="topic-metadata">

**Author:** [@JPatriot342](https://forum.dynare.org/u/JPatriot342)\
**Replies:** 1\
**Last updated:** [13 January 2026 17:26 UTC](https://forum.dynare.org/t/issues-replicating-chilean-ministry-of-finance-semi-structural-multivariate-filter-fmv-for-output-gap-hessian-not-positive-definite/28167 "2026-01-13T17:26:20Z")

</div>

Hello everyone, I am trying to replicate the Semi-Structural Multivariate Filter (FMV) used by the Chilean Ministry of Finance to estimate the non-mining output gap, as described in official budget and technical documen…

---

## [How to get the conditional variance of variable in var\_model](https://forum.dynare.org/t/how-to-get-the-conditional-variance-of-variable-in-var-model/28132)

<div class="topic-metadata">

**Author:** [@kurama](https://forum.dynare.org/u/kurama)\
**Replies:** 1\
**Last updated:** [17 December 2025 08:06 UTC](https://forum.dynare.org/t/how-to-get-the-conditional-variance-of-variable-in-var-model/28132 "2025-12-17T08:06:00Z")

</div>

Hi, let’s say I have a standard VAR, where one of the variables is household disposable income. In my SSM I would like to use conditional variance of household disposable income as a factor in consumption target equat…

---

## [Semistructural DSGE Models](https://forum.dynare.org/t/semistructural-dsge-models/27213)

<div class="topic-metadata">

**Author:** [@guithom](https://forum.dynare.org/u/guithom)\
**Replies:** 1\
**Last updated:** [10 April 2025 19:16 UTC](https://forum.dynare.org/t/semistructural-dsge-models/27213 "2025-04-10T19:16:48Z")

</div>

Does anybody knows where can i find good examples of ready to use dynare codes for semistructural dsge models that include risk premium and a good fiscal block? Thanksin Advance!

---

## [Conditional forecast path error](https://forum.dynare.org/t/conditional-forecast-path-error/27232)

<div class="topic-metadata">

**Author:** [@rrremedio](https://forum.dynare.org/u/rrremedio)\
**Replies:** 3\
**Last updated:** [20 March 2025 16:39 UTC](https://forum.dynare.org/t/conditional-forecast-path-error/27232 "2025-03-20T16:39:29Z")

</div>

Dear all, Any guess why this conditional forecast path results in “matrix singular to machine precision” warning and no results? Interesting, I can run the model with an extended path for DL\_E variable or not exogenizi…

---

## [Can Dynare estimate this SSM model?](https://forum.dynare.org/t/can-dynare-estimate-this-ssm-model/25756)

<div class="topic-metadata">

**Author:** [@adhrneto](https://forum.dynare.org/u/adhrneto)\
**Replies:** 9\
**Last updated:** [22 October 2024 06:49 UTC](https://forum.dynare.org/t/can-dynare-estimate-this-ssm-model/25756 "2024-10-22T06:49:56Z")

</div>

Dear professors, I am a beginner in the study of New Keynesian models. I recently discovered this tool (Dynare) and I am trying to use it along with Octave. I would like to know if Dynare is capable of estimating coeff…

---

## [The deviation in the IRF appears to be much smaller than it should be](https://forum.dynare.org/t/the-deviation-in-the-irf-appears-to-be-much-smaller-than-it-should-be/26300)

<div class="topic-metadata">

**Author:** [@VERA](https://forum.dynare.org/u/VERA)\
**Replies:** 4\
**Last updated:** [23 August 2024 19:09 UTC](https://forum.dynare.org/t/the-deviation-in-the-irf-appears-to-be-much-smaller-than-it-should-be/26300 "2024-08-23T19:09:39Z")

</div>

Dear community, Here is an endogenous variable, df, in my DSGE model. Its equation is as follows: The two variables highlighted in red are endogenous variables, while the remaining ones are parameters. The shock resp…

---

## [\`var\_expectation\` and \`aggregate\` function clarification](https://forum.dynare.org/t/var-expectation-and-aggregate-function-clarification/25241)

<div class="topic-metadata">

**Author:** [@sikang](https://forum.dynare.org/u/sikang)\
**Replies:** 2\
**Last updated:** [7 March 2024 09:02 UTC](https://forum.dynare.org/t/var-expectation-and-aggregate-function-clarification/25241 "2024-03-07T09:02:26Z")

</div>

1. Semi-structural model, VAR expectation part According to the manual part 4.25.2, if I set the options of horizon = a:b and time\_shift = tau as a = 0, b = 1 and tau = 0, the result I get would be var\_expectation(y…

---

## [Semi Structural models in Dynare](https://forum.dynare.org/t/semi-structural-models-in-dynare/24754)

<div class="topic-metadata">

**Author:** [@s0840389](https://forum.dynare.org/u/s0840389)\
**Replies:** 6\
**Last updated:** [30 January 2024 21:46 UTC](https://forum.dynare.org/t/semi-structural-models-in-dynare/24754 "2024-01-30T21:46:30Z")

</div>

Hello. I am working at a central bank that is developing a semi-structural model following ECB-Base closely. We have developed some PAC blocks in matlab but recently noticed the SSM sections in the Dynare documentation …

---

## [Colinear relationships](https://forum.dynare.org/t/colinear-relationships/22612)

<div class="topic-metadata">

**Author:** [@NourSS](https://forum.dynare.org/u/NourSS)\
**Replies:** 1\
**Last updated:** [18 June 2023 12:55 UTC](https://forum.dynare.org/t/colinear-relationships/22612 "2023-06-18T12:55:49Z")

</div>

Dynare.mod (6.4 KB) Dear professor, and colleagues I am working on SOE with informality, and I am facing the following error: ""There are 1 eigenvalue(s) larger than 1 in modulus for 1 forward-looking variable(s) Th…

---

## [Why one of my residulas is same before and after running it?](https://forum.dynare.org/t/why-one-of-my-residulas-is-same-before-and-after-running-it/21886)

<div class="topic-metadata">

**Author:** [@Nancy1](https://forum.dynare.org/u/Nancy1)\
**Replies:** 1\
**Last updated:** [5 February 2023 19:41 UTC](https://forum.dynare.org/t/why-one-of-my-residulas-is-same-before-and-after-running-it/21886 "2023-02-05T19:41:59Z")

</div>

Hi all, I am trying to simulate my model. I have 16 equations, and one residual of them is the same before and after finding steady command. I put resid command before and after steady command. One resid value given in…

---

## [The steady state contains NaN or Inf, when introducing level variable in model](https://forum.dynare.org/t/the-steady-state-contains-nan-or-inf-when-introducing-level-variable-in-model/21821)

<div class="topic-metadata">

**Author:** [@Mikheil](https://forum.dynare.org/u/Mikheil)\
**Replies:** 4\
**Last updated:** [25 January 2023 13:53 UTC](https://forum.dynare.org/t/the-steady-state-contains-nan-or-inf-when-introducing-level-variable-in-model/21821 "2023-01-25T13:53:48Z")

</div>

Hello, I have a working model, in which I try to introduce level of variables with identity. For example writing log trend of real exchange rate as sum of last period log of real exchange rate plus it’s growth rate in t…

---

## [Blanchard Kahn conditions are not satisfied: indeterminacy due to rank failure - for semi structural model](https://forum.dynare.org/t/blanchard-kahn-conditions-are-not-satisfied-indeterminacy-due-to-rank-failure-for-semi-structural-model/21786)

<div class="topic-metadata">

**Author:** [@Mikheil](https://forum.dynare.org/u/Mikheil)\
**Replies:** 2\
**Last updated:** [15 January 2023 20:17 UTC](https://forum.dynare.org/t/blanchard-kahn-conditions-are-not-satisfied-indeterminacy-due-to-rank-failure-for-semi-structural-model/21786 "2023-01-15T20:17:00Z")

</div>

Hello, I am running into the following error while trying to get IRF from semi-structural new-Keynesian model. Everything seems fine into the equations, it says that There are 5 eigenvalue(s) larger than 1 in modulus …

---

## [Multiple PAC equations and satellite VAR models in a single MOD file](https://forum.dynare.org/t/multiple-pac-equations-and-satellite-var-models-in-a-single-mod-file/21635)

<div class="topic-metadata">

**Author:** [@sikang](https://forum.dynare.org/u/sikang)\
**Replies:** 1\
**Last updated:** [13 December 2022 17:18 UTC](https://forum.dynare.org/t/multiple-pac-equations-and-satellite-var-models-in-a-single-mod-file/21635 "2022-12-13T17:18:15Z")

</div>

Hi, I am trying to aggregate each block of the semi-structural model, where each block is estimated separately. In each block, it contains a PAC equation and its associated satellite VAR model composed with core variab…

---

## [Iterative OLS for PAC equation](https://forum.dynare.org/t/iterative-ols-for-pac-equation/21379)

<div class="topic-metadata">

**Author:** [@sikang](https://forum.dynare.org/u/sikang)\
**Replies:** 4\
**Last updated:** [12 December 2022 06:46 UTC](https://forum.dynare.org/t/iterative-ols-for-pac-equation/21379 "2022-12-12T06:46:58Z")

</div>

Hi, I am constructing a FRB/US type semi-structure model and using DYNARE to estimate a PAC equation. PAC\_EST.mod (1.9 KB) However, I found that the iterative OLS method is only applicable with trend\_component\_model, bu…
