Docsity

Data Analysis Questions for E-commerce Retail Sales, Exams of Advanced Data Analysis

Partial preview of the text

Download Data Analysis Questions for E-commerce Retail Sales and more Exams Advanced Data Analysis in PDF only on Docsity!

Download the Excel data of E-commerce Retail Sales and follow the steps below for time series forecasting. To be able to receive full credit, you must show your computations in the space provided for each question. 1. The series begin with the first quarter of 2013 and end with the first quarter of 2018. Show the time plot series that display quarterly e-commerce retail sales as a percent of total U.S. retail sales. Show your plot in the space provided below: Time Series Plot of Quarterly E-commerce Retail Sales as Percent of Total U.S. Retail sales 11.00 10.00 E-commerce (% of tota U.S retail) _ 2 8 ยฐ 5 10 15 20 25 Time (Quarters) 2p.) 2. Calculate the moving averages for each observation in the data based on periods 1, 2, 3, and 4. Show the time plot of quarterly e-commerce retail sales along with the moving-average forecasts based on a span of kโ€”4. Make sure to include the labels of x and y axes and adjust the values on the plot to show the possible changes more clearly over the time. Show your plot in the space provided below: Moving averages The first one was calculated using the average of the first 4 quarters and centered at period t=2. This formula was copied down up to the cell for t= 19 Moving Average Plot of Quarterly E-commerce Retail Sales as Percent of Total U.S. Retail sales 9.20 8.70 E-commerce retail sales (% of tota U.S retail) N eu t=) 2 4 6 8 10 12 14 16 18 20 Time (Quarters) Gp.) 3. Use the figure from question #2 to interpret the scasonal regularity to the time serics data (c- commerce retail sales). For instance, in which quarters do you observe percent sales are the lowest or the highest, or in which quarters do you observe a rise or a decline? Compare and contrast the component that you observe in the time series and the moving averages. While both the time series and the moving average have the same positive trend, in the time series plot the seasonal trend happens after every 4 quarters. The fourth quarter of every year has the highest percent of retail sales while the second quarter has the lowest percent in every year. In the moving average trend, the lowest retail sales percent is observed after every 3 quarters. (4p.) 4. Calculate the centered moving average (CMA) and show the time plot of quarterly e- commerce retail sales along with the centered moving-average forecasts based on a span of k=4. Make sure to include the labels of x and y axes and adjust the values on the plot to show the possible changes more clearly over the time. In the space provided below, show your plot, and compare and interpret the trend of two series. Calculation of CMA The value was calculated by finding the average of MA for period t=2 and t=3, and the centered at period t=3. The formula was then copied down to period t=19 6. Regress the de-seasonality component of quarterly e-commerce retail sales on time component. In the space provided below, show your regression output and the regression equation using trend-and-season predictive model from the simple linear regression output. SUMMARY OUTPUT Regression Statistics Multiple R 0.995645 R Square 0.991308 Adjusted R Square 0.990851 Standard Error 0.115605 Observations 21 ANOVA Significance df 3S Ms F F Regression 1 28.95988 28.95987601 2166.931378 4,79E-21 Residual 19 0.253925 0.013364464 Total 20 29.2138 Standard Coefficients Error t Stat P-value Lower 95% Upper 95% Intercept 5.219641 0.052312 99,77925191 2.60468E-27 5.11015 5.329130547 t 0.193934 0.004166 โ€”_46.55031019 4.78827E-21 0.185214 _0.202653329 (6p.) 7. Create a plot using de-seasonality component of quarterly e-commerce retail sales along with a linear trend fit and interpret the graph. In the space provided below, show your plot and label x and y axes, and adjust the values on the plot. Deseasonality Component Plot of Quarterly E-commerce Retail Sales as Percent of Total U.S. Retail sales 9.5 3 x) a ยฐ | a a 8.5 3 i} 8 โ€˜375 y =0.1939x + 5.2196 z& uw 7 8 rr 365 g @ 6 9 2 55 5 Es 8 2 4 6 8 10 12 14 16 18 20 22 a Time (Quarters) Prediction equation Y=0.1939x + 5.2196 Slope = 0.1939 The slope shows that an increase in time by 1 quarter leads to an increase in quarterly e-commerce retail sales as a percent of total U.S. retail sales by approximately 0.1939 percent. Intercept = 5.2196 When time is at 0 quarter, the quarterly e-commerce retail sales as a percent of total U.S. retail sales is predicted to be equal to 5.2196% Gp.) Compute a forecast for the series of third quarter on the time plot of quarterly e-commerce retail sales. Note that the series end on the first quarter with =21. Make sure to include the scasonality ratio for the appropriate quarter corresponding to the valuc of f. y(t = [a+b (O] x SR a= 2196 b=0.1939 t=23 SR = 0.926693 Data Analysis Questions for Monthly Sales for Office Supply and Stationery Stores: Downlod the Excel data of Monthly Sales for Office Supply and Stationery Stores and follow the steps below for regression based-time series forecasting. To be able to receive full credit, you must show your computations in the space provided for each question. The Census Bureau tracks a varicty of retail and service sales using the Monthly Retail Trade Survey. Consider the monthly sales (in millions of dollars) from January 2014 through April 2018 for office supply and stationery stores. 1. Create a time plot for monthly sales for office supply and stationary stores with the months labeled โ€œ1โ€ for January, โ€œ2โ€ for February, and so on. Show your plot in the space provided below: A Plot of Monthly Sales Against Months 1800 1700 1600 1500 1400 1300 1200 1100 1000 900 800 oO 10 20 30 40 50 60 Time (Month) Sales 2. Interpret the characteristics of monthly sales for this sector in terms of time serics component, such as trend, seasonality, cyclical pattern etc. over the time. Do you observe any pattern from the data that repeats itself at a regular interval? The time series has a decreasing trend over time. There are regular patterns that repeat over a fixed period of time which makes the time series have a seasonal trend. The maximum purchase is always on August, then the largest minimum occurs every June and then the graph starts to rise. (4p.) 3. In which month do you observe a dramatic increase or decrease for the sales? Explain the reason very briefly. The month with dramatic increase is August. โ€˜This can be attributed to the offers available for back to school and Labor Day holidays which increases the amount of sales. (2p.) 4, Regress the monthly sales to a time variable and show the regression output in the space provided below. Interpret the results in terms of explained variability and the significance of the model. Carry out regression using month as the independent variable and monthly sales as the dependent variable. SUMMARY OUTPUT Regression Statistics Multiple R 0.58624 R Square 0.343677 Adjusted R Square 0.330551 Standard Error 147.5591 Observations 52 ANOVA Significance af SS MS F F Regression it 570079.5 570079.5 26.18204 4.96E-06 Residual 50 1088684 21773.68 Total Si 1658764 terms of model fit which is reflected in explained variability and the significance of the trend-and-season model. The indicator variables used for the variables were, 1 and 0. 1 was for when the month is that given month and zero when it is not. SUMMARY OUTPUT Regression Statistics Multiple R 0.990881242 R Square 0.981845636 Adjusted RSquare 0.976259678 Standard Error 27.78756409 Observations 52 ANOVA Significance df SS MS F F Regression 12 1628649.892 135720.8 175.7703 4.89E-30 Residual 39 30113.8 772.1487 Total $1 1658763.692 Upper Coefficients Standard Error t Stat P-value _ Lower 95% 95% Intercept 1441.125 15.91732698 90.53813 5.94E-47 1408.929 1473.321 Coded Time 7.104166667 0.258895343 -27.4403 4.12E-27 -7,62783 -6.5805 jan 40.67916667 18.68535772 2.177061 0.035592 2.884463 78.47387 feb 137.8166667 18.66920866 -7.38203 6.44E-09 -175.579 = -100.055 mar -85,3125 18.65663861 -4.57277 4.77E-05 -123.049 -47.5759 apr 163.4083333 18.64765482 -8.76294 9.37E-11 -201.127 -125.69 may 186.7291667 19.73217353 -9.46318 1.19E-11 -226.641 -146.817 jun -255.375 19.71008178 -12.9566 1.04E-15 -295.242 = -215.508 jul 162.7708333 19.6913694 -8.2661 4.19E-10 -202.6 -122.941 aug 312.3333333 19.67604604 15.87379 1.3E-18 272.5348 352.1319 sep 20.6875 19.66411961 1.052043 0.299255 -19.0869 60.46194 oct 138.7083333 19.65559631 -7.05694 1.79E-08 -178.466 -98.9511 nov 183.3541667 19.65048055__-9.33077 __1.75E-11 -223.101 _-143.607 R-squared = 0.982 The model of multiple linear regression using indicator variables for monthly sales to a time variable explains about 98.2% of the variability in monthly sales using time variable. p-value < 0.05 Since p-valuc is less than the significance level, 0.05, the model is significant at predicting the monthly sales using time variable. (6p.) 8. Compare and contrast the model fits of trend-only model and trend-and-scason model in terms of explained variability and the significance of the model. The trend only model predicts approximately 34.4% of the variability in the dependent variable while the trend-and-season model predicts approximately 98.2% of the variation in dependent variable. This shows that the trend-and- season model predicts a high variation in the dependent variable. (4p.) 9. Test the significance of each indicator variable and report if there is any insignificant variable exists in the trend-and-season model. Significant variables are those with the p-values less than 0.05. The significant variables are: January, February, march, April, may, June, July, August, September, October, November, and December. The only month not significant is September. (2p.) 10. Explain very briefly the reason why some coefficients of the indicator variables are negative from trend-and-season model. Bonus Question: (Extra Credit 10 p) Fora large retailer, the plot below gives the sales for the first quarter of 1998 through the last quarter of 2002 in millions of dollars. 3500 4 Sales 1300 4 Indicator variables corresponding to first, second, and third quarters were added to the linear trend model. These indicator variables are X1, X2, and X3. The estimated trend- and-scason model is: Sales โ€” 4120+ 25x โ€”1900X1 โ€”2500X2-1800X3 where x is the number of quarters elapsed since the beginning of the series. Using this estimated trend-and-season model, the predicted sales for the second quarter of 2003 are: Number of years between 2003 and 1998 =2003-1998 =ยง Quarters per year =4 Total number of quarters before second quarter of 2003 =2012 =22 K=22) indicator variable, X1โ€”0, X2-1, X3-0 Sales โ€” 4129 +25*22โ€”2500*1 =$ 2170 Million