MsrRegression procedure outputs
Posted: Thu Nov 05, 2015 12:05 am
Hi all,
I try to estimate a single equation 2-regime MS linear model using MsrRegression procedure. Does anyone know how I can extract the fitted values, the residuals, the raw and smoothed probabilities? In addition, how can I produce forecasts if I have forecast inputs and know the forecast states by modelling the regime one probability series with a logistic model? Lastly, I used the standard codes (example 9.1) in the e-course for the ML estimation, and I got the following error: MAT15, the subscripts are too large or non-positive error was evaluating entry 107.
The problem starts from here:
Set p1smooth = psmooth(t) (1)
Graph ....
Could anyone know how to fix this problem?
Many thanks
I try to estimate a single equation 2-regime MS linear model using MsrRegression procedure. Does anyone know how I can extract the fitted values, the residuals, the raw and smoothed probabilities? In addition, how can I produce forecasts if I have forecast inputs and know the forecast states by modelling the regime one probability series with a logistic model? Lastly, I used the standard codes (example 9.1) in the e-course for the ML estimation, and I got the following error: MAT15, the subscripts are too large or non-positive error was evaluating entry 107.
The problem starts from here:
Set p1smooth = psmooth(t) (1)
Graph ....
Could anyone know how to fix this problem?
Many thanks