Skip to content
tezvyn:
Menu

Cohort analysis for an onboarding change

Source: interviewMediumHow cards are made

Summary

Cohort reasoning and clean framing.

Key points

A cohort groups users by a shared start trait; compare pre and post Jan-1 signup cohorts on retention by age.

Watch out for

Comparing calendar periods instead of cohort age, confounding seasonality.

WHAT THIS TESTS Whether you can define a cohort precisely and design a comparison that attributes a retention change to the onboarding flow rather than to time, mix, or seasonality.

A GOOD ANSWER COVERS A cohort is a set of users who share a common starting characteristic within a defined window, most often an acquisition cohort grouped by signup date. Cohort analysis tracks how that fixed group behaves as it ages, which separates the effect of tenure from calendar effects. To measure the January 1 onboarding launch, form two acquisition cohorts: users who signed up in a window before January 1 experienced the old flow, and users who signed up after experienced the new flow. For each cohort, compute retention and a leading activation metric such as reaching the aha moment at equal ages, day 1, day 7, day 30, and plot retention curves on a relative time axis of days since signup so the cohorts are compared at the same lifecycle stage. Improvement appears as the new cohort's curve sitting above the old one.

COMMON WRONG ANSWERS Comparing January total active users to December total active users, which conflates cohorts of every age and is polluted by seasonality and acquisition volume. Aligning on calendar date instead of cohort age. Ignoring that marketing or holiday traffic may change the type of user acquired, a selection confound. Looking only at a single retention point instead of the curve.

LIKELY FOLLOW-UPS How long must you wait to read day-30 retention? How do you control for a simultaneous marketing campaign? Could you randomize instead for cleaner causality?

ONE CONCRETE EXAMPLE You bucket signups by week, label them pre and post January 1, and chart day-7 retention by cohort age. The post cohorts show day-7 retention rising from 22 to 31 percent and holding, suggesting the new onboarding improved activation, while you also inspect February cohorts to rule out a January-only seasonal bump before concluding the change worked.

Interview question

To judge whether the new onboarding improved retention, why align cohorts on days-since-signup rather than on calendar date?

  • a.Calendar date cannot be stored alongside a user identifier
  • b.Calendar alignment requires more storage in the warehouse
  • c.Days-since-signup automatically removes all selection bias
  • d.Aligning on cohort age compares users at the same lifecycle stage, isolating the onboarding effectCorrect
Why?

Aligning on age compares groups at equivalent maturity, separating the onboarding change from tenure and seasonality. It does not remove selection bias by itself, and the storage and identity claims are false.

Just read this? Test yourself on what you have been reading.

Read the original → appcues.com

Put your scrolling time to good use

Learn one idea, try a quiz and save useful cards for revision. Tezvyn makes it easy to learn and stay current in your tech field, a few minutes at a time.

The iPhone app is on the way

We are building it. Until it lands, nothing here is held back from you: every interview card, your saved cards, streaks and the job board all work in Safari, plus hundreds of free practice quizzes of thirty questions each. Sign in and it all carries over to the app the day it arrives.

Want it as an icon? Tap Share at the bottom of Safari, then Add to Home Screen. It opens full screen and the cards you have read stay available offline.

Get it on Google PlayiPhone app coming soon

We are hiring for this. Every open role lists the topics its interview covers, so you can prepare for the real thing rather than guessing.

See open roles