IDEAS home Printed from https://ideas.repec.org/a/aza/ama000/y2020v5i4p354-370.html
   My bibliography  Save this article

Using loyalty card records and machine learning to understand how self-medication purchasing behaviours vary seasonally in England, 2012–2014

Author

Listed:
  • Davies, Alec

    (PhD student, University of Liverpool, UK)

  • Green, Mark A.

    (Senior Lecturer, University of Liverpool, UK)

  • Riddlesden, Dean

    (Research Fellow, University of Liverpool, UK)

  • Singleton, Alex D.

    (Professor of Geographic Information Science, University of Liverpool, UK)

Abstract

This paper examines objective purchasing information for inherently seasonal self-medication product groups using transaction-level loyalty card records. Predictive models are applied to predict future monthly self-medication purchasing. Analyses are undertaken at the lower super output area level, allowing the exploration of ˜300 retail, social, demographic and environmental predictors of purchasing. The study uses a tree ensemble predictive algorithm, applying XGBoost using one year of historical training data to predict future purchase patterns. The study compares static and dynamic retraining approaches. Feature importance rank comparison and accumulated local effects plots are used to ascertain insights of the influence of different features. Clear purchasing seasonality is observed for both outcomes, reflecting the climatic drivers of the associated minor ailments. Although dynamic models perform best, where previous year behaviour differs greatly, predictions had higher error rates. Important features are consistent across models (eg previous sales, temperature, seasonality). Feature importance ranking had the greatest difference where seasons changed. Accumulated local effects plots highlight specific ranges of predictors influencing self-medication purchasing. Loyalty card records offer promise for monitoring the prevalence of minor ailments and reveal insights about the seasonality and drivers of over-the-counter medicine purchasing in England.

Suggested Citation

  • Davies, Alec & Green, Mark A. & Riddlesden, Dean & Singleton, Alex D., 2020. "Using loyalty card records and machine learning to understand how self-medication purchasing behaviours vary seasonally in England, 2012–2014," Applied Marketing Analytics: The Peer-Reviewed Journal, Henry Stewart Publications, vol. 5(4), pages 354-370, May.
  • Handle: RePEc:aza:ama000:y:2020:v:5:i:4:p:354-370
    as

    Download full text from publisher

    File URL: https://hstalks.com/article/5497/download/
    Download Restriction: Requires a paid subscription for full access.

    File URL: https://hstalks.com/article/5497/
    Download Restriction: Requires a paid subscription for full access.
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    More about this item

    Keywords

    self-medication; over-the-counter medicines; minor ailments; machine learning; tree ensembles;
    All these keywords.

    JEL classification:

    • M3 - Business Administration and Business Economics; Marketing; Accounting; Personnel Economics - - Marketing and Advertising

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:aza:ama000:y:2020:v:5:i:4:p:354-370. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Henry Stewart Talks (email available below). General contact details of provider: .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.