I use the standard New Keynesian model in order to calculate steady-state and moments. However, i have found only log-linear examples. I try to mix the non-linear equations with a linear Taylor rule and the approximated forward looking NKPC. So all endogenous variables are in Levels except inflation and the marginal cost. Could anyone verify if this approach is correct or not?
I checked the forum but i didn’t find any example of the non linear New Keynesian PC only a post that is referred to some papers(not named),did you know if there is any example with the non-linear version of the NKPC??? However, i also use in this script a linear Taylor rule. I compare this with the log-linearized version of the New Keynesian mod file (model (linear) ) moments and IRFs and are very very similar, they have only infinitesimal differences. This approximation is incorrect?
The attached mod-file, which may soon be delivered in the Dynare examples, is entered non-linearly. It is based on Fernandez-Villaverdes Baseline DSGE model. The reference can be found in the header of the mod-file. NK_baseline.mod (9.15 KB) NK_baseline_steadystate.m (2.72 KB)
@jpfeifer, I have a question regarding this model: in Fernandez-Villaverdes’s paper (2006), variables are rescaled by technology growth rate so that rescaled variables would be stationary (correct me, if wrong). No problems with codes as posted. My confusion goes to fitting the model into real data: in this case, do I have to rescale real time series as well? Or this stochastic growth trend generated by technology is already included in nonlinear FOCs, so there is no further data rescaling problem.
The model is only calibrated. If you want to estimate it, you still need to define a measurement equation that maps the stationary model variables to the data. In case of the Baseline DSGE model, Fernandez-Villaverde uses first differences.
I am fresh student in DSGE models. I have question about the attached mod file.
As I know the equilibrium conditions Just wrote in NK_baseline.mod (correct me, if wrong), but there is no initial values, so why this does not lead to errors( as mine)?
please help me about this.
Thank you in advance
I am trying to solve Fernandez-Villaverdes’ model without the capital, investment and wage rigidity. It’s a simple model with price rigidity only.
I am aware that we need to re-scale some variables in order to preserve stationary time series. However, I still encounter certain problems when Dynare is trying to deal with the technology variable (A), which is the only exogenous shock that grows exponentially.
An infinite element was encountered when trying to solve equation(s) 6 with respect to the variable(s): A.
Could anyone give me some thoughts or hints on where I get it wrong? Thanks in advance.
Hello! I am new to Dynare, I just wanted to know how can I check if I have linearized my model correctly by hand? Is there a way I can compare linear and non-linear models on Dynare (separate files, ofcourse). What would be the basis for this comparison? How can I check if the two are coherent? Thank you!