← Meta Interview Insights

Meta·Data Scientist·Technical Phone Screen·Senior

SeniorPrefer not to say
Apr 2026Remote

Summary

Meta DS interview that leaned heavily on statistics fundamentals, more so than I expected. The whole thing revolved around a single scenario about comment counts per user, and they kept drilling deeper from every angle. Left feeling like I probably over-explained some parts and under-explained others.

Questions Asked (5)

Q1

Given daily comment counts per active user, define and compute the mean, median, and 95th percentile for a single day. Write out explicit formulas, including how you derive P95 from a sorted empirical distribution.

Product Analytics & Metrics
Author's notes

Felt solid on mean and median but stumbled a bit articulating P95 from an empirical distribution.

Create a free account to read the full note

AI HintsAI Generated

Suggested Approach

Start by clearly defining the metric: daily comment counts per active user for a single day. Then, for a given day, list all active users and their comment counts, and compute the mean, median, and 95th percentile using explicit formulas, including the empirical percentile method with linear interpolation. Emphasize handling edge cases like zero comments and clarifying the definition of 'active user'.

Pro tip: Always clarify whether 'active user' includes users with zero comments; if not, the distribution is conditional on commenting, which affects all statistics. Also, mention that P95 is often used to capture heavy-tail behavior in engagement metrics.

1. Define the metric and population

Specify that for a given day, the population is all active users, and the metric is the number of comments each user made that day. Clarify whether active users include those with zero comments.

2. Compute the mean

Sum the comment counts across all active users and divide by the total number of active users. Formula: mean = (1/N) * Σ x_i, where x_i is the comment count for user i and N is the number of active users.

3. Compute the median

Sort the comment counts in ascending order. If N is odd, the median is the middle value; if N is even, it is the average of the two middle values. Formula: median = x_{(N+1)/2} if N odd, else (x_{N/2} + x_{N/2+1})/2.

4. Compute the 95th percentile

Sort the data and use the empirical percentile formula with linear interpolation: P95 = x_{⌊k⌋} + (k - ⌊k⌋) * (x_{⌊k⌋+1} - x_{⌊k⌋}), where k = 0.95 * (N - 1) + 1 (1-indexed). Alternatively, use the nearest-rank method: P95 = x_{⌈0.95 * N⌉}.

5. Discuss interpretation and edge cases

Explain what each statistic reveals: mean for average engagement, median for typical user, and P95 for heavy users. Address edge cases like small N, ties, and zero-inflation.

Key Points to Mention

  • Definition of active user and whether zero-comment users are included
  • Mean formula: sum of comments divided by number of active users
  • Median calculation for odd and even N
  • Empirical percentile formula with linear interpolation for P95
  • Alternative nearest-rank method for P95 and when to use it
  • Interpretation: mean is sensitive to outliers, median is robust, P95 captures heavy-tail behavior

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

Q2

Explain the Central Limit Theorem and why the sampling distribution of the sample mean tends toward normality. What conditions are required for it to hold?

Product Analytics & MetricsA/B Testing & Experimentation
Author's notes

I rattled off the standard answer: finite variance, independence, large enough n.

Create a free account to read the full note

AI HintsAI Generated

Suggested Approach

Start with a clear, intuitive definition of the Central Limit Theorem (CLT), then explain the mechanism behind the sampling distribution's normality using the idea of averaging independent random variables. Finally, state the conditions (random sampling, independence, finite variance, and sufficiently large sample size) and connect them to practical implications in A/B testing and product analytics.

Pro tip: Emphasize that the CLT applies to the distribution of the sample mean, not the underlying data, and mention that in practice, the required sample size depends on the skewness of the population—this shows you understand real-world nuances beyond textbook theory.

1. Define the Central Limit Theorem

State that the CLT says the sampling distribution of the sample mean approaches a normal distribution as the sample size grows, regardless of the population's shape, provided certain conditions are met.

2. Explain the mechanism

Describe how averaging many independent random variables reduces the influence of extreme values and how errors cancel out, leading to a bell-shaped distribution. Mention that the variance of the sample mean decreases with sample size (standard error = σ/√n).

