← Upstart Interview Insights

Upstart·Data Scientist·Technical Phone Screen·Senior

Senior
May 2026

Summary

A technical screen for a Data Scientist role at Upstart that was essentially one long, dense A/B testing case study. The question covered everything from data quality checks to the ship decision, and I spent most of the time wishing I had reviewed variance reduction techniques more recently.

Questions Asked (7)

Q1

You're given results from an A/B test on a redesigned signup flow with columns for variant, sessions, signups, activation at day 7, p95 latency, support tickets, refund rate, and day-30 revenue. Walk through how you'd validate data quality, including sample ratio mismatch checks, bucketing integrity, and comparing exposure logs to analytics counts.

A/B Testing & ExperimentationProduct Analytics & Metrics
Author's notes

This is where I started strong and then trailed off.

Create a free account to read the full note

AI HintsAI Generated

Suggested Approach

Start by framing data quality validation as a prerequisite to any analysis, then systematically check each layer: assignment (SRM, bucketing), exposure (logs vs analytics), and metrics (outliers, consistency). Emphasize that you would automate these checks and set thresholds for alerts, and that you would investigate any anomalies before trusting results.

Pro tip: Mention that you would pre-register the expected sample ratio and use a sequential testing framework to avoid peeking, and that you would check for SRM not just overall but also by key dimensions like device or geography to catch subtle issues.

1. Validate Assignment and Sample Ratio

Check if the observed ratio of sessions (or users) between variants matches the expected ratio using a chi-square test. Investigate any deviation (SRM) by segmenting by date, device, or other dimensions to identify the source.

2. Verify Bucketing Integrity

Ensure that the randomization unit (e.g., user ID) is consistently assigned to the same variant across sessions. Check for cross-contamination, such as users appearing in both variants, and validate that the bucketing algorithm is deterministic and properly seeded.

3. Compare Exposure Logs to Analytics Counts

Reconcile the number of users/sessions exposed to each variant from the experiment platform's exposure logs with the counts in the analytics data. Discrepancies may indicate logging issues, filtering, or bot traffic.

4. Check Metric Consistency and Outliers

Validate that metrics like signups, activation, latency, support tickets, refund rate, and revenue are computed correctly and consistently across variants. Look for outliers, missing data, or impossible values (e.g., negative revenue) that could skew results.

5. Document and Automate Checks

Create a standardized data quality report and automate these checks to run before every experiment analysis. Set thresholds for alerts and document any manual investigations for reproducibility.

Key Points to Mention

  • Sample Ratio Mismatch (SRM) detection using chi-square test and investigation by segments
  • Bucketing integrity: consistent assignment, no cross-contamination, deterministic hashing
  • Exposure logs vs analytics counts reconciliation and potential causes of discrepancies
  • Data validation for each metric: range checks, outlier detection, missing values
  • Automation of data quality checks and setting up alerts for anomalies
  • Pre-registration of expected ratios and sequential testing to avoid peeking

AI-generated suggestions, not part of the candidate's original notes. May be inaccurate — verify before relying on them.

Q2

How would you choose the primary metric and guardrail metrics for this experiment, and justify those choices given the available columns?

A/B Testing & ExperimentationProduct Analytics & Metrics
Author's notes

I said day-7 activation as the primary and used revenue-d30 as a secondary.

Create a free account to read the full note

AI HintsAI Generated

Suggested Approach

Start by clarifying the experiment's goal and the decision it will inform, then map available columns to candidate metrics. Choose a primary metric that directly measures the intended impact and is sensitive enough to detect a meaningful effect, and select guardrail metrics that capture potential negative side effects or trade-offs. Justify each choice by linking it to the business objective, statistical power, and the specific columns available.

Pro tip: Always tie your metric choices back to the decision the experiment will drive—interviewers want to see that you think about actionability, not just statistical significance. Also, mention that guardrails should be leading indicators of long-term harm, not just any secondary metric.

1. Clarify the experiment's goal and decision

Ask or infer what change is being tested and what decision the results will inform (e.g., ship, iterate, or kill). This anchors metric selection to business impact.

2. Map available columns to candidate metrics

Review the provided columns and identify which can be aggregated into metrics that reflect user behavior, revenue, or other outcomes. Note any limitations (e.g., missing data, proxy metrics).

3. Select the primary metric

