loglinear command in estimation
Posted: Mon Dec 30, 2013 9:34 am
Hey all,
I have just recognized the options 'loglinear' in the estimation command. Now, I'm wondering if I do the right things:
1. I have calculated the cyclical component of a real world time series (GDP): YData = log(YData) - hpfilter(log(YData),1600);
2. I set Y as observable in my maximum liklihood estimation.
3. In my model I write for example the equations like this: Y = A*K^(alpha)*L^(1-alpha).
4. Then since YData has zero mean, I substract from Y in the model its steady state: YData = Y - Yss.
Do I have to use the 'loglinear' option in the estimation? If yes, do I then have to rewrite the model equations like this: exp(Y) = exp(A)*exp(K)^(alpha)*exp(L)^(1-alpha) ?
Then an other general question: is it better to estimate with growth rates rather than with the underlying time series, say: dY = Y - Y(-1) ?
Thanks for your answers!!!
Daniel
I have just recognized the options 'loglinear' in the estimation command. Now, I'm wondering if I do the right things:
1. I have calculated the cyclical component of a real world time series (GDP): YData = log(YData) - hpfilter(log(YData),1600);
2. I set Y as observable in my maximum liklihood estimation.
3. In my model I write for example the equations like this: Y = A*K^(alpha)*L^(1-alpha).
4. Then since YData has zero mean, I substract from Y in the model its steady state: YData = Y - Yss.
Do I have to use the 'loglinear' option in the estimation? If yes, do I then have to rewrite the model equations like this: exp(Y) = exp(A)*exp(K)^(alpha)*exp(L)^(1-alpha) ?
Then an other general question: is it better to estimate with growth rates rather than with the underlying time series, say: dY = Y - Y(-1) ?
Thanks for your answers!!!
Daniel