Assessing the effects of recent events on Chipotle sales...

35
1 Dr. Simon Sheather SAS Day 2016 Assessing the effects of recent events on Chipotle sales revenue

Transcript of Assessing the effects of recent events on Chipotle sales...

Page 1: Assessing the effects of recent events on Chipotle sales ...online.stat.tamu.edu/dist/analytics/sasday2016/... · 7 Predicting quarterly revenue for Chipotle Mexican Grill •We wish

1Dr. Simon Sheather SAS Day 2016

Assessing the effects of recent events on Chipotle sales revenue

Page 2: Assessing the effects of recent events on Chipotle sales ...online.stat.tamu.edu/dist/analytics/sasday2016/... · 7 Predicting quarterly revenue for Chipotle Mexican Grill •We wish

22

InFebruary2005,Imovedfrom

Page 3: Assessing the effects of recent events on Chipotle sales ...online.stat.tamu.edu/dist/analytics/sasday2016/... · 7 Predicting quarterly revenue for Chipotle Mexican Grill •We wish

33

HeadoftheDepartmentofStatistics:March1,2005untilFebruary28,2014

Page 4: Assessing the effects of recent events on Chipotle sales ...online.stat.tamu.edu/dist/analytics/sasday2016/... · 7 Predicting quarterly revenue for Chipotle Mexican Grill •We wish

44

InFall2007,MS(Statistics)onlinebeganwith20students

Page 5: Assessing the effects of recent events on Chipotle sales ...online.stat.tamu.edu/dist/analytics/sasday2016/... · 7 Predicting quarterly revenue for Chipotle Mexican Grill •We wish

55

In2012,TexasA&MStatisticalServicesLPwasformed

Page 6: Assessing the effects of recent events on Chipotle sales ...online.stat.tamu.edu/dist/analytics/sasday2016/... · 7 Predicting quarterly revenue for Chipotle Mexican Grill •We wish

66

InFall2013,MS(Analytics)face‐to‐faceandonlinebegan

Page 7: Assessing the effects of recent events on Chipotle sales ...online.stat.tamu.edu/dist/analytics/sasday2016/... · 7 Predicting quarterly revenue for Chipotle Mexican Grill •We wish

77

PredictingquarterlyrevenueforChipotleMexicanGrill

• WewishtodevelopatimeseriesmodelforthequarterlyrevenueofChipotleMexicanGrill,inordertoprovideforecastsofquarterlyrevenueforthenexttwoquarters,namelyquarters3and4of2016.WeshallconsiderChipotle’squarterlyrevenuefromthefirstquarterof2004untilthelatestavailableresultsnamely,thesecondquarterof2016.Weshalldevelop2models,namely,

1. Atimeseriesmodel2. Aregressionmodel(withtimeserieserrors)usingthe

followingpredictors1) TotalnumberofexistingChipotlestoresatthebeginningof

eachquarter2) NumberofnewChipotlestoresopenedduringeachquarter

Page 8: Assessing the effects of recent events on Chipotle sales ...online.stat.tamu.edu/dist/analytics/sasday2016/... · 7 Predicting quarterly revenue for Chipotle Mexican Grill •We wish

88

Source: http://www.foodsafetynews.com/2015/12/a‐timeline‐of‐chipotles‐five‐outbreaks/#.WAz‐H3nrvbh

Page 9: Assessing the effects of recent events on Chipotle sales ...online.stat.tamu.edu/dist/analytics/sasday2016/... · 7 Predicting quarterly revenue for Chipotle Mexican Grill •We wish

99

Page 10: Assessing the effects of recent events on Chipotle sales ...online.stat.tamu.edu/dist/analytics/sasday2016/... · 7 Predicting quarterly revenue for Chipotle Mexican Grill •We wish

1010

Regressionmodel

Conclusions:• Evidence of non constant variance in the residuals, we shall consider a logarithmic 

transformation of revenue and the predictors.

Page 11: Assessing the effects of recent events on Chipotle sales ...online.stat.tamu.edu/dist/analytics/sasday2016/... · 7 Predicting quarterly revenue for Chipotle Mexican Grill •We wish

1111

Regressionmodel

Conclusions:• Evidence of outliers in the residuals• Evidence of autocorrelation in the residuals

Page 12: Assessing the effects of recent events on Chipotle sales ...online.stat.tamu.edu/dist/analytics/sasday2016/... · 7 Predicting quarterly revenue for Chipotle Mexican Grill •We wish

