Estimating NonLinear Neoclassical Growth

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.

Estimating NonLinear Neoclassical Growth

Postby mjs19 » Mon Mar 02, 2015 8:23 pm

I used to be able to run the following file, but it does not work anymore, giving me the error: Reference to non-existent field 'c'..
I saw a similar issue here in the forums where it was suggested to reinstall Dynare. I tried that but the error persisted. I have attached the file.
Any help is appreciated.
Attachments
neoclassical_without_labor.mod
(727 Bytes) Downloaded 33 times
mjs19
 
Posts: 16
Joined: Sat Jan 17, 2015 7:25 pm

Re: Estimating NonLinear Neoclassical Growth

Postby jpfeifer » Tue Mar 03, 2015 6:33 am

The data file is missing. Which Dynare version are you using?
------------
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: Estimating NonLinear Neoclassical Growth

Postby mjs19 » Tue Mar 03, 2015 1:50 pm

Sorry about that, attached datafile here. I am using Dynare 4.4.3.
My actual objective is to find likelihood values for different parameters value, as in http://www.dynare.org/phpBB3/viewtopic.php?f=1&t=5547, but I couldnt even begin estimation...
Thanks.
Attachments
data.m
(1.46 KiB) Downloaded 31 times
mjs19
 
Posts: 16
Joined: Sat Jan 17, 2015 7:25 pm

Re: Estimating NonLinear Neoclassical Growth

Postby mjs19 » Tue Mar 03, 2015 5:10 pm

My observed data was incorrectly named, sorry about that. Anyways, in the other post I mentioned, in order to compute the likelihood,you suggest:

Code: Select all
global dataset_  bayestopt_       
[likelihood,junk1,junk2,exit_flag,ys,trend_coeff,info] = dsge_likelihood(xparam1,dataset_,options_,M_,estim_params_,bayestopt_,oo_);


In what order should xparam be defined? (which element of the vector correspond to each parameter?) Also, in your example, why do you need fs2000_mode? Also, I am getting positive values for likelihood, which is strange...
Thanks.
mjs19
 
Posts: 16
Joined: Sat Jan 17, 2015 7:25 pm

Re: Estimating NonLinear Neoclassical Growth

Postby jpfeifer » Wed Mar 04, 2015 12:57 pm

What exactly is your question? The initial problem comes from the observed variable in the m-file not having the same name as the variable defined in the varobs command.
------------
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 10 guests