Comparing Engagement Between Feature Adopters and Non-Adopters
Statistics & ExperimentsModel answerLast updated
Design an observational framework to measure whether users of a specific product feature are more engaged, while controlling for selection bias and confounding variables.
Background
A product team wants to know whether users who regularly interact with a set of community-oriented features — think group chats, event RSVPs, or peer-to-peer exchanges — are more engaged with the platform overall compared to users who never touch those features.
You have access to two tables:
user_activity (user_id, date, event_type, time_spent_seconds)
user_profiles (user_id, signup_date, region, device_type)
A Feature Adopter is any user who triggered at least one community-feature event in the trailing 30 days.
Your job is to determine whether Feature Adopters are genuinely more engaged than the rest of the user base, and to present findings a product team can act on.
What You Need to Address
-
Define engagement robustly. Propose one or two metrics that capture meaningful engagement without being inflated by differences in how long someone has been on the platform or what device they use.
-
Address selection bias. The most active users on any platform are also the most likely to discover and use new features. Explain how you would disentangle "this feature drives engagement" from "already-engaged users gravitate toward this feature."
-
Validate the difference statistically. Describe the metric you would compare between the two groups, the statistical method you would apply, and how you would interpret the result in a way that does not overstate causality.
Things to Think About
- New users behave very differently from long-tenured users. How do you handle that in your design?
- What confounding variables are most likely to bias your comparison, and what techniques — such as matching or reweighting — would you use to control for them?
- Since no randomization occurred here, how do you word a conclusion that is honest about what the data can and cannot tell you?
Hints
Hint 1
Before defining your engagement metric, think carefully about the time window problem: if you measure engagement over the same period you use to classify users as adopters, any time spent on the feature itself will mechanically inflate the adopter group's numbers. Split your timeline into three non-overlapping windows — a pre-period for baseline covariates, an exposure window for classification, a…
Hint 2
The core selection bias problem is that prior engagement is simultaneously a cause of feature adoption and a predictor of future engagement. That makes it the single most important covariate to control for. Ask yourself: after matching on pre-period engagement, tenure, device type, and region, does the engagement gap shrink or disappear? If it does, the original gap was mostly compositional. Prope…
Hint 3
Statistical significance is almost guaranteed with a large user base, so a p-value alone tells you very little. Pre-commit to a minimum meaningful effect size (for example, at least 1 percentage point in active-day rate), report confidence intervals rather than just point estimates, and run at least one placebo check — such as testing whether 'future' adoption predicts 'past' engagement — to verif…
Model answer
Hard Try it yourself first — then compare your approach, complexity and edge cases.
How to Approach This Problem
This is an observational causal inference question wearing a metrics costume. A strong answer covers four things in sequence: a clean time window design, an engagement metric that does not cheat, a credible bias correction strategy, and a conclusion worded to match what the data actually supports.
Step 1: Design the Time Windows First
The most common mistake is defining Feature Adopters using the last 30 days and then measuring their engagement over those same 30 days. Community features generate sessions and time spent, so the adopter group is mathematically guaranteed to look more engaged. The treatment definition and the outcome share a measurement window — that is leakage, not signal.
Split the timeline into three non-overlapping windows:
| Window | Relative Days | Purpose |
|---|---|---|
| Pre-period | −60 to −31 | Measure baseline covariates (prior engagement, device mix) |
| Exposure | −30 to 0 | Classify each user as Adopter or Non-Adopter |
| Outcome | +1 to +28 | Measure the engagement metric |
Covariates are measured before the treatment classification, and outcomes are measured after. This ordering is what makes any subsequent statistical adjustment meaningful.
Step 2: Define Engagement Without Inflating It
Primary metric: L28 active-day rate — the fraction of days in the outcome window on which the user had at least one session. This is bounded between 0 and 1, interpretable, and far less skewed than raw time-spent, which one four-hour session can dominate.
Secondary metric: time spent per active day, excluding community-feature events. This is the more important check. It answers whether adopters engage more with the rest of the platform, or whether they just rack up more time inside the specific features being studied.
Handling the new-user effect: Users with fewer than roughly 60 days of tenure at the start of the exposure window have no stable pre-period and are still on onboarding engagement curves. Exclude them from the main analysis and analyze them separately if the business cares about early adoption patterns. For everyone else, create tenure buckets (e.g., 60–180 days, 6–12 months, 1–3 years, 3+ years) and use them as both matching covariates and subgroup dimensions in the final report.
Device type: Mobile and desktop users have structurally different session lengths and frequencies. Match exactly on primary device type, or express engagement as a within-device-and-region percentile so each user is compared against peers with the same baseline context.
Step 3: Handle Selection Bias
Highly engaged users discover features first. Prior engagement is therefore both a cause of adoption and a direct predictor of future engagement — a classic confounder.
Covariates to control for, all measured in the pre-period:
- Pre-period active-day rate and average time per day (most important)
- Tenure and tenure bucket
- Region and device type
- Any prior community-feature usage (users who dabbled before the exposure window)
- Network size or friend count, if available — if it is not in these tables, call it out explicitly as a likely unobserved confounder
Method: Propensity Score Matching (PSM) or Inverse Propensity Weighting (IPW)
- Fit a logistic regression or gradient boosted model to estimate P(Adopter | covariates).
- Match each Adopter to one or more Non-Adopters within a caliper (0.2 standard deviations of the logit propensity is a common default), with exact matching on device type and tenure bucket.
- Check covariate balance. Standardized mean differences should be below 0.1 for every covariate after matching. If they are not, the matching failed and you need to revisit the propensity model. Plot propensity distributions to confirm overlap — users outside the common support region should be trimmed.
- Estimate the Average Treatment Effect on the Treated (ATT): the engagement difference for Adopters versus the matched Non-Adopters who look like them.
Stronger design where possible: Difference-in-Differences on new adopters. Identify users who started using community features during the exposure window (first-time adopters) and match them to users who never adopted. Measure the change in engagement from the pre-period to the outcome window. DiD cancels out time-invariant traits like being a "power user by nature," which matching on observables cannot fully address. Validate by checking that the two groups had parallel engagement trends in earlier pre-windows before adoption occurred.
A doubly robust estimator — combining propensity weighting with an outcome regression — is a reasonable default. It stays consistent if either the propensity model or the outcome model is correctly specified.
Step 4: Statistical Validation
With very large user bases, almost any difference will be statistically significant. A p-value alone is not useful here.
- Pre-commit to a minimum meaningful effect size before running the analysis — for example, at least 1 percentage point in active-day rate. Report confidence intervals, not just point estimates.
- For the L28 active-day rate (which is a proportion), a Welch t-test or a linear regression with robust standard errors on the matched or weighted sample is appropriate.
- For time-spent metrics, winsorize at the 99th percentile or use log(1 + time) to reduce the influence of outliers, then test the transformed metric.
- After PSM, use a paired or matched-set analysis to account for the matching structure. After IPW, use bootstrap confidence intervals to capture uncertainty from estimating the propensity score itself.
- Mann-Whitney U is a valid robustness check, but be precise about what it tests: it measures whether one distribution tends to produce higher values than the other, not the difference in means. Substituting it for a mean-difference test "because the data is skewed" without acknowledging this distinction is a red flag.
Robustness checks:
- Placebo test: Estimate the "effect" of future adoption (users who adopt after the outcome window) on pre-period engagement. The estimate should be near zero. If it is not, your pipeline has a leakage problem.
- Negative control outcome: Identify an outcome that the community features have no plausible mechanism to affect. A significant "effect" there suggests residual confounding.
- Sensitivity analysis: An E-value or Rosenbaum bounds quantifies how strong an unobserved confounder would need to be to fully explain the observed association — useful for communicating confidence in the findings.
- Heterogeneity analysis: Report effects by tenure bucket, region, and device. If the effect only appears in one subgroup, it is more likely compositional than causal.
Step 5: Phrase the Conclusion Correctly
Avoid: "Community features increase engagement by 8%."
Prefer: "After matching on pre-period engagement, tenure, device type, and region, users who interacted with community features in the trailing 30 days had an 8% higher active-day rate (95% CI: 6–10%) over the subsequent 28 days compared to statistically similar non-users. The association holds across placebo checks and subgroup analyses, but unobserved factors such as friend-network size could account for part of the gap. A randomized experiment — for example, a feature access holdout — is needed to establish causality."
Common Mistakes
- Measuring the outcome in the same window used to define treatment — this is the most frequent and most damaging error
- Including community-feature time spent in the engagement outcome metric
- Controlling for variables that are consequences of treatment (e.g., friends added after joining a group) — this blocks part of the very effect you are trying to measure
- Skipping overlap and balance diagnostics after propensity score matching
- Treating PSM as a solution to unobserved confounding — it only addresses confounders you can measure
- Reporting a p-value without a pre-specified effect size threshold at large scale