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
Difference in months between dates in year-month formatHi, I am a beginner in learning stata. I have data where I have a column for month in numbers 1 to …
Struggling with hbarI've been working to finalize my code for a figure, and I'm struggling to be able to see the entiret…
Transpose between row and columnHi all, I know there are lots of posts about transpose, but I still find troubles with my table. I h…
keeping observation with lowest value and get the median of thatHello, I have a panel data and I want to keep the observation with the minimum value of Days for eac…
Wide to Long Reshaping Hi all, I have data in the following format: Code: * Example generated by -dataex-. For mo…
Subscribe to:
Post Comments (Atom)
0 Response to Random walk forecasting with rolling regression code
Post a Comment