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
Piecewise Constant Regression for Sales Time Series Estimation - A Principled Approach using the Minimum Description Length Principle
Umeå University, Faculty of Science and Technology, Department of Physics.
2026 (English)Independent thesis Advanced level (professional degree), 20 credits / 30 HE creditsStudent thesisAlternative title
Syckvis konstant regression för skattning av försäljningstidsserier - Ett principiellt tillvägagångssätt baserat på principen om minsta beskrivningslängd (Swedish)
Abstract [en]

The ability to accurately model sales time series plays an important role in the analysis routines of e-commerce businesses and has numerous applications in areas such as sales forecasting or in the detection of non-trivial relations between products. However, the stochastic nature, presence of artefacts from real world events (e.g. large sales events or server crashes) and the great range in purchase density caused by popularity differences make the analysis of sales data challenging, and flexible yet robust modelling procedures are required. In this thesis, we address these challenges in an application driven setting to replace a heuristic method for sales time series modelling in an item recommendation system developed by the data analysis company Sift Lab. We propose a novel piecewise constant regression (PCR) method to estimate expected purchase rates in sales time series using the Minimum Description Length (MDL) Principle for model selection. The PCR method searches the space of piecewise constant Poisson and Zero-Inflated Poisson (ZIP) models for an increasingly good approximation of the underlying structure of the data and uses a binary segmentation algorithm to navigate the space in an efficient manner. As selection criteria, we derived and evaluated three different coding schemes based on MDL theory. We evaluated the method in two settings: First, we compared the coding schemes on synthetic data and analysed the computational complexity of the binary segmentation algorithm. Second, we compared the PCR and the heuristic method on real sales time series data. An out-sample quality of fit test was performed, and the respective impact of each method on the recommendation system pipeline was assessed. Overall, the PCR method captured apparent structures in the data well but struggled with gradual behavioural changes and generally tended to underfit. A stochastic complexity encoding was found to provide the best model selection approach, supported by consistent results on both synthetic and out-sample quality of fit tests. Furthermore, the results suggested that Poisson noise was a more suitable modelling assumption than ZIP noise for the dataset considered. We found comparable performances for the PCR and heuristic method, both in terms of quality of fit and on recommendation system performance. However, the relative performance of the respective MDL codes did not align well between the two tests, suggesting that estimate and recommendation quality are not as directly connected as originally expected.

Place, publisher, year, edition, pages
2026. , p. 43
Keywords [en]
Sales time series, Piecewise Constant Regression, Minimum Descripion Length Principle, Change points, Binary Segmentation, Poisson distribution, Zero-Inflated Poisson distribution
National Category
Probability Theory and Statistics
Identifiers
URN: urn:nbn:se:umu:diva-256424OAI: oai:DiVA.org:umu-256424DiVA, id: diva2:2083815
External cooperation
Siftlab AB
Subject / course
Examensarbete i teknisk fysik
Educational program
Master of Science Programme in Engineering Physics
Supervisors
Examiners
Available from: 2026-07-07 Created: 2026-07-03 Last updated: 2026-07-07Bibliographically approved

Open Access in DiVA

fulltext(1806 kB)53 downloads
File information
File name FULLTEXT01.pdfFile size 1806 kBChecksum SHA-512
e558c655d5d2918b41fd372883cf2c38e1aeaa10bed768d5b6e9f171185d9979c2b85da6d4d5f6fc5d34ca236ab1581ac456133cd042758a6b19c53f04396c67
Type fulltextMimetype application/pdf

By organisation
Department of Physics
Probability Theory and Statistics

Search outside of DiVA

GoogleGoogle Scholar
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: 1183 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