# Replication Attempts

**URL:** https://forum.dynare.org/c/generalmodeling/replication/27.md

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

---

## [About the Replication Attempts category](https://forum.dynare.org/t/about-the-replication-attempts-category/10503)

<div class="topic-metadata">

**Author:** [@jpfeifer](https://forum.dynare.org/u/jpfeifer)\
**Replies:** 1\
**Last updated:** [20 May 2024 22:42 UTC](https://forum.dynare.org/t/about-the-replication-attempts-category/10503 "2024-05-20T22:42:05Z")

</div>

The place for posting replication attempts and asking for help regarding replications.

---

## [Replication file in Dynare](https://forum.dynare.org/t/replication-file-in-dynare/28458)

<div class="topic-metadata">

**Author:** [@Badras](https://forum.dynare.org/u/Badras)\
**Replies:** 4\
**Last updated:** [30 August 2026 23:43 UTC](https://forum.dynare.org/t/replication-file-in-dynare/28458 "2026-08-30T23:43:27Z")

</div>

Dear Prof. @jpfeifer Is it possible to access your paper’s Dynare code for “Mr. Keynes meets the Classics: Government Spending and the Real Exchange Rate” (published in the Journal of Political Economy, 2024). The jou…

---

## [Gerali et al Credit and banking](https://forum.dynare.org/t/gerali-et-al-credit-and-banking/3727)

<div class="topic-metadata">

**Author:** [@maa14](https://forum.dynare.org/u/maa14)\
**Replies:** 30\
**Last updated:** [7 July 2026 06:24 UTC](https://forum.dynare.org/t/gerali-et-al-credit-and-banking/3727 "2026-07-07T06:24:13Z")

</div>

Hi, Has anyone worked in the Gerali, Neri, Sessa, Signoretti JMCB 2010 paper “Credit and banking in a DSGE model of the Euro Area”? Any idea from where to get the source code? Thanks!!

---

## [Equity premium (asset pricing) in DSGE model](https://forum.dynare.org/t/equity-premium-asset-pricing-in-dsge-model/14090)

<div class="topic-metadata">

**Author:** [@budoka](https://forum.dynare.org/u/budoka)\
**Replies:** 7\
**Last updated:** [21 April 2026 12:02 UTC](https://forum.dynare.org/t/equity-premium-asset-pricing-in-dsge-model/14090 "2026-04-21T12:02:31Z")

</div>

Dear all, I’d like to know how to calculate equity premium in DSGE models. I have the same problem that Cybueh posted before. My understanding is as same as the following. Could you please comment and complement my i…

---

## [What is the difference and reason of the model when the loan income takes Rt-1\*Dt-1 or Rt\*Dt-1 when setting the banker part in Iacoviello(2014)？](https://forum.dynare.org/t/what-is-the-difference-and-reason-of-the-model-when-the-loan-income-takes-rt-1-dt-1-or-rt-dt-1-when-setting-the-banker-part-in-iacoviello-2014/21067)

<div class="topic-metadata">

**Author:** [@wenzhuo](https://forum.dynare.org/u/wenzhuo)\
**Replies:** 15\
**Last updated:** [29 January 2026 14:59 UTC](https://forum.dynare.org/t/what-is-the-difference-and-reason-of-the-model-when-the-loan-income-takes-rt-1-dt-1-or-rt-dt-1-when-setting-the-banker-part-in-iacoviello-2014/21067 "2026-01-29T14:59:04Z")

</div>

Hi， In the sixth page of Iacoviello (2014), when setting the banking sector, the current deposit income paid by banks to residents is R\_{H,t-1}D\_{t-1}, while the current loan income obtained by banks from enterprises is…

---

## [Issues with replication of Erceg & Levin (2003)](https://forum.dynare.org/t/issues-with-replication-of-erceg-levin-2003/28174)

<div class="topic-metadata">

**Author:** [@equinterosh](https://forum.dynare.org/u/equinterosh)\
**Replies:** 4\
**Last updated:** [25 January 2026 19:38 UTC](https://forum.dynare.org/t/issues-with-replication-of-erceg-levin-2003/28174 "2026-01-25T19:38:54Z")

</div>

Dear community! Ive been working on replicating the model of Erceg & Levin (2003) for a while now with no success. The core of the programming problem is given by their inflation targeting scheme, composed of 4 equatio…

---

## [Issues replicating Galí (2007) (Heterogenous agents & Government spending)](https://forum.dynare.org/t/issues-replicating-gali-2007-heterogenous-agents-government-spending/17671)

<div class="topic-metadata">

**Author:** [@LetThereBeQE](https://forum.dynare.org/u/LetThereBeQE)\
**Replies:** 27\
**Last updated:** [16 January 2026 12:26 UTC](https://forum.dynare.org/t/issues-replicating-gali-2007-heterogenous-agents-government-spending/17671 "2026-01-16T12:26:51Z")

</div>

Dear all, We are trying to replicate the 2007 paper by Galí, Vallés & López-Salido, “Understanding the effects of government consumption on consumption”, which seeks to model the possible crowding-in effects from govern…

---

## [Reproducing Annicchiarico &amp; Di Dio (2015, JEEM) Environmental DSGE Model issue](https://forum.dynare.org/t/reproducing-annicchiarico-amp-di-dio-2015-jeem-environmental-dsge-model-issue/28131)

<div class="topic-metadata">

**Author:** [@Zhangweiyi](https://forum.dynare.org/u/Zhangweiyi)\
**Replies:** 6\
**Last updated:** [10 January 2026 07:08 UTC](https://forum.dynare.org/t/reproducing-annicchiarico-amp-di-dio-2015-jeem-environmental-dsge-model-issue/28131 "2026-01-10T07:08:11Z")

</div>

I am trying to replicate the results of the paper “Environmental policy and macroeconomic dynamics in a New Keynesian model” (Barbara Annicchiarico & Fabio Di Dio, 2015). I have implemented the model in Dynare and can …

---

## [Attempt to replicate Smets and Wouters (2024)](https://forum.dynare.org/t/attempt-to-replicate-smets-and-wouters-2024/28158)

<div class="topic-metadata">

**Author:** [@AChadu](https://forum.dynare.org/u/AChadu)\
**Replies:** 0\
**Last updated:** [5 January 2026 08:04 UTC](https://forum.dynare.org/t/attempt-to-replicate-smets-and-wouters-2024/28158 "2026-01-05T08:04:47Z")

</div>

Hi everyone, I’m trying to replicate the Smets & Wouters (2024) model in Dynare, with the goal of later adapting it to Brazil. Before making any modifications, I want to reproduce the original model as closely as possib…

---

## [Effects of government spending shocks with interest rate peg](https://forum.dynare.org/t/effects-of-government-spending-shocks-with-interest-rate-peg/28143)

<div class="topic-metadata">

**Author:** [@ramani](https://forum.dynare.org/u/ramani)\
**Replies:** 0\
**Last updated:** [23 December 2025 21:59 UTC](https://forum.dynare.org/t/effects-of-government-spending-shocks-with-interest-rate-peg/28143 "2025-12-23T21:59:11Z")

</div>

Hello, I am currently trying to replicate Sims and Wolff (2018) model published in IER who estimate government expenditure multipliers. In one of the scenario, they calculate multipliers under interest rate peg (nomi…

---

## [Seeking code for NK\_GMAS25ppi](https://forum.dynare.org/t/seeking-code-for-nk-gmas25ppi/28133)

<div class="topic-metadata">

**Author:** [@VinayG](https://forum.dynare.org/u/VinayG)\
**Replies:** 2\
**Last updated:** [16 December 2025 13:22 UTC](https://forum.dynare.org/t/seeking-code-for-nk-gmas25ppi/28133 "2025-12-16T13:22:23Z")

</div>

Dear community, I am working on a topic to explore the effects of section 232 US tariffs on housing markets in US and potential implications for monetary policy. I just came across that MMB recently release a new versio…

---

## [Hasnu Dalgic Paper IRFS (thir order approximation)](https://forum.dynare.org/t/hasnu-dalgic-paper-irfs-thir-order-approximation/28108)

<div class="topic-metadata">

**Author:** [@Josuecardenass12](https://forum.dynare.org/u/Josuecardenass12)\
**Replies:** 9\
**Last updated:** [27 November 2025 12:12 UTC](https://forum.dynare.org/t/hasnu-dalgic-paper-irfs-thir-order-approximation/28108 "2025-11-27T12:12:29Z")

</div>

i need some help. I was trying to replicate the Hasnu dalgic ‘s paper Financial dollarization in emerging economies: an insurance arrangement, and I didnt get the steady state. In the solution, Dalgic wrote that he used …

---

## [Help with Dynare Code for "Can Structural Reforms Help Europe?"](https://forum.dynare.org/t/help-with-dynare-code-for-can-structural-reforms-help-europe/28112)

<div class="topic-metadata">

**Author:** [@RyanC](https://forum.dynare.org/u/RyanC)\
**Replies:** 0\
**Last updated:** [26 November 2025 14:01 UTC](https://forum.dynare.org/t/help-with-dynare-code-for-can-structural-reforms-help-europe/28112 "2025-11-26T14:01:19Z")

</div>

I encountered an issue where the number of variables doesn’t match the number of equations while trying to replicate this paper. The author hasn’t responded to my email requesting the code. Does anyone have the code for …

---

## [GMM Estimation of Aguiar & Gopinath (2007) - HP-Filtered Moments with Detrended Model](https://forum.dynare.org/t/gmm-estimation-of-aguiar-gopinath-2007-hp-filtered-moments-with-detrended-model/28090)

<div class="topic-metadata">

**Author:** [@Sarv1926](https://forum.dynare.org/u/Sarv1926)\
**Replies:** 1\
**Last updated:** [20 November 2025 13:11 UTC](https://forum.dynare.org/t/gmm-estimation-of-aguiar-gopinath-2007-hp-filtered-moments-with-detrended-model/28090 "2025-11-20T13:11:54Z")

</div>

Dear Professor, I am attempting to replicate the estimation procedure from Aguiar & Gopinath (2007) “Emerging Market Business Cycles: The Cycle Is the Trend” but I’m uncertain about the correct approach for GMM estimati…

---

## [ITSKHOKI and MUKHIN (2011): Exchange rate disconnect in genral equilibrium](https://forum.dynare.org/t/itskhoki-and-mukhin-2011-exchange-rate-disconnect-in-genral-equilibrium/28086)

<div class="topic-metadata">

**Author:** [@MaiaJP](https://forum.dynare.org/u/MaiaJP)\
**Replies:** 0\
**Last updated:** [10 November 2025 05:59 UTC](https://forum.dynare.org/t/itskhoki-and-mukhin-2011-exchange-rate-disconnect-in-genral-equilibrium/28086 "2025-11-10T05:59:57Z")

</div>

Does anyone have a dynare version of the replication code provided at Itskhoki website? https://itskhoki.com/materials/disconnect.m

---

## [UK-Estimated Smets-Wouters (2007) Model](https://forum.dynare.org/t/uk-estimated-smets-wouters-2007-model/28083)

<div class="topic-metadata">

**Author:** [@enginkara](https://forum.dynare.org/u/enginkara)\
**Replies:** 0\
**Last updated:** [9 November 2025 16:15 UTC](https://forum.dynare.org/t/uk-estimated-smets-wouters-2007-model/28083 "2025-11-09T16:15:30Z")

</div>

Has anyone estimated (or have code for) a Smets-Wouters style model for UK data?

---

## [Infinit and Finite Sum Equations](https://forum.dynare.org/t/infinit-and-finite-sum-equations/27852)

<div class="topic-metadata">

**Author:** [@Badras](https://forum.dynare.org/u/Badras)\
**Replies:** 8\
**Last updated:** [15 October 2025 23:08 UTC](https://forum.dynare.org/t/infinit-and-finite-sum-equations/27852 "2025-10-15T23:08:17Z")

</div>

Dear Prof @jpfeifer Apologies in advance for deriving the equation here, but the question is a bit involved. I am trying again to replicate Mendoza (2002) Sudden Stop model using his original paper, where one of the FO…

---

## [Replication - Uncertainty Shock - Problem](https://forum.dynare.org/t/replication-uncertainty-shock-problem/19347)

<div class="topic-metadata">

**Author:** [@new399](https://forum.dynare.org/u/new399)\
**Replies:** 9\
**Last updated:** [11 September 2025 18:53 UTC](https://forum.dynare.org/t/replication-uncertainty-shock-problem/19347 "2025-09-11T18:53:07Z")

</div>

Hi, I was trying to replicate some results from Leduc&Liu (2016) “Uncertainty shocks are aggregate demand shocks”. The attached “ll\_dynare.mod” is the modeling. My test showed that it successfully gave the results for …

---

## [Problem with Blanchard and Kahn condition - Rank condition isn't verified](https://forum.dynare.org/t/problem-with-blanchard-and-kahn-condition-rank-condition-isnt-verified/27907)

<div class="topic-metadata">

**Author:** [@Aston](https://forum.dynare.org/u/Aston)\
**Replies:** 6\
**Last updated:** [11 September 2025 09:57 UTC](https://forum.dynare.org/t/problem-with-blanchard-and-kahn-condition-rank-condition-isnt-verified/27907 "2025-09-11T09:57:46Z")

</div>

Hello together, currently I am writing about the paper “A Fiscal Theory of Persistent Inflation” from Bianchi, Faccini and Melosi (2023) they create a model with partially unfunded debt so that a monetary-led and fiscal…

---

## [Gertler/Kiyotaki/Prestipino (2016) Baseline Model](https://forum.dynare.org/t/gertler-kiyotaki-prestipino-2016-baseline-model/5583)

<div class="topic-metadata">

**Author:** [@Stefgeb](https://forum.dynare.org/u/Stefgeb)\
**Replies:** 10\
**Last updated:** [31 August 2025 09:14 UTC](https://forum.dynare.org/t/gertler-kiyotaki-prestipino-2016-baseline-model/5583 "2025-08-31T09:14:51Z")

</div>

Hi everyone, I am currently trying to replicate the baseline version of the 2-bank model in the Handbook of Macroeconomics chapter “Wholesale Banking and Bank Runs in Macroeconomic Modelling of Financial Crises” By Gert…

---

## [Question(s) on Cogley-Primiceri-Sargent (2010) replication](https://forum.dynare.org/t/question-s-on-cogley-primiceri-sargent-2010-replication/22615)

<div class="topic-metadata">

**Author:** [@sadke459](https://forum.dynare.org/u/sadke459)\
**Replies:** 3\
**Last updated:** [21 June 2023 15:14 UTC](https://forum.dynare.org/t/question-s-on-cogley-primiceri-sargent-2010-replication/22615 "2023-06-21T15:14:09Z")

</div>

Hi all, I’m currently working on a replication using the model presented by Cogley et al. 2010. The model code comes from the US\_CPS10 mod file on the MMB-rep github repo. I’m quite new to Dynare, and as such I was hop…

---

## [Indeterminacy in DSGE model à la Galì(2007)](https://forum.dynare.org/t/indeterminacy-in-dsge-model-a-la-gali-2007/27626)

<div class="topic-metadata">

**Author:** [@Mattia\_Amato](https://forum.dynare.org/u/Mattia_Amato)\
**Replies:** 3\
**Last updated:** [22 May 2025 06:42 UTC](https://forum.dynare.org/t/indeterminacy-in-dsge-model-a-la-gali-2007/27626 "2025-05-22T06:42:27Z")

</div>

Hello everyone. I’d like to ask you some clarifications about a replication that I try to set up The model is a New Keynesian type of Galì Valles and Lopez-Salido, with rule-of-thumb consumers. I trying to use a non-li…

---

## [Uribe & Yue (2003)](https://forum.dynare.org/t/uribe-yue-2003/27598)

<div class="topic-metadata">

**Author:** [@Mati1999](https://forum.dynare.org/u/Mati1999)\
**Replies:** 5\
**Last updated:** [19 May 2025 08:57 UTC](https://forum.dynare.org/t/uribe-yue-2003/27598 "2025-05-19T08:57:22Z")

</div>

Hello Guys! I have been working on translating his matlab code Uribe & Yue (2003) (posted on his personal page) to dynare. However I got this error: \*Found 24 equation(s). \* \*Evaluating expressions… \* \*Computing sta…

---

## [Problem with Chun Chang, Zheng Liu and Mark Spiegel(2015)](https://forum.dynare.org/t/problem-with-chun-chang-zheng-liu-and-mark-spiegel-2015/27532)

<div class="topic-metadata">

**Author:** [@Jia](https://forum.dynare.org/u/Jia)\
**Replies:** 2\
**Last updated:** [8 May 2025 13:30 UTC](https://forum.dynare.org/t/problem-with-chun-chang-zheng-liu-and-mark-spiegel-2015/27532 "2025-05-08T13:30:47Z")

</div>

wp2012-13supplement\_replication\_files.zip (275.6 KB) Hi Professor, I downloaded the code for the paper by Chun Chang, Zheng Liu, and Mark Spiegel (2015) from their personal website. When I ran it, I encountered the fol…

---

## [OccBin with collateral constraint applies to intertemporal debt](https://forum.dynare.org/t/occbin-with-collateral-constraint-applies-to-intertemporal-debt/27511)

<div class="topic-metadata">

**Author:** [@Victory10](https://forum.dynare.org/u/Victory10)\
**Replies:** 17\
**Last updated:** [7 May 2025 13:12 UTC](https://forum.dynare.org/t/occbin-with-collateral-constraint-applies-to-intertemporal-debt/27511 "2025-05-07T13:12:42Z")

</div>

Hello! I have a question regarding the paper (Sims, 2021) https://sites.nd.edu/esims/files/2023/05/financial\_constraint\_2017.pdf, specifically about the case when a collateral constraint applies to intertemporal debt. …

---

## [Scalable Global Solution Techniques for High-Dimensional Models in Dynare](https://forum.dynare.org/t/scalable-global-solution-techniques-for-high-dimensional-models-in-dynare/27520)

<div class="topic-metadata">

**Author:** [@JamAl](https://forum.dynare.org/u/JamAl)\
**Replies:** 1\
**Last updated:** [1 May 2025 15:03 UTC](https://forum.dynare.org/t/scalable-global-solution-techniques-for-high-dimensional-models-in-dynare/27520 "2025-05-01T15:03:58Z")

</div>

Dear All, I recently read the paper by Eftekhari, Juillard, Rion, and Scheidegger (2025) on global solution methods in Dynare. However, I wasn’t able to find any examples of models with occasionally binding constraints …

---

## [Gertler & Karadi (2011)](https://forum.dynare.org/t/gertler-karadi-2011/27491)

<div class="topic-metadata">

**Author:** [@golfo](https://forum.dynare.org/u/golfo)\
**Replies:** 3\
**Last updated:** [26 April 2025 15:30 UTC](https://forum.dynare.org/t/gertler-karadi-2011/27491 "2025-04-26T15:30:34Z")

</div>

I am currently trying to replicate the model by Gertler and Karadi using the macroeconomic model database. However, the provided files seem to not work. Did anyone encounter similar problems? Any help is appreciated! f…

---

## [Intraperiod loan in the NK model](https://forum.dynare.org/t/intraperiod-loan-in-the-nk-model/27389)

<div class="topic-metadata">

**Author:** [@Victory10](https://forum.dynare.org/u/Victory10)\
**Replies:** 10\
**Last updated:** [16 April 2025 08:53 UTC](https://forum.dynare.org/t/intraperiod-loan-in-the-nk-model/27389 "2025-04-16T08:53:00Z")

</div>

Hello! I have constructed a simple NK model that includes a household sector, an intermediate goods sector, an aggregated goods sector, the government, and the central bank. Households interact with the production secto…

---

## [HELP for “A Macroeconomic Model with Financial Panics” code](https://forum.dynare.org/t/help-for-a-macroeconomic-model-with-financial-panics-code/13378)

<div class="topic-metadata">

**Author:** [@swift](https://forum.dynare.org/u/swift)\
**Replies:** 12\
**Last updated:** [7 April 2025 14:14 UTC](https://forum.dynare.org/t/help-for-a-macroeconomic-model-with-financial-panics-code/13378 "2025-04-07T14:14:01Z")

</div>

NBER working paper “A Macroeconomic Model with Financial Panics” by Gertler M., Kiyotaki N. &Prestipino A. I can’t find code of the peper above, could anyone send me the code and data? Thank u.

---

## [Replicating Baqaee, Farhi and Sangani (JPE,2024)](https://forum.dynare.org/t/replicating-baqaee-farhi-and-sangani-jpe-2024/27376)

<div class="topic-metadata">

**Author:** [@Blashphemous](https://forum.dynare.org/u/Blashphemous)\
**Replies:** 6\
**Last updated:** [4 April 2025 08:21 UTC](https://forum.dynare.org/t/replicating-baqaee-farhi-and-sangani-jpe-2024/27376 "2025-04-04T08:21:14Z")

</div>

I’m currently working on replicating Proposition 5 using Dynare, which involves dynamic New Keynesian (NK) equations with total factor productivity (TFP) movements. However, I’ve encountered an issue: the impulse respons…

[Next page](https://forum.dynare.org/c/generalmodeling/replication/27.md?page=1)
