Digitala Vetenskapliga Arkivet

Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Sales Forecasting in the Retail Sector: Evaluating Geographic Context and Calendar Effects in Convenience stores Using Prophet and Google Places API
KTH, School of Electrical Engineering and Computer Science (EECS).
KTH, School of Electrical Engineering and Computer Science (EECS).
2025 (English)Independent thesis Basic level (degree of Bachelor), 10 credits / 15 HE creditsStudent thesisAlternative title
Försäljningsprognoser i detaljhandeln : En utvärdering av geografisk kontext och kalendereffekter i närbutiker med hjälp av Prophet och Google Places API (Swedish)
Abstract [en]

In the competitive retail sector, forecasting sales can be challenging due to volatile, location-specific consumer behavior and time-based fluctuations. This thesis examines how geographic context and calendar effects impact demand at Pressbyrån stores in Stockholm. Using the Google Places API, ten point-of-interest categories within 200 meters of each store were identified. Stores sharing identical binary point-of-interest profiles were grouped into clusters, yielding three large clusters whose daily sales were modeled with Facebook’s Prophet. For each cluster, a baseline Prophet model was compared to one enhanced with custom regressors for popular Swedish calendar events. While adding custom regressors slightly improved accuracy (2-5% reductions in Mean Absolute error, Root Mean Square Error, and Mean Absolute Percentage Error values), other percentage-based errors (Symmetric Mean Absolute Percentage Error) were inconsistent, and significant variability remained within clusters, suggesting other factors (for example, local demographics) influence demand as well. The findings highlight the limitations of a purely calendar and point-of-interest based approach and underscore the need for additional covariates (e.g. promotional activities) or more granular, store-specific model tuning. Future work should explore hybrid or alternative time-series methods and incorporate cross-validation across multiple forecast horizons. By integrating richer spatial, operational, and demographic data, subsequent models may achieve more robust, actionable forecasts tailored to each store’s unique context.

Abstract [sv]

I den konkurrensutsatta detaljhandelssektorn är det utmanande att prognostisera försäljning på grund av volatila, platsspecifika konsumentbeteenden och tidsberoende variationer. Denna avhandling undersöker hur geografisk kontext och kalendereffekter påverkar efterfrågan i Pressbyråns butiker i Stockholm. Med hjälp av Google Places API identifierades tio kategorier av intressepunkter (Points of Interest, POI) inom 200 meter från varje butik. Butiker med identiska binära POI-profiler grupperades i kluster, vilket resulterade i tre huvudkluster. För varje kluster modellerades den dagliga försäljningen med hjälp av Facebook Prophet. En baslinjemodell jämfördes med en modell som förstärkts med anpassade regressorer för svenska kalenderhändelser. Tillägget av anpassade regressorer förbättrade prognosnoggrannheten något, med 2–5% lägre fel för medelabsolutfel (MAE), rotmedelkvadratfel (RMSE) och medelabsolutprocentfel (MAPE). Däremot var resultaten för det symmetriska procentuella felmåttet (SMAPE) mer varierande, och betydande skillnader kvarstod mellan klustren. Detta tyder på att även andra faktorer, såsom lokal demografi, påverkar efterfrågan.Resultaten visar begränsningarna med ett tillvägagångssätt som enbart bygger på kalenderdata och intressepunkter (POI), och betonar behovet av ytterligare variabler, såsom kampanjaktiviteter, eller mer detaljerad modellanpassning på butiksnivå. Framtida studier bör undersöka hybridmodeller eller alternativa tidsseriemetoder och tillämpa korsvalidering över olika prognoshorisonter. Genom att integrera mer detaljerad geografisk, operativ och demografisk data kan modellerna ge robustare och mer användbara prognoser, anpassade till varje butiks unika förutsättningar.

Place, publisher, year, edition, pages
2025. , p. 48
Series
TRITA-EECS-EX ; 2025:493
Keywords [en]
Time series modeling, Convenience store forecasting, Machine Learning, Facebook Prophet, Google Places API
Keywords [sv]
Tidsseriemodellering, Försäljningsprognoser för närbutiker, Maskininlärning, Facebook Prophet, Google Places API
National Category
Computer and Information Sciences
Identifiers
URN: urn:nbn:se:kth:diva-368134OAI: oai:DiVA.org:kth-368134DiVA, id: diva2:1987424
External cooperation
Reitan Convenience
Supervisors
Examiners
Available from: 2025-08-11 Created: 2025-08-06 Last updated: 2025-08-11Bibliographically approved

Open Access in DiVA

fulltext(1387 kB)279 downloads
File information
File name FULLTEXT01.pdfFile size 1387 kBChecksum SHA-512
b626ffbc2233b8d864d1ee9edf06146ae9638009f86c32784a53175858b7f2f76b3e44a3cf3b2c51f07022df69f1d049844ad342692c3022c70a8e8b1fd3c29e
Type fulltextMimetype application/pdf

By organisation
School of Electrical Engineering and Computer Science (EECS)
Computer and Information Sciences

Search outside of DiVA

GoogleGoogle Scholar
Total: 283 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 577 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf