Tracing Error Message

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.

Tracing Error Message

Postby bigbigben » Mon Oct 09, 2006 2:31 am

My model runs well for the computational part, but it doesn't work for estimation. Actually, I just tried one series and estimating one parameter.
My specification about estimation is as follows:

varobs gy_obs;
estimated_params;
rhor,normal_pdf,0.6,0.1;
end;
estimation(datafile=TSJH_data,nobs=205,loglinear,mh_replic=0,mh_nblocks=5,mh_jscale=.8);


The following is what I got.

??? Error using ==> dynare_estimation
There are complex values in the data. Probably a wrong transformation

Error in ==> TSJH_est_Oct9 at 216
dynare_estimation(var_list_);

Could anyone tell me what default transformation is done in Dynare, since the original data are just growth rate of GDP and the scale is 0.01.
bigbigben
 
Posts: 171
Joined: Sun May 28, 2006 1:19 am

Postby MichelJuillard » Mon Oct 09, 2006 6:01 am

When you ask for loglinear approximation, Dynare takes the log of the variables. So you shouldn't take transform the data before hand or you shouldn't use a loglinear transformation if some of your data take a zero or a negative value.

Best

Michel
MichelJuillard
 
Posts: 680
Joined: Thu Nov 18, 2004 10:51 am


Return to Dynare help

Who is online

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