Estimation problem

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

Estimation problem

Postby matte » Fri Aug 27, 2010 6:04 am

Dear,

I try to do a robustness check when estimating Taylor rule with a reaction to 1)current inflation, 2)expected inflation. Therefore, the Taylor in Dynare code look
1)Rhat = (1-rR)*rq*qinf + (1-rR)*rpi*pihat+ry*(1-rR)*Yhat+rR*Rhat(-1)+eRhat; for current inflation
2)Rhat = (1-rR)*rq*qinf + (1-rR)*rpi*pihat(+1)+ry*(1-rR)*Yhat+rR*Rhat(-1)+eRhat; for expected inflation

Although I get estimated the model with a reaction to current inflation, I get an error when estimating the model with a reaction to expected inflation. Could you help me on this, please?
I enclose my Dynare code and data used for the estimation.

Many many thanks in advance,
M
Attachments
data_new.m
code
(3.49 KiB) Downloaded 271 times
A_new.mod
data
(4.29 KiB) Downloaded 161 times
matte
 
Posts: 15
Joined: Wed Jul 28, 2010 7:06 am

Re: Estimation problem

Postby jpfeifer » Fri Aug 27, 2010 6:36 am

Could you specify the error message, please.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: Estimation problem

Postby matte » Fri Aug 27, 2010 6:50 am

ok
matte
 
Posts: 15
Joined: Wed Jul 28, 2010 7:06 am

Re: Estimation problem

Postby SébastienVillemot » Mon Aug 30, 2010 9:13 am

Your file runs well on my machine with Dynare 4.1.2.

Please give more details about your Dynare installation and the problem you encounter.

Best,
Sébastien Villemot
Economist at OFCE – Sciences Po
SébastienVillemot
 
Posts: 706
Joined: Fri Dec 07, 2007 2:29 pm
Location: Paris, France

Re: Estimation problem

Postby matte » Mon Aug 30, 2010 8:45 pm

Hi!
The code runs on my machine as well but if I replace the following line in the code:

Rhat = (1-rR)*rq*qinf + (1-rR)*rpi*pihat+ry*(1-rR)*Yhat+rR*Rhat(-1)+eRhat;

to the following:

Rhat = (1-rR)*rq*qinf + (1-rR)*rpi*pihat(+1)+ry*(1-rR)*Yhat+rR*Rhat(-1)+eRhat;

it does not run.

Many thanks!
M
matte
 
Posts: 15
Joined: Wed Jul 28, 2010 7:06 am

Re: Estimation problem

Postby SébastienVillemot » Mon Sep 13, 2010 9:11 am

Which error do you get ?
Sébastien Villemot
Economist at OFCE – Sciences Po
SébastienVillemot
 
Posts: 706
Joined: Fri Dec 07, 2007 2:29 pm
Location: Paris, France


Return to Dynare help

Who is online

Users browsing this forum: Google [Bot] and 8 guests