Cohort and retention analysis plan with code
Set up a proper cohort retention analysis, from defining cohorts and the activity event to producing the table and reading it correctly.
Turn a dataset description into a step-by-step exploration plan with checks, hypotheses and the first charts to make.
I'm about to explore a dataset and want a plan before I open any tools.
Dataset description:
{{dataset_description}}
The business question or goal: {{goal}}
Tools I'll use: {{tool}}
My experience level: {{experience}}
Create an exploratory analysis plan with these sections:
1. Assumptions: what you are assuming about the data, stated explicitly. If something critical is missing (grain of a row, time range, how it was collected), list it under "Questions to answer first" instead of guessing.
2. Data health checks: 6-8 specific checks in the order I should run them (row grain, duplicates, missing values, impossible values, date coverage, join keys, units), each with what a problem would look like.
3. Univariate and bivariate exploration: which columns to profile first and which pairs of columns to compare, tied to the goal.
4. Hypotheses: 4-5 testable hypotheses related to the goal, each with the cut of data that would confirm or refute it.
5. First five charts: chart type, axes, and what a surprising result would tell me.
6. Pitfalls: biases or traps specific to this kind of data (survivorship, seasonality, selection effects, etc.).
7. Stopping point: how I will know the exploration is done and what to hand over.
Where useful, include a short {{tool}} snippet or command. Keep the whole plan under 700 words and use plain language suited to a {{experience}} analyst.It forces assumptions and health checks before analysis, and every hypothesis is tied to a specific cut of data. Add a sample of the first 5 rows to the description for more precise checks.
Licensed CC0 (public domain) Version 1 · history
Set up a proper cohort retention analysis, from defining cohorts and the activity event to producing the table and reading it correctly.
Convert a stakeholder's fuzzy ask into a scoped analysis brief with the real question, definitions, data needed and success criteria.
Systematically diagnose why a metric suddenly changed, ranking likely causes and giving the exact checks to confirm each one.
Investigate why a key metric moved: a structured hypothesis tree, the data cuts to run, and a prioritized plan to confirm and fix.
Describe your tables and the question you need answered and get a correct, commented SQL query with assumptions spelled out.
Paste a regression table and get a careful interpretation of coefficients, fit and reliability, with warnings about causal claims.
Comments (0)
Sign in to join the discussion.
No comments yet. Be the first to share how it worked.