Please download EURUSD spot exchange rate data from Yahoo Finance by using ‘yfinance’ module or use FRED database (Data period: 2010-Jan to 2024-Jan; Data frequency: Weekly) a) Use moving-window data samples to fit ARIMA(p,d,q) model to the EURUSD time series as follows: Set the first sub-sample as the first 4-year of the data starting from 2010-Jan. Fit ARIMA to that subsample. Write the FX forecast for the subsequent 25 weeks (roughly 6 months). Calculate RMSE measure of your forecasts. Then, repeat the same process over sequential data windows moving 6-monthly steps. For example, Sub-Sample 1 to fit the model (Training Sample) will be 2010-Week 1 to the end of 2013-Dec. (i.e. 4 years). Then please generate a forecast for 2014-Jan to 2014-Jun period by using the ARIMA fitted to the Training Sample, then calculate RMSE and record it. Then, in the second step, Sub-Sample 2 Training Data will cover the 2010-Jun to 2014-Jun window, and the forecast will be calculated for the consecutive 6 months upto 2014-Dec, and so on. You can formulate this with a FOR-LOOP. Run the repeated forecasting and RMSE numbers. Plot a chart of RMSE values for each of the training-forecasting periods up to the end of the sample.  b). Repeat Step 1 with a Naïve forecast based on the Average value. (i.e. training sample mean). Plot the RMSE values. c). Interpret and discuss results. Which method works better? And which one need to be recommended and why?

ENGR.ECONOMIC ANALYSIS
14th Edition
ISBN:9780190931919
Author:NEWNAN
Publisher:NEWNAN
Chapter1: Making Economics Decisions
Section: Chapter Questions
Problem 1QTC
icon
Related questions
Question

Please download EURUSD spot exchange rate data from Yahoo Finance by using ‘yfinance’ module or use FRED database (Data period: 2010-Jan to 2024-Jan; Data frequency: Weekly)

a) Use moving-window data samples to fit ARIMA(p,d,q) model to the EURUSD time series as follows: Set the first sub-sample as the first 4-year of the data starting from 2010-Jan. Fit ARIMA to that subsample. Write the FX forecast for the subsequent 25 weeks (roughly 6 months). Calculate RMSE measure of your forecasts. Then, repeat the same process over sequential data windows moving 6-monthly steps. For example, Sub-Sample 1 to fit the model (Training Sample) will be 2010-Week 1 to the end of 2013-Dec. (i.e. 4 years). Then please generate a forecast for 2014-Jan to 2014-Jun period by using the ARIMA fitted to the Training Sample, then calculate RMSE and record it. Then, in the second step, Sub-Sample 2 Training Data will cover the 2010-Jun to 2014-Jun window, and the forecast will be calculated for the consecutive 6 months upto 2014-Dec, and so on. You can formulate this with a FOR-LOOP. Run the repeated forecasting and RMSE numbers. Plot a chart of RMSE values for each of the training-forecasting periods up to the end of the sample.  b). Repeat Step 1 with a Naïve forecast based on the Average value. (i.e. training sample mean). Plot the RMSE values. c). Interpret and discuss results. Which method works better? And which one need to be recommended and why?

Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
ENGR.ECONOMIC ANALYSIS
ENGR.ECONOMIC ANALYSIS
Economics
ISBN:
9780190931919
Author:
NEWNAN
Publisher:
Oxford University Press
Principles of Economics (12th Edition)
Principles of Economics (12th Edition)
Economics
ISBN:
9780134078779
Author:
Karl E. Case, Ray C. Fair, Sharon E. Oster
Publisher:
PEARSON
Engineering Economy (17th Edition)
Engineering Economy (17th Edition)
Economics
ISBN:
9780134870069
Author:
William G. Sullivan, Elin M. Wicks, C. Patrick Koelling
Publisher:
PEARSON
Principles of Economics (MindTap Course List)
Principles of Economics (MindTap Course List)
Economics
ISBN:
9781305585126
Author:
N. Gregory Mankiw
Publisher:
Cengage Learning
Managerial Economics: A Problem Solving Approach
Managerial Economics: A Problem Solving Approach
Economics
ISBN:
9781337106665
Author:
Luke M. Froeb, Brian T. McCann, Michael R. Ward, Mike Shor
Publisher:
Cengage Learning
Managerial Economics & Business Strategy (Mcgraw-…
Managerial Economics & Business Strategy (Mcgraw-…
Economics
ISBN:
9781259290619
Author:
Michael Baye, Jeff Prince
Publisher:
McGraw-Hill Education