Is unit_root_vars obsolete?

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.

Is unit_root_vars obsolete?

Postby reluginbuhl » Fri Aug 13, 2010 1:09 pm

I have read in the manual that,

"unit_root_vars is now deprecated and will result in no action, It was used to declare unit-root variables of a model so that a diffuse prior can be used in the initialization of the Kalman filter for these variables only."

I am not sure exactly what is meant by the word "deprecated".

Do I need to use this argument when my observed variables are random walks plus a drift? When I use the argument, Dynare seems to run and work properly. Without the argument, Dynare crashes.

Could some one please give me a status update on this argument. Is it needed? Can I do without this argument if I re-write my _steadystate.m file (by taking out the Y_obs = 1; lines for the trending observations perhaps?)

Thank you.
reluginbuhl
 
Posts: 53
Joined: Wed Mar 04, 2009 2:41 pm

Re: Is unit_root_vars obsolete?

Postby MichelJuillard » Fri Aug 13, 2010 3:56 pm

You shouldn't need to use unit_root_variables. What is the error message when Dynare is crashing?

Best

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

Re: Is unit_root_vars obsolete?

Postby reluginbuhl » Wed Aug 18, 2010 8:46 am

When I use unit_root_vars in the mod file I do not get an error and the estimation command completes successfully. Without unit_root_vars in the mod file I obtain the following:

??? Error using ==> initial_estimation_checks at 92
The seadystate values returned by BY_closed_extra_shocks_rwtech_steadystate.m don't solve the static model!

Error in ==> dynare_estimation_1 at 334
initial_estimation_checks(xparam1,gend,data,data_index,number_of_observations,no_more_missing_observations);

Error in ==> dynare_estimation at 62
dynare_estimation_1(var_list,varargin{:});

Error in ==> BY_closed_extra_shocks_rwtech at 218
dynare_estimation(var_list_);

Error in ==> dynare at 132

This error occurs immediately after the data is read.
evalin('base',fname) ;
reluginbuhl
 
Posts: 53
Joined: Wed Mar 04, 2009 2:41 pm

Re: Is unit_root_vars obsolete?

Postby reluginbuhl » Wed Aug 18, 2010 8:49 am

My variables are C_obs, Y_obs, and W_obs. All are trending, so I had the following line in my mod file:

unit_root_vars C_obs, Y_obs W_obs;

and I also set the steady state value of these variables in my steady_state.m file to 1.

If I remove the unit_root_vars line in the mod file, should I remove the steady state values C_obs=1, Y_obs=1, and W_obs=1 in my steady_state.m file? Or give them some other value?
reluginbuhl
 
Posts: 53
Joined: Wed Mar 04, 2009 2:41 pm


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 5 guests