3. State the conditions

List the key conditions: random sampling, independence of observations, finite population variance (or at least finite mean and variance), and a sufficiently large sample size (often n ≥ 30, but depends on skewness).

4. Connect to practical applications

Relate the CLT to A/B testing and product analytics: it justifies using normal approximations for confidence intervals and hypothesis tests on sample means, even when the underlying metric distribution is unknown or non-normal.

Key Points to Mention

  • The CLT applies to the sampling distribution of the mean, not the raw data distribution.
  • The sample size needed for normality depends on the population's skewness; more skewed populations require larger n.
  • Independence is crucial; violations (e.g., clustered data) can break the CLT.
  • Finite variance is required; heavy-tailed distributions without finite variance (e.g., Cauchy) do not satisfy the CLT.
  • The standard error of the mean decreases with the square root of the sample size.
  • In A/B testing, the CLT enables the use of t-tests and z-tests even for non-normal metrics like revenue or session time.

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

Q3

If you draw 200 independent simple random samples of size n from the same day's user comment data, what value of n is sufficient for the sample mean to be approximately normal? And how does the variance of the sampling distribution change as n grows?

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

The n=30 rule of thumb came out of my mouth before I even thought about it, and then I immediately second-guessed myself because comment data is almost certainly right-skewed.

Create a free account to read the full note

AI HintsAI Generated

Suggested Approach

Start by explaining that the sample mean's normality depends on the Central Limit Theorem (CLT), which requires a sufficiently large n. For skewed data like user comments, n is often 30+ but may need to be larger (e.g., 50-100) depending on skewness. Then, clarify that the variance of the sampling distribution decreases proportionally to 1/n, so standard error is σ/√n.

Pro tip: Mention that in practice, you can check normality via simulation or QQ-plots, and for heavy-tailed metrics (e.g., revenue per user), you might need n in the thousands. Also, note that the CLT applies to the sampling distribution of the mean, not the raw data.

1. State the CLT and its conditions

Explain that the CLT states that for independent, identically distributed variables with finite variance, the sampling distribution of the mean approaches normality as n increases, regardless of the population distribution.

2. Discuss the role of skewness and kurtosis

For skewed data like user comments (e.g., counts, sentiment scores), the required n for normality is larger. A common rule of thumb is n ≥ 30, but for highly skewed data, n may need to be 50, 100, or more.

3. Explain variance of sampling distribution

The variance of the sample mean is σ²/n, where σ² is the population variance. As n grows, the variance decreases, meaning the sample mean becomes a more precise estimate of the population mean.

4. Connect to standard error and practical implications

The standard error is σ/√n, which shrinks as n increases. This affects confidence intervals and hypothesis tests, making them more reliable with larger samples.

5. Mention simulation or empirical checks

In practice, you can simulate the sampling distribution for different n to determine when it looks normal, or use diagnostic plots like QQ-plots.

Key Points to Mention

  • Central Limit Theorem (CLT) and its conditions (i.i.d., finite variance)
  • Rule of thumb: n ≥ 30, but larger n needed for skewed data
  • Variance of sampling distribution = σ²/n
  • Standard error = σ/√n
  • Impact of skewness and kurtosis on convergence rate
  • Practical methods to check normality (simulation, QQ-plots)

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

Q4

How do plots of the daily mean, median, and P95 each behave as sample size n increases, and what explains the pattern?

Product Analytics & MetricsRoot Cause Analysis
Author's notes

This one tripped me up more than it should have.

Create a free account to read the full note

AI HintsAI Generated

Suggested Approach

Start by clarifying that the plots show how the daily mean, median, and P95 of a metric behave as the sample size n (e.g., number of users or events per day) increases. Then explain that the mean and median converge to the population mean and median respectively, while the P95 converges to the population 95th percentile, but the variability of these estimates decreases with n. Emphasize that the mean is most affected by outliers and thus shows more fluctuation at small n, while the median and P95 are more robust but still stabilize as n grows.

