Hello.
If anyone can help me with STATA code, I would really appreciate it.
I am very new to STATA and also statistics.
I want to compare the following ECM based forecasting model's out-of-sample forecasting ability with random walk's.
1. How can I generate random walk out-of-sample forecasts for various forecast horizons(1 quarter, 4quarters, 20quarters)?
2. How can I generate random walk out-of-sample forecasts with rolling regression(RO and AD) based on 20 quarters data for various forecast horizons(1 quarter, 4quarters, 20quarters)?
3. How can I generate ECM model out-of-sample forecasts with rolling regressions(RO and AS) based on 20 quarters data for various forecast horizons(1 quarter, 4quarters, 20quarters)?
If anyone can give me some advice, I would be sincerely appreciate it.
Thank you!.
The followings: 1. random walk 2. random walk with drift 3. ECM(error correction model)
Array
Related Posts with Random walk forecasting with rolling regression code
not enough memory for "merge"Dear community! I am trying two merge two files based on a facilityID which, however, is a unique i…
How to save the predicted value of regressionsDear Statalists' Can any one help me how to save the predicted value of many regressions. I have to …
forval loop with a time range and a large dataset: can it faster?Dear Stata users, I am using Stata 15.0 I have a variable "Dyadic_Tie", and it should be counted h…
Bug in margins with factor variable notation for quadratic termDescription: I think I found a bug with margins. specifically with the atmeans option. If the model…
Correct use of constraint in foreach cycleHi, I would like to set constraints later use them in a program. Here is a small example: sysuse au…
Subscribe to:
Post Comments (Atom)
0 Response to Random walk forecasting with rolling regression code
Post a Comment