OPIM-274 HW2-Solutions

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 4

OPIM-274 Business Forecasting

Fall 2022
Homework Assignment 2-Solutions

1) Problem 2.8

The correlation is 0.955. Note that Year 1 actual values serve as forecasts for Year 2. So, we
compute the correlation of forecasts and actuals in the data. As would be expected the
consumption pattern is similar from year to year.

Note: Do not use software built-in functions to find the correlation. Use the formula
and show enough details to identify that you used the formula.

r=
∑ (x i−x )( y i− y ) = 2136591.667 =0.954775
√ ∑ (xi −x)2 ∑ ( y i− y)2 2237794.341
(See attached workbook Electricity_2.8.xlsx for detailed calculations)

2) Problem 2.10

Time Series Plot of Total Revenues


2000

1500
Total Revenues

1000

500

Quarter Q1 Q1 Q1 Q1 Q1 Q1 Q1 Q1
Year 2000 2002 2004 2006 2008 2010 2012 2014

Time Series Plot of Growth - Absolute


140

120

100
Growth - Absolute

80

60

40

20

Quarter Q1 Q1 Q1 Q1 Q1 Q1 Q1 Q1
Year 2000 2002 2004 2006 2008 2010 2012 2014
1
a. The mean and median are not useful, given the strong trend in the data.

b. There is a clear slowing of percentage growth over time becoming stable around
20% percent. Note the outlier in 2011Q1 as the result of an acquisition.

3) Problem 2.11

The results for Forecast_1 (previous year) and Forecast_2 (long-run average) are

Using 1992-2015 data


Previous Monthly
Random Walk Year Avg
Mean
ME -0.01 0.06 0.03
MAE 7.02 3.39 2.46
RMSE 8.43 4.35 3.06
RelMAE 1.00 0.48 0.35
Median
MdE 0.20 0.20 0.16
MdAE 6.45 2.65 2.18
RMdSE 6.45 2.65 2.18
RelMdAE 1.00 0.41 0.34

N 288 288 288

2
The median measures are generally smaller but the patterns are consistent.

See the attached workbook.

a.
Monthly Average Forecasts appear to work the best given that it results in smaller errors
across most measures.

b.
This comparison is not fair. The monthly averages are calculated with all 25 years of
temperatures already factored into the forecast.

c.
The median measures are generally smaller but the patterns are consistent.

d.
The errors for both forecast methods include outliers and thus measures based on
medians are more reliable.

4) NVIDIA
a. Time Series Plot

3
Increasing (nonlinear) trend between September 2021 and mid to late November 2021,
then generally, decreasing with fluctuations.

b. See column C in NVDA-worked.xlsx


c. See column D in NVDA-worked.xlsx
d. See columns E and F in NVDA-worked.xlsx
e.
ME MAE MPE MAPE MSE RMSE RelMAE Thiel's U
Forecast 1 -0.3512 6.9018 -0.27% 3.10% 77.8797 8.8249 1.0000 1.0000
Forecast 2 -0.7003 8.6743 -0.54% 3.94% 112.6457 10.6135 1.2568 1.2027

f. Forecast 1 (Random Walk forecast) shows consistently better performance based on all
the measures (i.e., error measures are smaller for Forecast 1 relative to the ones for
Forecast 2).

You might also like