Pro tip: Mention that in practice, the P95 is often used for tail-sensitive metrics like latency, and its convergence rate is slower than the median because it depends on the tail behavior; this shows you understand both statistics and product analytics.

1. Define the statistics and the context

Clarify that the daily mean, median, and P95 are computed from a sample of size n each day, and we are plotting these values over time or against n. State that as n increases, each statistic becomes a more precise estimate of its population counterpart.

2. Describe the expected patterns

Explain that at small n, all three statistics show high variability; as n grows, they converge to stable values. The mean converges to the population mean, the median to the population median, and the P95 to the population 95th percentile.

3. Explain the underlying statistical reasons

Discuss the Law of Large Numbers and the Central Limit Theorem: the sample mean has variance σ²/n, so its standard error decreases as 1/√n. The median and P95 are order statistics; their asymptotic variance depends on the density at the respective quantiles, and they also converge at rate 1/√n but with different constants.

4. Compare robustness and convergence rates

Highlight that the mean is sensitive to outliers, so at small n it can be heavily skewed; the median and P95 are more robust. However, the P95 is more variable than the median because it depends on the tail of the distribution, which is often sparser.

5. Connect to practical implications

Relate to product analytics: with small daily sample sizes, metrics like P95 can be noisy and misleading; as n increases, they become reliable. This informs decisions about minimum sample sizes for A/B tests or monitoring.

Key Points to Mention

  • Law of Large Numbers: sample statistics converge to population parameters as n increases.
  • Central Limit Theorem: the sampling distribution of the mean approaches normality with variance σ²/n.
  • Mean is sensitive to outliers; median and P95 are robust but P95 is more variable due to tail sparsity.
  • Convergence rate is O(1/√n) for all three, but constants differ; P95 may require larger n for stability.
  • In practice, daily metrics with small n can be misleading; use confidence intervals or aggregate over longer periods.
  • For product analytics, P95 is often used for latency or engagement tails, so understanding its behavior is crucial.

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

Q5

If comments per user increased week-over-week, give at least three plausible statistical or product explanations and describe how you would test each one.

Root Cause AnalysisA/B Testing & ExperimentationProduct Analytics & Metrics
Author's notes

My favorite part of the whole interview.

Create a free account to read the full note

AI HintsAI Generated

Suggested Approach

Start by clarifying the metric definition and scope (e.g., comments per user, time window, user segments). Then brainstorm plausible explanations across statistical, product, and external factors, and for each, outline a test using data analysis or experiments to validate or rule out.

Pro tip: Always consider the possibility of a metric artifact (e.g., change in logging, bot activity, or user mix shift) before jumping to product changes. Demonstrating this skepticism shows analytical rigor.

1. Clarify the metric and scope

Confirm how 'comments per user' is defined (e.g., average, median, per DAU/WAU), the time period, and any segment breakdowns. This ensures you're solving the right problem.

2. Brainstorm plausible explanations

Generate at least three hypotheses across categories: statistical (e.g., mix shift, outliers), product (e.g., new feature, UI change), and external (e.g., seasonality, competitor action).

3. Design tests for each hypothesis

For each explanation, propose a specific test: e.g., segmentation analysis, A/B test, time-series decomposition, or cohort analysis. Specify metrics and success criteria.

4. Prioritize and validate

Rank hypotheses by likelihood and impact, then validate with data. Consider potential confounders and interactions between factors.

5. Recommend actions

Based on findings, suggest next steps: if a product change caused the increase, consider scaling; if it's an artifact, fix data pipeline; if external, monitor.

Key Points to Mention

  • Simpson's paradox or mix shift: overall increase may be due to a change in user composition (e.g., more power users).
  • Novelty effect or seasonality: temporary spike due to a new feature or holiday, which may not persist.
  • Bot or spam activity: automated accounts inflating comment counts, requiring filtering.
  • A/B test or holdout: if a feature was launched, compare treatment vs. control to isolate impact.
  • Segmentation analysis: break down by user demographics, geography, or engagement level to identify drivers.
  • Statistical significance: ensure the increase is not due to random noise, especially with small samples.

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