Search found 10 matches

by May-June
Sun Aug 17, 2014 6:00 am
Forum: Other Time Series Analysis
Topic: Out of sample forecast
Replies: 1
Views: 5153

Re: Out of sample forecast

Ah, i saw the problem.
Thanks
by May-June
Sun Aug 17, 2014 5:01 am
Forum: Other Time Series Analysis
Topic: Out of sample forecast
Replies: 1
Views: 5153

Out of sample forecast

Dear Tom, Please help me to see and to fix the problem at this out of sample forecast: CALENDAR(M) 2009:06 allocate 2012:07 open data forecast.rat data(format=rat,org=columns) Boxjenk(regressors,ma=2,define=equation) ENDO 2009:01 2012:06 # exo @uforeerrors inf forecast 2009:6 2012:06 UFORECAST(equat...
by May-June
Wed Jan 08, 2014 8:49 am
Forum: State Space Models/DSGE
Topic: The last values of the states are so large
Replies: 6
Views: 10352

Re: The last values of the states are so large

Thank you very much, I've run the model ARIMA(0,1,2) with the armadlm and DLM estimate. Il works better than UC model with Veta_T=0.0. This result will be take as an exogenous variable of the complete model which i have asked you in the second post. I hope for a good result. Many thanks for your adv...
by May-June
Tue Jan 07, 2014 4:07 am
Forum: State Space Models/DSGE
Topic: The last values of the states are so large
Replies: 6
Views: 10352

Re: The last values of the states are so large

Oh,
Thanks a lot for your advices.
I review the series and try to find the better models.
Can you suggest me one? Please.
by May-June
Mon Jan 06, 2014 12:34 pm
Forum: State Space Models/DSGE
Topic: The last values of the states are so large
Replies: 6
Views: 10352

Re: The last values of the states are so large

oh, I just re-estimate the model without Z option (no fixed trend mu). and I attached here the full program and the data set It still has the problem in which the last values (at 2013:03) are too larges for both trend and cycle component. So,Please tell me what solution could i take to solve this pr...
by May-June
Mon Jan 06, 2014 11:31 am
Forum: State Space Models/DSGE
Topic: The last values of the states are so large
Replies: 6
Views: 10352

The last values of the states are so large

Dear Tom, Please help me to see why the last values of the estimated states are very very large in comparison with the others values of the states in this case. Many thanks for your helps. * * Create the matrix dec frml[rect] a dec frml[vect] z dec frml[symm] sw * nonlin mu Veta_T ph1 ph2 Veta_C Vet...
by May-June
Mon Jan 06, 2014 3:18 am
Forum: State Space Models/DSGE
Topic: Univariate state space model + exogenous variables
Replies: 2
Views: 7320

Re: Univariate state space model + exogenous variables

Thank you very much. It works.
by May-June
Sun Jan 05, 2014 5:36 pm
Forum: State Space Models/DSGE
Topic: Univariate state space model + exogenous variables
Replies: 2
Views: 7320

Univariate state space model + exogenous variables

Dear Tom, I'm trying to estimate a univariate state space model including one exogenous variable in the state and one exogenous variable in the observation equation. I got problem at the DLM estimation with the error : ## MAT2. Matrices with Dimensions 1 x 5 and 3 x 1 Involved in ~~ Operation So, pl...
by May-June
Sun Dec 08, 2013 8:26 am
Forum: State Space Models/DSGE
Topic: How to show the Kalman Gains?
Replies: 2
Views: 7185

Re: How to show the Kalman Gains?

Many thanks for your help.
by May-June
Sun Dec 08, 2013 4:43 am
Forum: State Space Models/DSGE
Topic: How to show the Kalman Gains?
Replies: 2
Views: 7185

How to show the Kalman Gains?

Dear Tom, I'm trying to replicate the KalMan filter of Stock and Watson (1991) and I would like to extract the Kalman Gain. I have added the option: Gain = Gain into DLM * dlm(start=%%DLMSetup(),y=yf,sw=sw,c=c,a=a,f=f,$ presample=ergodic,type=filter,$ pmeth=simplex,piters=10,Gain=Gain,method=bfgs) 1...