Hello,
I am using state space techniques for the 1st time.. could somebody tell me the components of A, C, Y, when you have a model of this form where only one of the parameter is time variate
Y = B0+B1X1+B2X2+B3Yt-1+ et
B1t = B1,t-1 + Vt.
Thanks
asemota omos wrote:Hello Tom,
Big thanks to you.. pls, i have two questions concerning the two specifications you gave..
first, using the quickest type as u said, where Y=Y-(B0+B2*X2+B3*Y{1}).. how would i handle the unknown parameters B0, B2 and B3 that have been included in the observable Y ? will they be included in the NOnlin parameter or what will happen to the parameters?
asemota omos wrote:secondly, the alternative methods seems to be more advantageous due to its flexibility.. You said, "With that, Y would just be Y, C would be ||1.0,X1,X2,Y{1}||, A would be the 4x4 identity (again, the default), you would want an F matrix which is ||0.0|1.0|0.0|0.0||, and again, the one variance for the transition and one for the observation" . How will i specify the Nonlin.. ( Nonlin sigmaepsilon sigmaeta) or Nonlin sigmaepsilon sigmaeta sigmapsi sigmazeta ?
asemota omos wrote:Also, if i decided to allow each coeff to be time variate, how would i extract each of the state vector from the kalman filter and smoother output?
set B0 = %SCALAR(xstates(1)), set B1 = %scalar(xstates(2)) and so on.. will this be ok??
asemota omos wrote:Hi Tom,
Thanks alot..
You have really been of great help to me.. meanwhile, i just wanna clarify these from you.
first, you said [Yes. With that setup, B0, B2 and B3 are included in the NONLIN].. how do i specify the initial guess values for these parameters? is it ok to use linreg to first get their initial values?
asemota omos wrote:secondly. you said, "you would want an F matrix which is ||0.0|1.0|0.0|0.0||" so,its not always N by N?
Thank you very much
Henrique Andrade wrote:Dear RATS Community,
I'm trying to learn state-space modelling and I don't know how to represent my model in the state-space representation. The aim of my model is to decompose the government balance into two components: rule and discretion.
Please take a look at my model:
FP(t) = dR(t) + w1(t)
dR(t) = b(t)dgap(t)+ w2(t)
b(t) = b(t-1)+ w3(t)
Where:
FP represents the fiscal policy (measured as changes in the government balance)
R represents the automatic component of the fiscal policy that responds to changes in the output gap (dgap)
w1, w2, and w3 represent the errors
Any help will be appreciated.
Best regards,
Return to State Space Models/DSGE
Users browsing this forum: No registered users and 1 guest