--
You received this message because you are subscribed to the Google Groups "iris-toolbox-discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to iris-toolbox...@googlegroups.com.
To post to this group, send email to iris-t...@googlegroups.com.
Visit this group at http://groups.google.com/group/iris-toolbox.
For more options, visit https://groups.google.com/groups/opt_out.
!parameters
a,b
!measurement_variables
y_data,
!measurement_equations
y_data = y_mod ;
!dtrends
You can either assign the parameters a and b directly to the model object, or you can call filter() with the option 'outOfLik=',{'a','b;} and it will estimate them in a single call. It is also important that you not list these variables in your estimation structure when calling estimate().y_data += a + b*!ttrend ;
!links
y = f(x) ;
z = g(y,x) ;
works, but
!links
does not.z = g(y,x) ;
y = f(x) ;
--
--
--
--
--
--
--
Michael,
I followed your suggestion and used !dtrends instead of having constants in the measurement equations. This was handy because I now have individual dtrends for investment, output growth, real wages, and consumption (in SW the same single constant was shared among these four variables). On the other hand, the constant in the measurement equations was linked to the steady states parameters of the system (cgamma – ss value for output growth and cpie – ss value for inflation), so now the steady state values of the measurement variables are zero for all those variables that used dtrend (instead of values related to the ss parameters).
How can I make sure that the steady states of the measurement variables are related to the steady state parameters of the system and still use deterministic trends? Do I really need to achieve this? If variables revert to the dtrend values, what is the role of parameters such as cpie and cgamma?
I am hoping that the answer to the previous question might be related to the model’s performance on replicating first and second moments of the measurement variables (See ‘Christmas trees’ chart). Note that Consumption, Output, Investment, and Real Wages mean distributions show a gap (actual vs model-generated data), unlike the other three variables that seem to be more appropriate. The second moments for all variables are reasonable. Obtaining a model that explains well the data is of course one of my main goals with this exercise.
Also, I suspect my modification of the model with dtrends have affected the effectiveness of the estimation of gamma and cpie because the maximized modes are now especially sensitive to their priors. Data does not seem to be informative at all. Would this make sense? I understand, however, that either method (constant in measurement equation or dtrend) modifies the measurement variables before these are in contact with the model. The differences between the dtrends and the constant should therefore not be that different.
I feel that I am very close to understanding this particular model and the mechanics of any DSGE model in general. Your input or that of any member in the community would be extremely valuable. I have attached two sets of codes – one with the model using dtrends and the original one (SW). I would run everything in the following order:
Any input will be greatly appreciated. Thanks!