running error with New Keynesian Model

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.

running error with New Keynesian Model

Postby marvinsyrene » Thu Jun 10, 2010 12:13 am

I am estiamting a pretty standard new Keynesian monetary model with US data, every time when I specify three observables:y pai i, there is a error message:
??? Error using ==> chol
Matrix must be positive definite.

Error in ==> metropolis_hastings_initialization at 52
d = chol(vv);

everything works fine with two observables: y pai.
Attachments
inf_inertia.mod
(1.78 KiB) Downloaded 83 times
marvinsyrene
 
Posts: 6
Joined: Thu Jun 10, 2010 12:05 am

Re: running error with New Keynesian Model

Postby StephaneAdjemian » Thu Jun 10, 2010 7:19 am

Hi, can you post the data file ?
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: running error with New Keynesian Model

Postby marvinsyrene » Thu Jun 10, 2010 2:16 pm

this is data for output, pai and i.
output is detrended log, multiplied by 400.
pai is the log difference of CPI, multiplied,
i is the fed fund rate
thanks for your reply.
it won't allow to upload the data file, do you have an email address, can i send it to your email?
marvinsyrene
 
Posts: 6
Joined: Thu Jun 10, 2010 12:05 am

Re: running error with New Keynesian Model

Postby marvinsyrene » Fri Jun 11, 2010 8:38 pm

here is the data file, it contain y pai i,
thanks
Attachments
YBook2.xls
(24 KiB) Downloaded 63 times
marvinsyrene
 
Posts: 6
Joined: Thu Jun 10, 2010 12:05 am


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 9 guests