KatInterview

Statistical Inference: Hypothesis Tests, CIs, and Sampling Strategies

Statistics & ExperimentsModel answer
HardModel answerStatistics & Experimentshypothesis-testingconfidence-intervalssampling

Last updated

Apply fundamental statistical inference techniques including hypothesis testing, confidence intervals, sample size calculations, tail probability estimation, and parameter estimation.

You're working through several statistical inference problems that require applying core concepts in different scenarios.

Part 1: Hypothesis Testing
You've gathered sample data to determine whether a population mean equals zero. If your analysis yields a p-value of x%, explain what this value represents in the context of hypothesis testing.

Part 2: Confidence Interval Construction
Your sample produces a mean of 1 with a standard error of 0.1. Construct a 95% confidence interval for the true population mean.

Part 3: Standard Error Control
How many observations would you need to reduce your standard error from 0.1 to 0.01? If collecting additional data is infeasible, what alternative approaches could reduce estimation uncertainty?

Part 4: Tail Probability Estimation
You have independent observations X₁, X₂, ..., Xₙ from some distribution. Design an estimator for the probability that X exceeds 10, then build a 95% confidence interval for this probability. Explain what your confidence interval tells you about the true probability.

Part 5: Conversion Rate Estimation Strategy
You need to estimate an overall conversion rate when 1,000 binary features describe each user. Describe your sampling and estimation approach.

Part 6: Truncated Distribution Parameter Estimation
Suppose observations come from a normal distribution N(μ, σ²), but you only observe values exceeding 3 (truncated normal). How would you estimate μ and σ²? How would you construct 95% confidence intervals for these parameters given the truncation?

Hints

Hint 1

For p-values, focus on the conditional probability statement and what assumptions it requires

Hint 2

Standard error scales with the square root of sample size

Hint 3

For rare event probabilities, the empirical proportion works but consider boundary cases

Hint 4

Stratified sampling can reduce variance when features correlate with the outcome