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.

EasyTechnical
26 practiced

Given three independent classifiers each with accuracy 0.70, compute the probability that a majority-vote ensemble of the three is correct. Show the combinatorial calculation (probability at least two classifiers correct) and discuss how the independence assumption affects the result in practice.

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.)

MediumTechnical
29 practiced

You need to compare mean customer satisfaction across four geographic regions. Explain why you would use one-way ANOVA instead of multiple pairwise t-tests, how to interpret a significant F-statistic, and which post-hoc methods you would use to identify which regions differ while controlling Type I error.

EasyTechnical
33 practiced

You have a probabilistic classifier that outputs P(y=1|x). For a particular example P(y=1|x) = 0.20. False positive cost = 1, false negative cost = 10. Compute the expected cost for predicting positive vs predicting negative and state the Bayes decision rule for minimizing expected cost. Explain more generally how costs map to optimal thresholds.

EasyTechnical
31 practiced

You receive a binary diagnostic signal for fraud on transactions. Explain conditional probability and Bayes theorem in this context: if the fraud detector has 98% true positive rate and 1% false positive rate, and baseline fraud prevalence is 0.1%, compute the posterior probability that a flagged transaction is actually fraudulent. Show your reasoning and discuss implications for decision thresholds.

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.