Choose one metric that best captures the intended effect, is sensitive to the change, and aligns with the decision. Justify why it's the most direct and reliable measure given the columns.

4. Choose guardrail metrics

Identify 1-3 metrics that could be negatively impacted by the change (e.g., user retention, revenue, latency). Ensure they are measurable from the available columns and represent potential trade-offs.

5. Justify choices with statistical and practical reasoning

Explain how you'd ensure adequate power for the primary metric, and how guardrails help detect unintended consequences. Discuss any assumptions or limitations.

Key Points to Mention

  • Alignment with business objectives and the specific decision the experiment informs
  • Sensitivity of the primary metric to the change (i.e., likelihood of detecting a true effect)
  • Guardrail metrics as leading indicators of long-term negative impact (e.g., user churn, revenue decline)
  • Statistical power and sample size considerations for the primary metric
  • Avoiding metric dilution or multiple comparisons issues by limiting the number of metrics
  • Using available columns to construct metrics, and acknowledging any data limitations or proxies

AI-generated suggestions, not part of the candidate's original notes. May be inaccurate — verify before relying on them.

Q3

How would you compute the treatment effect and confidence intervals for both simple proportion metrics and ratio metrics, and what would you do if the revenue distribution is heavily skewed?

A/B Testing & ExperimentationProduct Analytics & Metrics
Author's notes

Ratio metrics were the part I fumbled.

Create a free account to read the full note

AI HintsAI Generated

Suggested Approach

Start by explaining the standard approach for simple proportion metrics using two-proportion z-tests and normal approximation confidence intervals. Then describe how ratio metrics require delta method or bootstrap due to the ratio of random variables. Finally, address skewed revenue by recommending bootstrap, log transformation, or non-parametric methods, and emphasize the importance of using robust techniques like quantile regression or winsorization.

Pro tip: Mention that at companies like Upstart, where revenue is often heavy-tailed, you'd validate results with multiple methods (e.g., bootstrap and delta method) and check for practical significance, not just statistical significance, to avoid overreacting to outliers.

1. Simple proportion metrics

For metrics like conversion rate, use a two-proportion z-test to compare treatment and control. Compute the confidence interval using the normal approximation: (p1 - p2) ± z * sqrt(p1(1-p1)/n1 + p2(1-p2)/n2).

2. Ratio metrics

For metrics like revenue per user (total revenue / number of users), the metric is a ratio of two random variables. Use the delta method to approximate the variance, or use bootstrap resampling to empirically estimate the distribution and confidence intervals.

3. Handling skewed revenue

When revenue is heavily skewed, the normal approximation may fail. Use bootstrap methods (e.g., percentile or BCa) to construct confidence intervals, as they don't assume normality. Alternatively, consider log transformation or non-parametric tests like Mann-Whitney U, but be cautious about interpreting transformed effects.

4. Robustness checks

Validate results by comparing multiple methods (e.g., delta method vs. bootstrap) and checking for outliers. Consider winsorizing or trimming extreme values, but report both original and robust results to assess sensitivity.

5. Practical significance

Beyond statistical significance, assess practical significance by looking at effect sizes, confidence interval widths, and business impact. For skewed metrics, consider median or quantile treatment effects as complementary measures.

Key Points to Mention

  • Two-proportion z-test and normal approximation confidence intervals for simple proportions
  • Delta method for ratio metrics (e.g., revenue per user) to approximate variance
  • Bootstrap resampling for skewed distributions and ratio metrics
  • Log transformation or non-parametric tests for skewed revenue
  • Winsorization or trimming to handle outliers
  • Practical significance and complementary metrics like median or quantile effects

AI-generated suggestions, not part of the candidate's original notes. May be inaccurate — verify before relying on them.

Q4

How would you assess whether the experiment ran long enough, and how does that relate to a pre-registered stopping rule and minimum detectable effect?

A/B Testing & Experimentation
Author's notes

Talked through power calculations and how MDE depends on baseline rate, variance, and sample size.

Create a free account to read the full note

AI HintsAI Generated

Suggested Approach

Start by explaining that the assessment of whether an experiment ran long enough hinges on pre-registered criteria: the stopping rule and the minimum detectable effect (MDE). Then describe how you would monitor the experiment against these criteria, using sequential testing or fixed-horizon methods, and how you would handle deviations or peeking.

