Skip to content

Commit

Permalink
Change compatibility disclaimers to 4.5
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannesPfeifer committed Jun 11, 2017
1 parent f5771bd commit 0598e7c
Show file tree
Hide file tree
Showing 22 changed files with 30 additions and 30 deletions.
2 changes: 1 addition & 1 deletion Ascari_Sbordone_2014/Ascari_Sbordone_2014.mod
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* It also shows how to manually do a stability mapping be iterating over a grid on the parameter space.
*
* Notes:
* - The mod-file requires Dynare > 4.4.3, i.e. currently the unstable version. Otherwise, you will get error like
* - The mod-file requires Dynare 4.5 or higher. Otherwise, you will get error like
* "ERROR: in the 'steady_state' block, variable 'pi' is undefined in the declaration of variable 'pi'"
* - The results from the nonlinear model have been cross-checked with the linearized
* version presented in the paper and the replication files provided by the authors
Expand Down
2 changes: 1 addition & 1 deletion Gali_2010/Gali_2010.mod
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
* ur_t=U/F*u_hat_t-U/F*f_hat_t
* 5. p. 516: in the definition of delta, it should be x/(1-x)*U/N, i.e. the brackets are missing
*
* THIS MOD-FILE REQUIRES DYNARE 4.5 (I.E. THE CURRENT UNSTABLE VERSION)
* THIS MOD-FILE REQUIRES DYNARE 4.5 OR HIGHER
*
* This implementation was written by Lahcen Bounader and Johannes Pfeifer. In case you spot mistakes,
* email Johannes Pfeifer at jpfeifer@gmx.de
Expand Down
2 changes: 1 addition & 1 deletion Gali_2010/Gali_2010_calib_target.mod
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
* ur_t=U/F*u_hat_t-U/F*f_hat_t
* 5. p. 516: in the definition of delta, it should be x/(1-x)*U/N, i.e. the brackets are missing
*
* THIS MOD-FILE REQUIRES DYNARE 4.5 (I.E. THE CURRENT UNSTABLE VERSION)
* THIS MOD-FILE REQUIRES DYNARE 4.5 OR HIGHER
*
* This implementation was written by Lahcen Bounader and Johannes Pfeifer. In case you spot mistakes,
* email Johannes Pfeifer at jpfeifer@gmx.de
Expand Down
4 changes: 2 additions & 2 deletions Gali_2015/Gali_2015_chapter_2.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* It demonstrate the neutrality of money by showing that real variables do not move after a monetary policy shock
*
* THIS MOD-FILE REQUIRES DYNARE 4.5 (I.E. THE CURRENT UNSTABLE VERSION)
* THIS MOD-FILE REQUIRES DYNARE 4.5 OR HIGHER
*
* This implementation was written by Johannes Pfeifer. In case you spot mistakes,
* email me at jpfeifer@gmx.de
Expand Down Expand Up @@ -146,4 +146,4 @@ check;
% generate IRFs to show neutrality of money
%----------------------------------------------------------------
write_latex_dynamic_model;
stoch_simul(irf=20,order=1) Y C Pi R realinterest m_growth_ann;
stoch_simul(irf=20,order=1) Y C Pi R realinterest m_growth_ann;
2 changes: 1 addition & 1 deletion Gali_2015/Gali_2015_chapter_3.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* This file implements the baseline New Keynesian model of Jordi Galí (2015): Monetary Policy, Inflation,
* and the Business Cycle, Princeton University Press, Second Edition, Chapter 3
*
* THIS MOD-FILE REQUIRES DYNARE 4.5 (I.E. THE CURRENT UNSTABLE VERSION)
* THIS MOD-FILE REQUIRES DYNARE 4.5 OR HIGHER
*
* Notes:
* - all model variables are expressed in deviations from steady state, i.e. in contrast to
Expand Down
4 changes: 2 additions & 2 deletions Gali_2015/Gali_2015_chapter_3_nonlinear.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Note that this mod-file implements the non-linear first order conditions and that the IRFs show the log-deviations
* from steady state.
*
* THIS MOD-FILE REQUIRES DYNARE 4.5 (I.E. THE CURRENT UNSTABLE VERSION)
* THIS MOD-FILE REQUIRES DYNARE 4.5 OR HIGHER
*
* Notes:
* - in the LOM for the discount rate shock z the shock enters with a minus sign in this mod-file to generate the
Expand Down Expand Up @@ -311,4 +311,4 @@ stoch_simul(order = 1,irf=15,irf_plot_threshold=0) pi_ann log_y log_N log_W_real
% max(abs(oo_linear.oo_.irfs.p_eps_a-oo_.irfs.log_P_eps_a))>1e-10
% error('IRFs do not match linear model')
% end
% end
% end
2 changes: 1 addition & 1 deletion Gali_2015/Gali_2015_chapter_4.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* of Jordi Gali (2015): Monetary Policy, Inflation, and the Business Cycle, Princeton University Press, Second Edition.
* It replicates Table 4.1 and 4.2.
*
* THIS MOD-FILE REQUIRES DYNARE 4.5 (I.E. THE CURRENT UNSTABLE VERSION)
* THIS MOD-FILE REQUIRES DYNARE 4.5 OR HIGHER
*
* Notes:
* - all model variables are expressed in deviations from steady state, i.e. in contrast to
Expand Down
2 changes: 1 addition & 1 deletion Gali_2015/Gali_2015_chapter_5_commitment.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*
* It demonstrates how to use the ramsey_policy command of Dynare.
*
* THIS MOD-FILE REQUIRES DYNARE 4.5 (I.E. THE CURRENT UNSTABLE VERSION)
* THIS MOD-FILE REQUIRES DYNARE 4.5 OR HIGHER
*
* Notes:
* - all model variables are expressed in deviations from steady state, i.e.
Expand Down
4 changes: 2 additions & 2 deletions Gali_2015/Gali_2015_chapter_5_commitment_ZLB.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* in Jordi Galí (2015): Monetary Policy, Inflation, and the Business Cycle,
* Princeton University Press, Second Edition, Chapter 5.4.2
*
* THIS MOD-FILE REQUIRES DYNARE 4.5 (I.E. THE CURRENT UNSTABLE VERSION)
* THIS MOD-FILE REQUIRES DYNARE 4.5 OR HIGHER
*
* Notes:
* - This mod-file makes use of the Levenberg-Marquardt mixed complementarity problem (lmmcp)
Expand Down Expand Up @@ -140,4 +140,4 @@ axis([0 12 -2 6])

