Explain how the p-value and alpha decide whether to reject the null in one-tailed and two-tailed tests

Quick Overview

Explain how the p-value and the significance level alpha combine into the decision to reject or fail to reject the null hypothesis, and how one-tailed and two-tailed tests change that decision. Tests core hypothesis testing reasoning with a worked z test example.

Explain how the p-value and alpha decide whether to reject the null in one-tailed and two-tailed tests

Role: Data Scientist

Category: Statistics & Math

Difficulty: easy

Interview Round: Other

Explain the relationship between the p-value and the significance level (alpha) in deciding to reject or fail to reject the null hypothesis, distinguishing between one-tailed and two-tailed tests. ```hint Try one number both ways Take a z statistic of 1.8. Compute its p-value for a "greater than" alternative and for a "not equal" alternative, and compare each with 0.05. ``` ### What a Strong Answer Covers - What the p-value and alpha each mean, and that alpha is fixed before the data are seen. - The decision rule, and what "fail to reject" does and does not let you conclude. - How the rejection region and the p-value differ between two-tailed and one-tailed alternatives. - A concrete case where the two choices of tail lead to different decisions. - When a one-tailed test is justified, and why choosing the tail after seeing the data is a mistake. ### Follow-up Questions - How does the decision rule relate to a confidence interval for the effect? - A colleague ran a two-tailed test, got p = 0.08, and wants to report a one-tailed p of 0.04 instead. What is wrong with that? - If you run 20 independent tests at alpha 0.05 and every null is true, what is the chance of at least one rejection? - How does a one-tailed test change the sample size needed for a given power?

Overview: Explain how the p-value and the significance level alpha combine into the decision to reject or fail to reject the null hypothesis, and how one-tailed and two-tailed tests change that decision. Tests core hypothesis testing reasoning with a worked z test example.

Nov 25, 2026
easyData ScientistOtherStatistics & Math
0
0

Explain the relationship between the p-value and the significance level (alpha) in deciding to reject or fail to reject the null hypothesis, distinguishing between one-tailed and two-tailed tests.

What a Strong Answer Covers Guidance

  • What the p-value and alpha each mean, and that alpha is fixed before the data are seen.
  • The decision rule, and what "fail to reject" does and does not let you conclude.
  • How the rejection region and the p-value differ between two-tailed and one-tailed alternatives.
  • A concrete case where the two choices of tail lead to different decisions.
  • When a one-tailed test is justified, and why choosing the tail after seeing the data is a mistake.

Follow-up Questions Guidance

  • How does the decision rule relate to a confidence interval for the effect?
  • A colleague ran a two-tailed test, got p = 0.08, and wants to report a one-tailed p of 0.04 instead. What is wrong with that?
  • If you run 20 independent tests at alpha 0.05 and every null is true, what is the chance of at least one rejection?
  • How does a one-tailed test change the sample size needed for a given power?