Pro tip: Emphasize that the stopping rule must be pre-registered to avoid p-hacking and that you should never stop an experiment early just because results look significant; instead, rely on the pre-defined rule and consider the practical significance via MDE.

1. Define pre-registered stopping rule and MDE

Explain that before launching, you specify a stopping rule (e.g., fixed sample size, sequential testing boundaries) and the MDE, which is the smallest effect size you want to detect with sufficient power.

2. Calculate required sample size and duration

Using the MDE, power (e.g., 80%), significance level (e.g., 5%), and baseline metric variance, compute the required sample size per variant, then translate to duration based on traffic.

3. Monitor experiment progress and data quality

Track sample accumulation, check for sample ratio mismatch (SRM), and ensure data quality. Do not peek at outcome metrics unless using sequential methods that adjust for multiple looks.

4. Apply stopping rule at pre-registered point

Once the pre-registered sample size or time is reached, analyze results. If using sequential testing, stop when boundaries are crossed; otherwise, wait until the fixed horizon.

5. Interpret results in context of MDE and practical significance

Assess whether the observed effect is statistically significant and practically meaningful relative to the MDE. Consider confidence intervals and business impact.

Key Points to Mention

  • Pre-registration prevents p-hacking and ensures integrity.
  • Minimum detectable effect (MDE) determines sample size and experiment duration.
  • Stopping rules can be fixed-horizon or sequential (e.g., group sequential, alpha spending).
  • Peeking at results without adjustment inflates false positive rate.
  • Sample ratio mismatch (SRM) checks validate randomization.
  • Practical significance vs. statistical significance: even if significant, effect may be too small to matter.

AI-generated suggestions, not part of the candidate's original notes. May be inaccurate — verify before relying on them.

Q5

How would you detect novelty or learning effects in this experiment, and what analyses would you run to separate them from a real treatment effect?

A/B Testing & ExperimentationAdaptability & Ambiguity
Author's notes

Time-sliced analysis: split the experiment period into early and late cohorts and see if the effect attenuates over time.

Create a free account to read the full note

AI HintsAI Generated

Suggested Approach

Start by defining what novelty and learning effects mean in the context of the experiment, then outline specific detection methods such as analyzing time-based trends and segmenting by user experience. Finally, describe analyses like difference-in-differences or cohort analysis to isolate these effects from the true treatment effect.

Pro tip: Emphasize the importance of pre-registering your analysis plan to avoid p-hacking, and consider using holdout groups to measure long-term effects. Also, mention that novelty effects often diminish over time, so plotting treatment effects over time is a simple yet powerful diagnostic.

1. Define novelty and learning effects

Clarify that novelty effects occur when users initially engage more with a new feature due to its newness, while learning effects happen as users adapt and their behavior changes over time. Explain how these can confound treatment effects.

2. Detect through temporal analysis

Analyze treatment effects over time by plotting metrics across days or weeks. Look for patterns like an initial spike that decays (novelty) or a gradual increase (learning). Use statistical tests to check for significant time-treatment interactions.

3. Segment by user experience

Split users into new vs. existing, or by exposure frequency, to see if effects differ. Novelty effects are often stronger for new users, while learning effects may be more pronounced for existing users.

4. Run specific analyses

Apply difference-in-differences, cohort analysis, or regression with time interactions to separate these effects. Consider using a holdout group that never receives the treatment to measure long-term trends.

5. Interpret and adjust

If novelty or learning effects are detected, adjust the analysis by focusing on steady-state periods or using models that account for these dynamics. Communicate the implications for decision-making.

Key Points to Mention

  • Time-based analysis: plotting treatment effects over time to identify decay or growth patterns.
  • User segmentation: comparing new vs. existing users or by exposure frequency.
  • Statistical methods: difference-in-differences, regression with time interactions, cohort analysis.
  • Holdout groups: using a long-term holdout to measure novelty/learning effects.
  • Pre-registration: having a pre-specified analysis plan to avoid false positives.
  • Practical implications: how to adjust rollout or decision-making based on findings.

AI-generated suggestions, not part of the candidate's original notes. May be inaccurate — verify before relying on them.

Q6

Given that variant B shows better activation but also higher latency and more support tickets, walk through a concrete framework for making the ship or no-ship decision.

