Hypothesis Testing and Decision Errors

Applied Statistics

MTH-361A | Spring 2026 | University of Portland

Objectives

Introduction to Hypothesis Testing

Hypothesis testing is a statistical method used to make inferences about a population based on a sample. It helps determine if an observed effect is statistically significant.

Key Concepts:

Decision Rule:

Why is Hypothesis Testing Important?

Testing New Drugs

A pharmaceutical company tests whether a new drug improves recovery rates compared to a placebo.

Null Hypothesis \(H_0\):

Alternative Hypothesis \(H_A\):

Significance Level \(\alpha\):

Test Results:

Conclusion:

Outcomes of Hypothesis Testing

There are two possible outcomes of the hypothesis test:

Making statistical decisions means that you have to deal with uncertainties.

Decision Errors

Image Source: [Statistical Performance Measures by Neeraj Kumar Vaid](https://neeraj-kumar-vaid.medium.com/statistical-performance-measures-12bad66694b7){target=_blank}

Image Source: Statistical Performance Measures by Neeraj Kumar Vaid

This meme might be over used. If you find some memes similar to this but in “non-pregnancy” context, let me know.

The Significance Level and Decisions Errors

What does this all mean? When the p-value is small, i.e., less than a previously set threshold (\(\alpha\)), we say the results are statistically significant. The value of \(\alpha\) represents how rare an event needs to be in order for the null hypothesis to be rejected. The \(\alpha\) also represents the probability of committing a type I error.

Reality/Decision Reject \(H_0\) Fail to reject \(H_0\)
\(H_0\) is true Type I error
with probability \(\alpha\)
(significance level)
Correct decision
with probability \(1-\alpha\)
(confidence level)
\(H_0\) is false Correct decision
with probability \(1-\beta\)
(power of test)
Type II error
with probability \(\beta\)

Conclusion errors: Type I error (false positive) or Type II error (false negative)

Trade-offs between Type I and Type II errors (1/2)

Trade-offs between Type I and Type II Errors (2/2)

Images Source: [Type I and Type II errors by Pritha Bhandari](https://www.scribbr.com/statistics/type-i-and-type-ii-errors/){target=_blank}

Images Source: Type I and Type II errors by Pritha Bhandari

US Court

In a US court, the defendant is either innocent (\(H_0\)) or guilty (\(H_A\)).

What does a Type I Error represent in this context?

What does a Type II Error represent?

Type I Error Consequences

A Type I error occurs when the null hypothesis is incorrectly rejected, leading to a wrongful conviction.

Type II error Consequences

A Type II error occurs when the null hypothesis was failed to reject, leading to a wrongful acquittal.