Skip to Content
Analytics Stories
book

Analytics Stories

by Wayne L. Winston
September 2020
Beginner to intermediate
528 pages
12h 33m
English
Wiley
Content preview from Analytics Stories

CHAPTER 32Guess How Many Are Coming to Dinner?

Small businesses need accurate forecasts of how many customers will show up every day. This helps them plan (using queueing theory discussed in Chapter 45, “The Waiting is the Hardest Part”) their daily staffing needs. In this chapter, we use 4.5 years (June 2001 through the end of 2005) of daily customer counts at a branch of a national restaurant chain to develop a simple model that can be used to forecast daily supper customer counts. We will predict the daily customer count using equation (1). Our work is in the file Dinner.xlsx.

equation

For example, suppose we want to predict the number of customers on Super Bowl Sunday, February 3, 2002. As we will see, this is the least busy day of the year for the restaurant. For this day:

  • Day # = 219 (February 3, 2002 is the 219th day in the data set).
  • Day of Week = Sunday.
  • Week of the Year = 32. The restaurant classified Thursday, June 28, 2001 as the first week of the year. They wanted to avoid partial weeks, so in 2002, Thursday June 27 was the first day of the year; in 2003, Thursday June 26 was the first day of the year; in 2004, Thursday July 1 was the first day of the year; and in 2005, Thursday June 30 was the first day of the year. This classification results in 2003 having 53 weeks. February 3, 2002 is in the 32nd week of 2001.
  • Special Day Adjustment will equal the adjustment for Super ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

People Analytics For Dummies

People Analytics For Dummies

Mike West
Lean Analytics

Lean Analytics

Alistair Croll, Benjamin Yoskovitz

Publisher Resources

ISBN: 9781119646037Purchase book