estimation with observation_trends

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 with observation_trends

Postby Andrea » Tue Feb 23, 2010 5:57 pm

Dear all,
I'm trying to estimate a model on Euro data using inflation, output and interest rate.
The model relates inflation to the output gap, but I don't detrend output to obtain an "observed" series
of the output gap. I ask dynare to estimate the output gap instead, using the equations

yn=yn(-1)+eps; // natural output process (the drift term is only in the observation_trends block)
yn=y-x;

Problem: sometimes I receive an error message that says there are problems with the diffuse inizialization
of the kalman filter for the non stationary variables, because there's not enough information to do that.

Can anybody tell me what this is related to?
Many thanks for any reply.
Best,

Andrea
Andrea
 
Posts: 6
Joined: Thu Nov 12, 2009 2:06 pm

Re: estimation with observation_trends

Postby StephaneAdjemian » Wed Feb 24, 2010 8:30 am

Dear Andrea, You should read chapter 5 in the book "Time Series Analysis by State Space Methods" by Durbin and Koopman (2001), the answer is around page 105.

Best,
Stéphane.
Stéphane Adjemian
Université du Maine, GAINS and DynareTeam
https://stepan.adjemian.eu
StephaneAdjemian
 
Posts: 429
Joined: Wed Jan 05, 2005 4:24 pm
Location: Paris, France.

Re: estimation with observation_trends

Postby Andrea » Wed Feb 24, 2010 10:18 am

Dear Stéphane,
thank you for your reply. I'll have a look at it.
Best,

Andrea
Andrea
 
Posts: 6
Joined: Thu Nov 12, 2009 2:06 pm

Re: estimation with observation_trends

Postby Andrea » Fri Feb 26, 2010 1:24 pm

I found my mistake. I set an upper bound equal to one for a variable that was not
defined as unit root one. Sometimes the estimate went on the bound, so that problem
emerged.
Andrea
 
Posts: 6
Joined: Thu Nov 12, 2009 2:06 pm


Return to Dynare help

Who is online

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