1212

Residualsfromregressionmodel

Page 13: Assessing the effects of recent events on Chipotle sales ...online.stat.tamu.edu/dist/analytics/sasday2016/... · 7 Predicting quarterly revenue for Chipotle Mexican Grill •We wish

1313

Residualsfromregressionmodel

Conclusions:• We shall consider an AR(5) model for the residuals from the least squares regression 

model

Page 14: Assessing the effects of recent events on Chipotle sales ...online.stat.tamu.edu/dist/analytics/sasday2016/... · 7 Predicting quarterly revenue for Chipotle Mexican Grill •We wish

1414

Residualsfromregressionmodel

Conclusions:• We shall begin by considering an AR(5) model for the residuals from the least squares 

regression model

Page 15: Assessing the effects of recent events on Chipotle sales ...online.stat.tamu.edu/dist/analytics/sasday2016/... · 7 Predicting quarterly revenue for Chipotle Mexican Grill •We wish

1515

RegressionmodelwithAR(5)errors

Notice that the coefficient of Log[New Store Openings] is positive and statistically significant 

Page 16: Assessing the effects of recent events on Chipotle sales ...online.stat.tamu.edu/dist/analytics/sasday2016/... · 7 Predicting quarterly revenue for Chipotle Mexican Grill •We wish

1616

RegressionmodelwithAR(5)errors

Page 17: Assessing the effects of recent events on Chipotle sales ...online.stat.tamu.edu/dist/analytics/sasday2016/... · 7 Predicting quarterly revenue for Chipotle Mexican Grill •We wish

1717

Comparisonofregressionmodels

Page 18: Assessing the effects of recent events on Chipotle sales ...online.stat.tamu.edu/dist/analytics/sasday2016/... · 7 Predicting quarterly revenue for Chipotle Mexican Grill •We wish

1818

RegressionmodelwithARgapmodelerrors

Conclusions: For every 1% increase in • Existing stores, Chipotle’s quarterly revenue is predicted to increase by 100*(1.011.26554 – 1) = 1.27%• New stores, Chipotle’s quarterly revenue is predicted to increase by 100*(1.010.03651 – 1) = 0.04%

Page 19: Assessing the effects of recent events on Chipotle sales ...online.stat.tamu.edu/dist/analytics/sasday2016/... · 7 Predicting quarterly revenue for Chipotle Mexican Grill •We wish

1919

RegressionmodelswithARgapmodelerrors

Page 20: Assessing the effects of recent events on Chipotle sales ...online.stat.tamu.edu/dist/analytics/sasday2016/... · 7 Predicting quarterly revenue for Chipotle Mexican Grill •We wish

2020

RegressionmodelwithARgapmodelerrors

Page 21: Assessing the effects of recent events on Chipotle sales ...online.stat.tamu.edu/dist/analytics/sasday2016/... · 7 Predicting quarterly revenue for Chipotle Mexican Grill •We wish

2121

Timeseriesmodel

Conclusions:• Quarterly revenue increases over time, as does the variability in the quarterly revenue. • In order to stabilize the variability, we shall consider a logarithmic transformation of revenue.

Page 22: Assessing the effects of recent events on Chipotle sales ...online.stat.tamu.edu/dist/analytics/sasday2016/... · 7 Predicting quarterly revenue for Chipotle Mexican Grill •We wish

2222

Timeseriesmodel

Conclusions:• A logarithmic transformation of revenue stabilizes the variability of the series• With an increasing trend in Log[Revenue ($M)] there is a need for differencing

Page 23: Assessing the effects of recent events on Chipotle sales ...online.stat.tamu.edu/dist/analytics/sasday2016/... · 7 Predicting quarterly revenue for Chipotle Mexican Grill •We wish

2323

Timeseriesmodel

Conclusions:• Apart from 2013, Log[Revenue ($M)] is lower in the first quarter when compared to the other 

three quarters, for which Log[Revenue ($M)] is similar each year. • In other words, there is evidence of seasonality in the log transformed revenue data.

Page 24: Assessing the effects of recent events on Chipotle sales ...online.stat.tamu.edu/dist/analytics/sasday2016/... · 7 Predicting quarterly revenue for Chipotle Mexican Grill •We wish

2424

Timeseriesmodel

Conclusions:• The Ljung‐Box Q statistic is statistically significant at lags 1, 7 and 8, with lag 1 being the most 

