Year Airfare 2004 402.26 2005 391.5 2006 405.48 2007 390.3 2008 400.27 2009 359.91 2010 383.48 2011 402.45 2012 406.13 2013 407.99 2014 411.67 2015 395.7 2016 361.94 2017 352.85 2018 346.49 In R language, 1) Conduct time series plot of the average airfare data. Question #1: What patterns do you notice in the time series plot of average annual airfare from 2004 to 2018? (a. horizontal pattern, b. clear upward trend, c. clear seasonal effects, d. clear downward trend) 2) Use a simple moving average with n = 3 (3 years) to calculate a forecast for the average airfare in 2019. Question #2: What is the 2019 forecast for average airfare using the simple moving average technique? (Round to two decimal places) 3) Based on the predicted values up to 2018, calculate accuracy measures (MAE, MSE, RMSE, and MAPE) for the simple moving average method. Question #3: What is the MAE for the simple moving average method?(Round to two decimal places)

Microsoft Visual C#
7th Edition
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Joyce, Farrell.
Chapter2: Using Data
Section: Chapter Questions
Problem 18RQ
icon
Related questions
Question
Year Airfare
2004 402.26
2005 391.5
2006 405.48
2007 390.3
2008 400.27
2009 359.91
2010 383.48
2011 402.45
2012 406.13
2013 407.99
2014 411.67
2015 395.7
2016 361.94
2017 352.85
2018 346.49

In R language,
1) Conduct time series plot of the average airfare data. Question #1: What patterns do you notice in the time series plot of average annual airfare from 2004 to 2018? (a. horizontal pattern, b. clear upward trend, c. clear seasonal effects, d. clear downward trend)

2) Use a simple moving average with n = 3 (3 years) to calculate a forecast for the average airfare in 2019. Question #2: What is the 2019 forecast for average airfare using the simple moving average technique? (Round to two decimal places)

3) Based on the predicted values up to 2018, calculate accuracy measures (MAE, MSE, RMSE, and MAPE) for the simple moving average method. Question #3: What is the MAE for the simple moving average method?(Round to two decimal places)


4) Use a simple exponential smoothing with a smoothing constant of 0.2 to calculate a forecast for the average airfare in 2019.
Question #4: What is the 2019 forecast for average airfare using simple exponential smoothing with a smoothing constant of 0.2?
 

5) Based on the predicted values up to 2018, calculate accuracy measures (MAE, MSE, RMSE, and MAPE) for the simple moving average method. Question #5: What is the MAE for the simple exponential smoothing method with a smoothing constant of 0.2? (Round to two decimal places)
 

6) Use a simple exponential smoothing with a smoothing constant of 0.8 to calculate a forecast for the average airfare in 2019.
Question #6: What is the 2019 forecast for average airfare using simple exponential smoothing with a smoothing constant of 0.8?(Round to two decimal places)


7) Based on the predicted values up to 2018, calculate accuracy measures (MAE, MSE, RMSE, and MAPE) for the simple moving average method. Question #7: What is the MAE for the simple exponential smoothing method with a smoothing constant of 0.8? (Round to two decimal places)


Question #8: Reviewing the accuracy measure values for each of these forecasting attempts, which would you trust most to provide the most accurate forecast of 2019 average airfare? (a. Simple moving average, b.Exponential smoothing method with a smoothing constant of 0.2, c. Exponential smoothing method with a smoothing constant of 0.8)

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 5 steps with 5 images

Blurred answer
Knowledge Booster
Binary numbers
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
Systems Architecture
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning
Fundamentals of Information Systems
Fundamentals of Information Systems
Computer Science
ISBN:
9781305082168
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning