← Amazon Interview Insights

Amazon·Software Engineer·Technical Phone Screen·Intermediate

Intermediate
Jun 2026

Summary

Amazon data science interview with a hypothesis testing question that sounds straightforward until you actually have to walk through the math out loud under pressure.

Questions Asked (1)

Q1

A PM claims the average user spends $50 per month on Amazon. You think the true average is higher. You pull a sample of 100 users and get a mean of $85, with a known population standard deviation of 20. Do you reject the PM's claim?

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

The numbers are almost too clean, which made me second-guess myself mid-calculation.

Create a free account to read the full note

AI HintsAI Generated

Suggested Approach

Set up a one-sample z-test for the population mean with a known standard deviation. State the null and alternative hypotheses, compute the z-statistic, and compare the p-value to a chosen significance level (e.g., 0.05). Conclude whether to reject the PM's claim based on the statistical evidence.

Pro tip: Always clarify the significance level and whether the test is one-tailed or two-tailed before diving into calculations. In a business context, also consider the practical significance of the difference, not just statistical significance.

1. State the hypotheses

Define the null hypothesis (H0: μ = $50) and the alternative hypothesis (H1: μ > $50) since you believe the true average is higher. This sets up a one-tailed test.

2. Choose significance level and test statistic

Select a significance level (commonly α = 0.05). Since the population standard deviation is known, use a z-test. Compute the z-statistic using the formula: z = (x̄ - μ0) / (σ / √n).

3. Calculate the test statistic

Plug in the values: x̄ = 85, μ0 = 50, σ = 20, n = 100. Compute z = (85 - 50) / (20 / 10) = 35 / 2 = 17.5.

4. Determine the p-value and make a decision

Find the p-value corresponding to z = 17.5. Since this is extremely large, the p-value is essentially 0. Compare it to α = 0.05; if p < α, reject H0. Here, reject H0 and conclude the average is significantly higher than $50.

5. Interpret the result in context

Explain that the sample provides strong evidence that the true average monthly spend is greater than $50. Discuss any practical implications or limitations (e.g., sample representativeness).

Key Points to Mention

  • Null and alternative hypotheses (one-tailed vs. two-tailed)
  • Known population standard deviation implies use of z-test
  • Calculation of z-statistic: (sample mean - hypothesized mean) / (σ/√n)
  • Comparison of p-value to significance level (α)
  • Conclusion: reject or fail to reject the null hypothesis
  • Practical significance and business context

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