asmith05 wrote:Hi Tom,
When I look at the smoothed state estimates from this code they look quite reasonable; however, the filtered output is incredibly volatile for the first few quarters of the sample before settling down.
Is this a problem unique to this model (For example, from what I understand, Laubach and Williams use a different method for initializing the states than the presample=ergodic option in RATS)?
Or, is this a common issue in non-stationary SS models? In other words, is there a reason in such models to discount the first few periods of filtered state estimates when the SS model is non-stationary (even if one uses the ergodic method in RATS to initialize the model)? Should we instead focus on the smoothed estimates in this case?
asmith05 wrote:Also, a clarifying question from your 2010 technical paper on SS initialization with non-stationary dynamics: Is RATS automatically using the conditional likelihood (i.e. dropping the first few observations when forming the likleihood) in non-stationary models such as Laubach and Williams? If so, how does it determine how many to drop?
hardmann wrote:Dear Dr. Doan:
I had read the discussion about LW(2003) in the forum. However, I have three questions.
1, ystar is a potential growth state varible, gap=y - ystar. In measurement equation, gap should be used to stead of ystar. Maybe (y - ystar)?
hardmann wrote: 2, I had confused the usage of %eqnxvector(stage2eq,t), such as:
equation stage2eq *
# logrgdp{1 2} exanterr{1 2} pceinflation{1} pi3{2} pi5{5} pioilgap{1} piimpgap{0} constant
frml regf = ||a1,a2,a3/2,a3/2,0,0,0,0,0,a4|b3,0,0,0,b1,b2,1-b1-b2,b4,b5,0||
frml muf = regf*%eqnxvector(stage2eq,t)
hardmann wrote:3, In pure trend-cycles decomposition, both trend and cycle should be specified as states, in general, cycles is AR(2) structure. In the paper,however, cycle or gap is derived by trend, which should be modeled explicitly. Is it right or suitable?
hardmann wrote:Dear Tom:
Could we estimate the natural rate of interest in monthly frequency?
I guess that we use monthly r, inflation, and quarterly rGDP to jointly estimate r* with Extended Kalman Filter.
Best Regard
Hardmann
Return to Examples and Sample Code
Users browsing this forum: No registered users and 3 guests