subplot(2,2,4)
plot(0:12,oo_.endo_simul(strmatch('r_nat_ann',M_.endo_names,'exact'),M_.maximum_lag+1:M_.maximum_lag+13),'-')
axis([0 12 -6 6])
axis([0 12 -6 6])
2 changes: 1 addition & 1 deletion Gali_2015/Gali_2015_chapter_5_discretion.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*
* It demonstrates how to use the discretionary_policy command of Dynare.
*
* THIS MOD-FILE REQUIRES DYNARE 4.5 (I.E. THE CURRENT UNSTABLE VERSION)
* THIS MOD-FILE REQUIRES DYNARE 4.5 OR HIGHER
*
* Notes:
* - all model variables are expressed in deviations from steady state, i.e.
Expand Down
4 changes: 2 additions & 2 deletions Gali_2015/Gali_2015_chapter_5_discretion_ZLB.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* in Jordi Galí (2015): Monetary Policy, Inflation, and the Business Cycle,
* Princeton University Press, Second Edition, Chapter 5.4.1
*
* THIS MOD-FILE REQUIRES DYNARE 4.5 (I.E. THE CURRENT UNSTABLE VERSION)
* THIS MOD-FILE REQUIRES DYNARE 4.5 OR HIGHER
*
* Notes:
* - This mod-file makes use of the Levenberg-Marquardt mixed complementarity problem (lmmcp)
Expand Down Expand Up @@ -155,4 +155,4 @@ axis([0 12 -2 6])

