Related Experiment Video
Updated: Aug 2, 2025

Studying Habituation in Stentor coeruleus
Published on: January 6, 2023
What can machine learning teach us about habit formation? Evidence from exercise and hygiene
Anastasia Buyalskaya1, Hung Ho2, Katherine L Milkman3
1Department of Marketing, HEC Paris, Jouy-en-Josas 78350, France.
Abstract:
We apply a machine learning technique to characterize habit formation in two large panel data sets with objective measures of 1) gym attendance (over 12 million observations) and 2) hospital handwashing (over 40 million observations). Our Predicting Context Sensitivity (PCS) approach identifies context variables that best predict behavior for each individual. This approach also creates a time series of overall predictability for each individual. These time series predictability values are used to trace a habit formation curve for each individual, operationalizing the time of habit formation as the asymptotic limit of when behavior becomes highly predictable. Contrary to the popular belief in a "magic number" of days to develop a habit, we find that it typically takes months to form the habit of going to the gym but weeks to develop the habit of handwashing in the hospital. Furthermore, we find that gymgoers who are more predictable are less responsive to an intervention designed to promote more gym attendance, consistent with past experiments showing that habit formation generates insensitivity to reward devaluation.
More Related Videos
11:21Methodology for Establishing a Community-Wide Life Laboratory for Capturing Unobtrusive and Continuous Remote Activity and Health Data
Published on: July 27, 2018
09:43A Fully Automated Rodent Conditioning Protocol for Sensorimotor Integration and Cognitive Control Experiments
Published on: April 15, 2014
Related Concept Videos
Nonconscious Mimicry
Behaviorism
The core premise of behaviorism is its focus on observable behavior rather than internal thoughts or feelings. This approach argues that true scientific...
Classical Conditioning in Daily Life
John B. Watson and Rosalie Rayner famously demonstrated the development of fear through classical conditioning in their experiment with Little Albert. They paired the...
Introduction to Learning
In contrast to learned behaviors, unlearned behaviors such as crying, sexual...
Law of Effect
Edward Thorndike's foundational work involved studying learning in animals, particularly using puzzle...
Instinctive Drift