Maintenance Notice

Due to necessary scheduled maintenance, the JMIR Publications website will be unavailable from Wednesday, July 01, 2020 at 8:00 PM to 10:00 PM EST. We apologize in advance for any inconvenience this may cause you.

Who will be affected?

Accepted for/Published in: Journal of Medical Internet Research

Date Submitted: Nov 29, 2022
Open Peer Review Period: Nov 28, 2022 - Jan 23, 2023
Date Accepted: Oct 30, 2023
(closed for review but you can still tweet)

The final, peer-reviewed published version of this preprint can be found here:

Tensorial Principal Component Analysis in Detecting Temporal Trajectories of Purchase Patterns in Loyalty Card Data: Retrospective Cohort Study

Autio R, Virta J, Nordhausen K, Fogelholm M, Erkkola M, Nevalainen J

Tensorial Principal Component Analysis in Detecting Temporal Trajectories of Purchase Patterns in Loyalty Card Data: Retrospective Cohort Study

J Med Internet Res 2023;25:e44599

DOI: 10.2196/44599

PMID: 38100168

PMCID: 10757224

Warning: This is an author submission that is not peer-reviewed or edited. Preprints - unless they show as "accepted" - should not be relied on to guide clinical practice or health-related behavior and should not be reported in news media as established information.

Tensorial principal component analysis in detecting purchase patterns in loyalty card data

  • Reija Autio; 
  • Joni Virta; 
  • Klaus Nordhausen; 
  • Mikael Fogelholm; 
  • Maijaliisa Erkkola; 
  • Jaakko Nevalainen

ABSTRACT

Background:

Loyalty card data automatically collected by retailers provide an excellent source for evaluating health-related purchase behaviour of customers. The data comprise information on every grocery purchase, including expenditures on products and time of purchase for each customer. Such data where customers have an expenditure value for every product for each time can be formulated as three-dimensional tensorial data.

Objective:

The aim of the study was to use the modern tensorial principal component analysis (tensorial PCA) method to disclose characteristics of health-related purchase patterns from loyalty card data. A further aim was to identify card holders with distinct purchase patterns. We also considered the interpretation as well as advantages and challenges of tensorial PCA compared with standard PCA.

Methods:

Loyalty card programme members from the largest retailer in Finland were invited to participate in the study. Our data consist of the purchases of 7251 card holders who consented to the use of their data from the year 2016. The purchases were re-classified into 55 products and aggregated across 52 weeks. The data were then analysed by tensorial PCA, allowing us to effectively reduce the time and product-wise dimensions simultaneously. The augmentation method was utilized for selecting the suitable number of principal components for the analysis.

Results:

By tensorial PCA, we were able to systematically search for typical food purchasing patterns across time and product groups as well as detect atypical behaviour across products and time, and differing purchasing behaviours across groups of card holders. For example, we identified customers who purchaseds large amounts of meat products and separated them further into groups based on time profiles, i.e. customers whose purchases of meat stayed stable, increased, or decreased throughout the year, or varied between seasons of the year.

Conclusions:

With tensorial PCA, we can effectively examine customers’ purchasing behaviour in more detail than with traditional methods because it can handle time and product dimensions simultaneously. When interpreting the results, both time and product dimensions must be considered. In further analysis, these time and product based patterns can directly be associated with other attributes of customers. This enables us to identify what kinds of people have specific purchasing patterns, which can help in the development of ways in which consumers can be steered towards making healthier food choices.


 Citation

Please cite as:

Autio R, Virta J, Nordhausen K, Fogelholm M, Erkkola M, Nevalainen J

Tensorial Principal Component Analysis in Detecting Temporal Trajectories of Purchase Patterns in Loyalty Card Data: Retrospective Cohort Study

J Med Internet Res 2023;25:e44599

DOI: 10.2196/44599

PMID: 38100168

PMCID: 10757224

Download PDF


Request queued. Please wait while the file is being generated. It may take some time.

© The authors. All rights reserved. This is a privileged document currently under peer-review/community review (or an accepted/rejected manuscript). Authors have provided JMIR Publications with an exclusive license to publish this preprint on it's website for review and ahead-of-print citation purposes only. While the final peer-reviewed paper may be licensed under a cc-by license on publication, at this stage authors and publisher expressively prohibit redistribution of this draft paper other than for review purposes.