subplot(2,2,4)
plot(0:12,oo_.endo_simul(strmatch('r_nat_ann',M_.endo_names,'exact'),M_.maximum_lag+1:M_.maximum_lag+13),'-')
axis([0 12 -6 6])
axis([0 12 -6 6])
4 changes: 2 additions & 2 deletions Gali_2015/Gali_2015_chapter_6.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* of Jordi Galí (2015): Monetary Policy, Inflation, and the Business Cycle, Princeton
* University Press, Second Edition, Chapter 6
*
* THIS MOD-FILE REQUIRES DYNARE 4.5 (I.E. THE CURRENT UNSTABLE VERSION)
* THIS MOD-FILE REQUIRES DYNARE 4.5 OR HIGHER
*
* Notes:
* - all model variables are expressed in deviations from steady state, i.e. in contrast to
Expand Down Expand Up @@ -232,4 +232,4 @@ plot(1:options_.irf,oo_baseline.irfs.w_real_eps_nu,'-o',1:options_.irf,oo_flexib
title('Real wage')

write_latex_dynamic_model;
collect_latex_files;
collect_latex_files;
2 changes: 1 addition & 1 deletion Gali_2015/Gali_2015_chapter_6_4.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* with commitment (Ramsey) of Jordi Galí (2015): Monetary Policy, Inflation, and the Business Cycle, Princeton
* University Press, Second Edition, Chapter 6.4
*
* THIS MOD-FILE REQUIRES DYNARE 4.5 (I.E. THE CURRENT UNSTABLE VERSION)
* THIS MOD-FILE REQUIRES DYNARE 4.5 OR HIGHER
*
* Notes:
* - all model variables are expressed in deviations from steady state, i.e. in contrast to
Expand Down
2 changes: 1 addition & 1 deletion Gali_2015/Gali_2015_chapter_6_5.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* of Jordi Galí (2015): Monetary Policy, Inflation, and the Business Cycle, Princeton
* University Press, Second Edition, Chapter 6.5
*
* THIS MOD-FILE REQUIRES DYNARE 4.5 (I.E. THE CURRENT UNSTABLE VERSION)
* THIS MOD-FILE REQUIRES DYNARE 4.5 OR HIGHER
*
* Notes:
* - all model variables are expressed in deviations from steady state, i.e. in contrast to
Expand Down
4 changes: 2 additions & 2 deletions Gali_2015/Gali_2015_chapter_7.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* of Jordi Galí (2015): Monetary Policy, Inflation, and the Business Cycle, Princeton
* University Press, Second Edition, Chapter 7
*
* THIS MOD-FILE REQUIRES DYNARE 4.5 (I.E. THE CURRENT UNSTABLE VERSION)
* THIS MOD-FILE REQUIRES DYNARE 4.5 OR HIGHER
*
* Notes:
* - all model variables are expressed in deviations from steady state, i.e. in contrast to
Expand Down Expand Up @@ -328,4 +328,4 @@ if exist('IRFs_taylor_rule.mat','file') && exist('IRFs_simple_rule_unemployment.
axis tight
iter=iter+1;
end
end
end
2 changes: 1 addition & 1 deletion Gali_2015/Gali_2015_chapter_8.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* When the preprocessor variable FDIT is set 1, it replicates Figure 8.1. For each monetary policy rule, it allows
* replicating the results from Table 8.1.
*
* THIS MOD-FILE REQUIRES DYNARE 4.5 (I.E. THE CURRENT UNSTABLE VERSION)
* THIS MOD-FILE REQUIRES DYNARE 4.5 OR HIGHER
*
* Notes:
* - all model variables are expressed in deviations from steady state, i.e. in contrast to
Expand Down
2 changes: 1 addition & 1 deletion Gali_Monacelli_2005/Gali_Monacelli_2005.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* - Table 2: Contribution to welfare losses
*
* Notes:
* - The mod-file has been tested with the current unstable version (to be released as Dynare 4.5)
* - The mod-file has been tested with Dynare 4.5
* - To generate the replication Tables and the Figure, run all four policy cases by setting the respective indicators (OPTIMAL,DITR,CITR,PEG)
* in turn to 1. When the code detects all four saved results files, the figure and tables will be displayed
* - The IRFs in Figure 1 were generated with a persistence of 0.9. This can be inferred from the optimal case
Expand Down
2 changes: 1 addition & 1 deletion GarciaCicco_et_al_2010/GarciaCicco_et_al_2010.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* It provides a replication code for the main results of the original paper
* for the case of Argentina.
*
* This mod-file shows how to use the loglinear and logdata options of Dynare (implemented in the unstable version/Dynare 4.5).
* This mod-file shows how to use the loglinear and logdata options of Dynare (implemented since Dynare 4.5).
*
* Notes:
* - The estimation results reported in Table 3 of the paper are not easily replicable. The authors are currently working on an Erratum. The standard deviations of
Expand Down
4 changes: 2 additions & 2 deletions Ireland_2004/Ireland_2004.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* The mod-file also replicates the variance decompositions and IRFs for the respective samples.
*
* Notes:
* - The mod-file requires Dynare > 4.4.3, i.e. currently the unstable version. Otherwise, you will get error like
* - The mod-file requires Dynare 4.5 or higher. Otherwise, you will get error like
* "Check whether your model in truly linear"
* - The original paper is not explicit how the constant in the observation equations are treated during estimation.
* It turns out that Ireland individally demeans the observables for each sample so that the observation equations
Expand Down Expand Up @@ -276,4 +276,4 @@ axis tight

subplot(4,4,16)
plot([0:options_.irf],[0 oo_.irfs.x_eps_r]*100)
axis tight
axis tight
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* did the same)
* - As described in Pfeifer (2016), compared to the first order conditions presented in the
* Technical Appendix of JQ (2012), three typos have been corrected
* - Requires Dynare 4.5
* - Requires Dynare 4.5 or higher
*
* This implementation was written by Johannes Pfeifer. In case you spot mistakes,
* email me at jpfeifer@gmx.de
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* Notes:
* - before running this mod-file, the construct_data.m must be executed first with the respective dummy
* having been set
* - Requires Dynare 4.5
* - Requires Dynare 4.5 or higher
*
* This implementation was written by Johannes Pfeifer. In case you spot mistakes,
* email me at jpfeifer@gmx.de
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ in the respective papers.

## Compatibility

These mod-files have been tested against the current unstable version, to be released
as Dynare 4.5. Compatibility with earlier versions is not guaranteed.
These mod-files have been tested against Dynare 4.5. Compatibility with
earlier versions is not guaranteed.

# Contributing your own mod-files

Expand Down

0 comments on commit 0598e7c

Please sign in to comment.