Forecasting Random Walk
Posted: Thu Nov 03, 2016 9:13 am
Hello,
I have a variable S_t and I would like to "estimate" a "random walk" of the following type:
S_t = S_t-x + error_t, where x is an arbitrary number bigger than 1. Then I want to do one step ahead out of sample forecasting.
Afterwards I would like to estimate the following model: S_t-S_(t-x) = \alpha*Z_t-1 + error_t and also want to do one step ahead out of sample forecasting.
Afterwards I want to compare the forecasts and test for equal MSEs and encompassing by using the clarkforetest.src procedure, because the models are nested.
So basicly I want to test a random walk, with a larger difference than 1, against an alternative model with an explainatory varriable and then apply Clark and McCrakens procedure. Is there any suggestion how I can do that? I dont know to "estimate" a model S_t = S_t-x + error_t, I know that the coefficient is one, but how can I put that into the clarkforetest.src procedure?
Thank you for your help
Best Jules
I have a variable S_t and I would like to "estimate" a "random walk" of the following type:
S_t = S_t-x + error_t, where x is an arbitrary number bigger than 1. Then I want to do one step ahead out of sample forecasting.
Afterwards I would like to estimate the following model: S_t-S_(t-x) = \alpha*Z_t-1 + error_t and also want to do one step ahead out of sample forecasting.
Afterwards I want to compare the forecasts and test for equal MSEs and encompassing by using the clarkforetest.src procedure, because the models are nested.
So basicly I want to test a random walk, with a larger difference than 1, against an alternative model with an explainatory varriable and then apply Clark and McCrakens procedure. Is there any suggestion how I can do that? I dont know to "estimate" a model S_t = S_t-x + error_t, I know that the coefficient is one, but how can I put that into the clarkforetest.src procedure?
Thank you for your help
Best Jules