A/B Testing & ExperimentationProduct Analytics & MetricsTechnical Trade-offs
Author's notes

This was the hardest part because there's no clean formula.

Create a free account to read the full note

AI HintsAI Generated

Suggested Approach

Start by clarifying the primary business objective and the guardrail metrics, then quantify the trade-offs using statistical and practical significance. Propose a decision framework that weighs activation gains against latency and support costs, and recommend a path forward with potential mitigations.

Pro tip: Always tie the decision back to the company's north star metric and consider the long-term impact of latency and support tickets on customer lifetime value. A mature answer acknowledges that sometimes the best decision is to iterate rather than ship or kill outright.

1. Clarify Objectives and Guardrails

Identify the primary success metric (e.g., activation) and guardrail metrics (latency, support tickets) that must not degrade. Confirm the acceptable thresholds for each based on business goals.

2. Quantify Trade-offs

Estimate the expected impact of variant B on the primary metric and guardrails, including confidence intervals. Translate latency and support tickets into monetary terms (e.g., cost per ticket, revenue impact of latency).

3. Assess Statistical and Practical Significance

Determine if the observed differences are statistically significant and whether they are practically meaningful. Consider the sample size, duration, and potential novelty effects.

4. Evaluate Mitigation and Iteration Options

Explore ways to reduce latency or support burden without losing activation gains (e.g., engineering optimizations, better onboarding). Decide if a follow-up experiment is needed.

5. Make a Recommendation

Based on the analysis, recommend ship, no-ship, or iterate. Clearly state the rationale, risks, and next steps, and align with stakeholders.

Key Points to Mention

  • Define primary and guardrail metrics upfront and align with business stakeholders.
  • Use statistical tests (e.g., t-test, sequential testing) to assess significance and avoid peeking.
  • Quantify latency and support tickets in terms of cost and customer impact (e.g., churn, LTV).
  • Consider segment-level analysis to see if certain user groups benefit more or are disproportionately affected.
  • Propose A/B test extensions or multivariate tests to isolate the cause of latency and support issues.
  • Recommend a phased rollout or holdback to monitor long-term effects if shipping.

AI-generated suggestions, not part of the candidate's original notes. May be inaccurate — verify before relying on them.

Q7

Beyond the ship decision, what additional insights would you extract from this experiment data, such as segment-level heterogeneity, funnel step analysis, or form field sensitivity?

A/B Testing & ExperimentationProduct Analytics & MetricsRoot Cause Analysis
Author's notes

I listed traffic source breakdowns, device type splits, and step-level drop-off in the signup funnel.

Create a free account to read the full note

AI HintsAI Generated

Suggested Approach

Start by acknowledging the primary ship decision, then pivot to a structured plan for extracting deeper insights: segment-level heterogeneity, funnel step analysis, and form field sensitivity. Emphasize how these insights can inform product improvements and future experiments, and discuss potential trade-offs in analysis.

Pro tip: Always connect insights back to business impact and next steps—interviewers want to see that you can prioritize actionable findings over interesting but irrelevant ones. Also, mention the importance of checking for novelty effects and ensuring statistical power in segment analyses.

1. Segment-level heterogeneity

Analyze treatment effects across key user segments (e.g., demographics, behavior, device) to identify differential responses. Use interaction tests or subgroup analysis to determine if the effect varies significantly.

2. Funnel step analysis

Break down the conversion funnel to see where the treatment impacts each step (e.g., application start, form completion, approval). Identify drop-off points and quantify the contribution of each step to the overall effect.

3. Form field sensitivity

Examine how individual form fields (e.g., required vs. optional, order, wording) affect completion rates and data quality. Use field-level metrics and possibly qualitative feedback to understand friction.

4. Synthesize and prioritize

Combine insights to identify the most impactful areas for improvement, and propose follow-up experiments or product changes. Consider business metrics like conversion, cost, and risk.

Key Points to Mention

  • Statistical significance and multiple testing corrections when analyzing subgroups
  • Novelty effects and long-term impact assessment
  • Funnel visualization and step-by-step conversion rates
  • Field-level analytics: completion time, error rates, abandonment
  • Actionable recommendations and next steps
  • Trade-offs between granularity and sample size

AI-generated suggestions, not part of the candidate's original notes. May be inaccurate — verify before relying on them.