Estimation problem in large-scale 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.

Estimation problem in large-scale model

Postby AS90 » Wed Aug 27, 2014 9:26 am

This time:
- the model is stationary by construction;
- the data is one sided HP filtered;
- Bayesian estimation functions only with algorithm #6, although, delivering inaccurate results.

Any insights would be appreciated.

PS. Any news on the SMM front?

Thanks.
AS90
 
Posts: 39
Joined: Tue Jul 23, 2013 3:22 pm

Re: Usual Bayesian estimation problem

Postby Oriana » Wed Jun 17, 2015 4:09 pm

My model is rather complex and I am also having some difficulties in finding the posterior mode for all my parameters.
Suggestions to overpass these difficulties are mostly welcome!
Attachments
nonlinear_JP_117Jun .zip
(564.08 KiB) Downloaded 394 times
Oriana
 
Posts: 67
Joined: Fri Jul 18, 2014 2:49 pm

Re: Usual Bayesian estimation problem

Postby Oriana » Sun Jun 21, 2015 8:40 am

In order to obtain the following results I already replaced chol(hh) with hh=1e-4*eye(size(hh)). How reliable these results could be?
The identification strength of most of parameters is also 0. Could it mean some model misspecification?
Attachments
nonlinear_USA_21Jun.zip
(561.57 KiB) Downloaded 194 times
Oriana
 
Posts: 67
Joined: Fri Jul 18, 2014 2:49 pm

Re: Usual Bayesian estimation problem

Postby jpfeifer » Thu Jun 25, 2015 5:42 pm

Are you sure you solved the identification problem? It still shows up for me with the posted files.
------------
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: Usual Bayesian estimation problem

Postby Oriana » Fri Jun 26, 2015 11:08 pm

Please, if possible, try with the following files again.
Attachments
nonlinear_JP_117Jun 3.zip
(625.31 KiB) Downloaded 51 times
Oriana
 
Posts: 67
Joined: Fri Jul 18, 2014 2:49 pm

Re: Usual Bayesian estimation problem

Postby jpfeifer » Sun Jul 05, 2015 4:02 pm

Put
Code: Select all
identification(ar=10);

before the estimation command and you will see
WARNING !!!
The rank of H (model) is deficient!

c1phimc is not identified in the model!
[dJ/d(c1phimc)=0 for all tau elements in the model solution!]
c1phioc is not identified in the model!
[dJ/d(c1phioc)=0 for all tau elements in the model solution!]
c1telast is not identified in the model!
[dJ/d(c1telast)=0 for all tau elements in the model solution!]
c1oelast is not identified in the model!
[dJ/d(c1oelast)=0 for all tau elements in the model solution!]
c1kelast is not identified in the model!
[dJ/d(c1kelast)=0 for all tau elements in the model solution!]
c1less is not identified in the model!
[dJ/d(c1less)=0 for all tau elements in the model solution!]

[c1gamdpc2,c1gamrs2] are PAIRWISE collinear (with tol = 1.e-10) !


WARNING !!!
The rank of J (moments) is deficient!

c1phimc is not identified by J moments!
[dJ/d(c1phimc)=0 for all J moments!]
c1phioc is not identified by J moments!
[dJ/d(c1phioc)=0 for all J moments!]
c1telast is not identified by J moments!
[dJ/d(c1telast)=0 for all J moments!]
c1oelast is not identified by J moments!
[dJ/d(c1oelast)=0 for all J moments!]
c1kelast is not identified by J moments!
[dJ/d(c1kelast)=0 for all J moments!]
c1less is not identified by J moments!
[dJ/d(c1less)=0 for all J moments!]

[c1gamdpc2,c1gamrs2] are PAIRWISE collinear (with tol = 1.e-10) !
[c1scalepitarerr,c1gamrs2] are PAIRWISE collinear (with tol = 1.e-10) !
[c1scalepitarerr,c1gamdpc2] are PAIRWISE collinear (with tol = 1.e-10) !

c1omegal is collinear w.r.t. all other params!
c1chi is collinear w.r.t. all other params!
c1thetap is collinear w.r.t. all other params!
c1thetaw is collinear w.r.t. all other params!
c1tauw is collinear w.r.t. all other params!
c1taup is collinear w.r.t. all other params!
c1scalethetapvarerr is collinear w.r.t. all other params!
c1scalethetawvarerr is collinear w.r.t. all other params!
------------
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: Usual Bayesian estimation problem

Postby Oriana » Tue Jul 07, 2015 7:14 pm

Thank you, for the previous observation.
I already fixed the identification problems and got ...
All parameters are identified in the model (rank of H).
All parameters are identified by J moments (rank of J)

Nevertheless, the graph shock decomposition c1y (in the zip file below), raises some suspicion on some kind of misspecification in my code.
Could you, please, refute or confirm it ?
Attachments
nonlinear_USA_7Jul.zip
(677.23 KiB) Downloaded 46 times
Oriana
 
Posts: 67
Joined: Fri Jul 18, 2014 2:49 pm

Re: Usual Bayesian estimation problem

Postby jpfeifer » Wed Jul 08, 2015 3:36 am

Yes, that looks weird.
------------
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: Usual Bayesian estimation problem

Postby Oriana » Fri Jul 10, 2015 5:17 pm

Thanks. I already found the problem. It seems the discount factor "beta" parameter was too high.
I only changed c1beta = c1muzss/1.01 to c1beta = c1muzss/1.05 (in the steadystate file) and the graphs of shocks decomposition appeared quite fine .

Unfortunately, I had another problem. It is related with my data frequency of oil production (Japanese version). I have quarterly data after 1984, but not for previous years. My period study begins in 1970.
A mixed frequency approach, as you suggested once, seems the most convenient choice, however, I would lose the quarterly data information after 1984.
In your view a better solution can be applied?
Attachments
nonlinear_USA_10Jul .zip
(587.3 KiB) Downloaded 45 times
Oriana
 
Posts: 67
Joined: Fri Jul 18, 2014 2:49 pm

Re: Usual Bayesian estimation problem

Postby jpfeifer » Sat Jul 11, 2015 8:14 am

The mixed frequency approach does not mean that the series has to have the same frequency the whole time. Dynare should treat unobserved values as missing values. After 1984, there should be no more missing values.
------------
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: Usual Bayesian estimation problem

Postby Oriana » Sun Jul 12, 2015 8:22 am

Thank you for the previous information. The subject was not well clarified in your document ( A Guide to Specifying Observation Equations for the Estimation of DSDE Models).
Oriana
 
Posts: 67
Joined: Fri Jul 18, 2014 2:49 pm


Return to Dynare help

Who is online

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