This paper, "Playtime Measurement with Survival Analysis," presents a robust statistical framework for understanding player retention, moving beyond simple averages to account for the unique challenges of game data.
TL;DR
Survival analysis provides a mathematically rigorous way to measure player retention by accounting for "censored" data—players who are still active and haven't finished their "lifetime" in the game yet. By using non-parametric tools like the Kaplan-Meier estimator and log-rank tests, developers can accurately benchmark game quality and perform statistically sound A/B tests on different game versions.
What Problem Does This Paper Address?
In the world of free-to-play (F2P) and subscription games, retention is the primary driver of monetization. However, measuring it accurately is surprisingly difficult. Playtime data is notoriously "messy":
- Non-Normality: Most players quit quickly, while a small "long tail" of dedicated players stays for hundreds of hours. Standard averages are heavily skewed by these outliers.
- Censoring: At any given moment of analysis, your most valuable players are still playing. Their total playtime is unknown; we only know it is at least as long as their current duration. Ignoring these active players (or treating their current playtime as their final playtime) introduces significant bias.
The authors argue that game analytics should adopt Survival Analysis, a field originally developed for medical trials (time-to-death) and engineering (time-to-failure), to solve these specific problems.
Methods
The paper introduces several foundational survival analysis concepts adapted for games:
- Survival Function $S(t)$: The probability that a player will continue playing longer than time $t$.
- Hazard Function $h(t)$: The instantaneous "churn rate." This acts as a time-dependent funnel, showing exactly when players are most likely to quit (e.g., during a difficult tutorial vs. late-game burnout).
- Kaplan-Meier (KM) Estimator: A non-parametric method to estimate the survival curve. Unlike simple histograms, it correctly incorporates censored data points.
- Log-Rank Test: A statistical test used to compare the survival curves of two or more groups (cohorts). This allows for rigorous A/B testing to see if a new game version actually improves retention.
The authors emphasize non-parametric methods, which don't assume the data follows a specific distribution (like a Bell curve or Exponential decay). This makes the analysis robust against the unpredictable behavior of real-world players.
Datasets
The methods are demonstrated using real-world data from Hipster Sheep, a mobile puzzle game developed by Tribeflame Ltd.
- Sample Size: 3,753 players across three distinct versions (1.11, 1.15, and 1.18).
- Censoring Criteria: Players who had played within 14 days of the data collection cutoff were marked as "censored" (active), representing about 1% of the population.
Key Insights and Ideas
- The Hazard "Funnel": The hazard curve is a powerful diagnostic tool. A high initial hazard suggests issues with onboarding or the first few levels. A steady decline in hazard indicates that players who survive the initial "filter" become increasingly dedicated.
- Mean vs. Median: The paper highlights the massive gap between these metrics. In their sample, the median player quit after ~0.77 hours, but the mean playtime was ~2.41 hours. The mean is driven by the "long tail," while the median represents the "typical" experience.
- Visualizing Uncertainty: By using Kaplan-Meier estimates, developers can plot confidence intervals. This is vital for small-scale "soft launches" where data is limited but decisions need to be made.
Key Results
The authors compared three versions of Hipster Sheep to see if development iterations actually improved the game:
- Version 1.11 vs. 1.15: The log-rank test showed a highly significant improvement ($p < 0.001$).
- Version 1.15 vs. 1.18: While version 1.18 had a slightly higher mean playtime (2.41h vs 2.21h), the log-rank test revealed the difference was not statistically significant ($p = 0.534$).
This result is a crucial "aha moment": it prevents developers from chasing "improvements" that are actually just statistical noise.
Limitations and Future Work
- Churn Definition: The paper uses a simple 14-day inactivity window to define churn. However, players often return after long breaks. The authors suggest that future work could integrate more complex churn prediction models to handle this uncertainty.
- Covariates: This study looked at playtime in isolation. The next logical step is using Cox Proportional Hazards models to see how specific factors (like player country, device type, or in-game purchases) affect the survival curve.
- Monetization: While the paper assumes retention correlates with profit, it does not directly model the relationship between survival time and Lifetime Value (LTV).
Summary updated