error in bayesian estimation, help please.

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.

error in bayesian estimation, help please.

Postby lssp » Sun Dec 14, 2014 12:45 am

Hi, Professor Pfeifer,

When I was doing the bayesian estimation, I encountered the problem like this:

Warning: Matrix is close to singular or badly scaled. Results may be
inaccurate. RCOND = 5.142215e-17.

I am quite sure that my model is right, and then what may the problem be ? and how can I solve this ?

Any advice will be appreciated.

Thank you so much!
Last edited by lssp on Sat Jan 03, 2015 1:49 am, edited 2 times in total.
lssp
 
Posts: 15
Joined: Thu Apr 10, 2014 12:22 pm

Re: error in bayesian estimation, help please.

Postby jpfeifer » Sun Dec 14, 2014 6:30 pm

For starters, you are estimating too many parameters given your data. You have only one observed data series and this makes some of the parameters not identified. Either add additional observables or estimate fewer parameters. To see this, put
Code: Select all
identification;

instead of estimation (Important: do not use estimation after identification; use either the one or the other to avoid unwanted interaction between the commands)
------------
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: error in bayesian estimation, help please.

Postby lssp » Tue Dec 16, 2014 7:40 am

Hi, Professor Pfeifer,

Thank you for your reply, I really appreciate that.

Now I have another question about the observation equation after I red your paper "A Guide to Specifying Observation Equations for the Estimation of DSGE Models".

Q:
The model I am dealing with (as attached already in the last post) is a nonlinear model, but the Taylor Rule is linear form, like:

ReXU = rhotilUU*ReXU(-1) + (1-rhotilUU)*(ReXUU+aptilUU*(piU(+1)-piUU)+aytilUU*(YU-YUU)) + e_xpU;

If I want to do the estimation using the data of ReXU, how should I write the correct observation equation ? and how to deal with the raw data ?

I am looking forward to your reply, thanks again!
lssp
 
Posts: 15
Joined: Thu Apr 10, 2014 12:22 pm

Re: error in bayesian estimation, help please.

Postby jpfeifer » Thu Dec 18, 2014 4:57 pm

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


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 11 guests