statistically significant. • With parsimony in mind, we begin by considering models just based on lag 1 autoregressive (AR) 

and/or moving average (MA) terms. 

Page 25: Assessing the effects of recent events on Chipotle sales ...online.stat.tamu.edu/dist/analytics/sasday2016/... · 7 Predicting quarterly revenue for Chipotle Mexican Grill •We wish

2525

Timeseriesmodel

Conclusions:• The seasonal ARIMA(0,1,1)(0,1,0)4 model produces the lowest values of AIC (Akaike

Information Criterion) and SBC (Schwartz Bayesian Criterion) and hence is deemed to be the “best” of the four models considered. 

Page 26: Assessing the effects of recent events on Chipotle sales ...online.stat.tamu.edu/dist/analytics/sasday2016/... · 7 Predicting quarterly revenue for Chipotle Mexican Grill •We wish

2626

Timeseriesmodel

Conclusions:• The seasonal ARIMA(0,1,0)(0,1,0)4 is a valid model.• A number of outliers are evident in the plot of the residuals 

Page 27: Assessing the effects of recent events on Chipotle sales ...online.stat.tamu.edu/dist/analytics/sasday2016/... · 7 Predicting quarterly revenue for Chipotle Mexican Grill •We wish

2727

Timeseriesmodel

Time Type2014Q1 Level Shift (LS)2013Q2 Level Shift (LS)2016Q1 Additive Outlier (AO)2015Q4 Level Shift (LS)2006Q1 Level Shift (LS)

Page 28: Assessing the effects of recent events on Chipotle sales ...online.stat.tamu.edu/dist/analytics/sasday2016/... · 7 Predicting quarterly revenue for Chipotle Mexican Grill •We wish

2828

Timeseriesmodelallowingfor1AOand4LS

Page 29: Assessing the effects of recent events on Chipotle sales ...online.stat.tamu.edu/dist/analytics/sasday2016/... · 7 Predicting quarterly revenue for Chipotle Mexican Grill •We wish

2929

EstimatedpercentagechangeinChipotle’squarterlyrevenuedueto4levelshiftsandanadditiveoutlier

Time Type % change

2006Q1 Level Shift (LS) ‐5.7

2013Q2 Level Shift (LS) ‐14.0

2014Q1 Level Shift (LS) 22.9

2015Q4 Level Shift (LS) ‐15.5

2016Q1 Additive Outlier (AO) ‐13.1Chipotle (https://chipotle.com/2015incidents) reports on the following “food safety incidents of 2015” 

Norovirus in August and December, 2015 Salmonella in August, 2015 E. coli in October‐November, 2015

Page 30: Assessing the effects of recent events on Chipotle sales ...online.stat.tamu.edu/dist/analytics/sasday2016/... · 7 Predicting quarterly revenue for Chipotle Mexican Grill •We wish

3030

Timeseriesmodelallowingfor1AOand4LS

Level shift

Level shift

Additive outlier

Page 31: Assessing the effects of recent events on Chipotle sales ...online.stat.tamu.edu/dist/analytics/sasday2016/... · 7 Predicting quarterly revenue for Chipotle Mexican Grill •We wish

3131

Timeseriesmodelallowingfor1AOand4LS

Page 32: Assessing the effects of recent events on Chipotle sales ...online.stat.tamu.edu/dist/analytics/sasday2016/... · 7 Predicting quarterly revenue for Chipotle Mexican Grill •We wish

3232

Timeseriesmodelpredictions

Page 33: Assessing the effects of recent events on Chipotle sales ...online.stat.tamu.edu/dist/analytics/sasday2016/... · 7 Predicting quarterly revenue for Chipotle Mexican Grill •We wish

3333

Source: http://ir.chipotle.com/phoenix.zhtml?c=194775&p=irol‐newsArticle&ID=2206614

Page 34: Assessing the effects of recent events on Chipotle sales ...online.stat.tamu.edu/dist/analytics/sasday2016/... · 7 Predicting quarterly revenue for Chipotle Mexican Grill •We wish

3434

Source: http://ir.chipotle.com/phoenix.zhtml?c=194775&p=irol‐newsArticle&ID=2215726

Page 35: Assessing the effects of recent events on Chipotle sales ...online.stat.tamu.edu/dist/analytics/sasday2016/... · 7 Predicting quarterly revenue for Chipotle Mexican Grill •We wish

3535

Analyst’sexpectationsaboutrevenue