Statistical Inference and Hypothesis Testing Questions

Reasoning about uncertainty in data and drawing formal conclusions from samples. Covers probability rules and common distributions, the Central Limit Theorem, sampling, standard error, confidence intervals, and Bayesian reasoning, together with the significance-testing framework: null and alternative hypotheses, p-values, statistical power, Type I and Type II errors, effect sizes, and choosing the right test (t-test, chi-square, non-parametric). Emphasizes correctly interpreting statistical results and avoiding common misreadings of significance in business and product contexts rather than memorizing formulas.

MediumTechnical
27 practiced

You need to determine a sample size to estimate average customer lifetime value within a margin of error of 0.5 units at 95% confidence. Population standard deviation is unknown but a pilot sample of 40 customers gives sd ≈ 4. Describe the steps to compute a recommended sample size and show the calculation using the pilot sd. Discuss any iterative steps you would take in practice.

MediumTechnical
34 practiced

Explain Simpson's paradox and provide a concrete A/B testing example with hypothetical numbers where aggregating across segments yields the opposite conclusion from segment-level analysis. Describe how you would detect such paradoxes and resolve the correct interpretation for product decisions.

MediumTechnical
32 practiced

Explain how to test for interaction effects in a factorial experiment using regression. Provide an example with two binary treatment factors A and B, specify the regression model including interaction term, explain how to test whether the interaction is significant, and discuss how to visualize and interpret the interaction effect for stakeholders.

MediumTechnical
32 practiced

Technical coding (Python): Implement a function that computes a two-sided z-test p-value for comparing two proportions. Signature: def proportion_ztest(success_a, n_a, success_b, n_b) -> float. State assumptions in a docstring and handle edge cases such as zero trials. (You may use math or scipy in your answer; explain if you assume scipy is available.)

HardTechnical
34 practiced

You have an experiment with 20 variants but sparse traffic per variant. Propose a Bayesian hierarchical model to estimate variant effects that borrows strength across variants. Explain the hierarchical structure, choice of priors to provide useful shrinkage, inference methods you might use (full MCMC vs variational inference), and how you would translate posterior summaries into business decisions about which variants to promote.

Unlock Full Question Bank

Get access to all Statistical Inference and Hypothesis Testing interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.