Skip to main content
Back

Hypothesis Tests Regarding a Parameter: A Comprehensive Study Guide

Study Guide - Smart Notes

Tailored notes based on your materials, expanded with key definitions, examples, and context.

Hypothesis Testing: Steps and Concepts

Introduction to Hypothesis Testing

Hypothesis testing is a fundamental statistical method used to make inferences about population parameters based on sample data. The process involves a structured four-step procedure to evaluate claims about a population.

  • Step 1: Write Hypotheses – Formulate the null hypothesis (H0) and the alternative hypothesis (Ha).

  • Step 2: Calculate Test Statistic – Compute a value from the sample data that measures how far the sample statistic is from the hypothesized parameter.

  • Step 3: Get P-Value – Determine the probability of observing a test statistic as extreme as, or more extreme than, the observed value under H0.

  • Step 4: State Conclusion – Decide whether to reject or fail to reject H0 based on the P-value and significance level (α).

Example: An article claims that 50% of students listen to music while studying. We test if the proportion is higher using sample data.

Step 1: Writing Hypotheses

Every hypothesis test begins with two statements:

  • Null Hypothesis (H0): The default assumption or status quo about a population parameter (e.g., H0: p = 0.5).

  • Alternative Hypothesis (Ha): The claim we seek evidence for, which contradicts H0 (e.g., Ha: p > 0.5).

Hypotheses are written in terms of population parameters (mean μ, proportion p, variance σ2).

  • Example: Testing if the mean age of students is less than 23: H0: μ = 23, Ha: μ < 23.

  • Example: Testing if more than 20% of companies have female CEOs: H0: p = 0.20, Ha: p > 0.20.

Step 2: Calculating the Test Statistic

The test statistic quantifies how far the sample statistic is from the hypothesized parameter, measured in standard errors. The choice of test statistic depends on the parameter and what is known about the population:

  • Mean (σ known):

  • Mean (σ unknown):

  • Proportion:

  • Variance:

Example: A sample of 35 students has a mean age of 22, population σ = 4, testing H0: μ = 23.

Step 3: Getting the P-Value

The P-value is the probability of obtaining a test statistic as extreme as the observed one, assuming H0 is true. The calculation depends on the direction of the alternative hypothesis:

  • Left-tailed test: P-value = area to the left of the test statistic.

  • Right-tailed test: P-value = area to the right of the test statistic.

  • Two-tailed test: P-value = 2 × area in the tail beyond the absolute value of the test statistic.

Example: For Ha: μ < 23 and z = -2.00, the P-value is the area to the left of z = -2.00.

Step 4: Stating the Conclusion

Compare the P-value to the significance level (α, commonly 0.10, 0.05, or 0.01):

  • If P-value < α, reject H0.

  • If P-value ≥ α, fail to reject H0.

Restate the conclusion in the context of the original claim.

Example: If P-value = 0.0418 and α = 0.05, we reject H0 and conclude there is evidence that more than 50% of students listen to music while studying.

Hypothesis Tests for Mean

Standard Deviation (σ) Known

When the population standard deviation is known, use the z-test for the mean:

  • Test Statistic:

  • Assumptions: The population is normally distributed or n > 30 (Central Limit Theorem).

Example: Testing if the mean lifespan of bulbs is less than 25,000 hours with σ = 1,200, n = 36, x̄ = 24,600, α = 0.10.

Standard Deviation (σ) Unknown

When the population standard deviation is unknown, use the t-test for the mean:

  • Test Statistic:

  • Degrees of Freedom: df = n - 1

  • Assumptions: The population is normally distributed or n > 30.

Example: Testing if the average battery life is less than 12 hours with n = 40, x̄ = 11.4, s = 1.2, α = 0.05.

Hypothesis Tests for Proportion

Testing a Population Proportion

To test a claim about a population proportion, use the z-test for proportions:

  • Test Statistic:

  • Assumptions: Both np ≥ 5 and nq ≥ 5 (where q = 1 - p).

Example: Testing if the pass rate is below 90% with n = 200, x = 172, p = 0.90, α = 0.01.

Hypothesis Tests for Variance

Testing a Population Variance

To test a claim about a population variance, use the chi-square test:

  • Test Statistic:

  • Assumptions: The population is normally distributed.

Example: Testing if the variance in fill-weight is greater than 0.25 g2 with n = 30, s2 = 0.31, α = 0.10.

Hypothesis Testing Using Critical Values

Critical Value Method

The critical value method compares the test statistic to a threshold (critical value) determined by the significance level and the sampling distribution. If the test statistic falls in the rejection region (beyond the critical value), reject H0.

  • Left-tailed test: Reject H0 if test statistic < critical value.

  • Right-tailed test: Reject H0 if test statistic > critical value.

  • Two-tailed test: Reject H0 if test statistic < lower critical value or > upper critical value.

Example: Testing if the mean volume of soda cans is less than 355 mL with n = 50, x̄ = 352, σ = 5, α = 0.01.

Confidence Intervals & Hypothesis Testing

Relationship Between Confidence Intervals and Hypothesis Tests

A two-tailed hypothesis test at significance level α is equivalent to checking if the hypothesized value falls within the (1-α) confidence interval for the parameter. If the value is outside the interval, reject H0.

  • Example: If μ = 11 is outside the 95% confidence interval for the mean, we reject H0: μ = 11 at α = 0.05.

Type I and Type II Errors

Understanding Errors in Hypothesis Testing

Because hypothesis tests are probabilistic, two types of errors can occur:

  • Type I Error (α): Rejecting H0 when it is actually true (false positive).

  • Type II Error (β): Failing to reject H0 when Ha is true (false negative).

Example: Testing if a treatment lowers blood pressure to 120 mmHg (H0: μ = 120, Ha: μ > 120):

  • Type I Error: Conclude the treatment does not work when it actually does.

  • Type II Error: Conclude the treatment works when it actually does not.

Reducing α decreases the probability of a Type I error but increases the probability of a Type II error, and vice versa.

Summary Table: Hypothesis Test Formulas

Parameter

Test Statistic

Distribution

Mean (σ known)

Standard Normal (z)

Mean (σ unknown)

t (df = n-1)

Proportion

Standard Normal (z)

Variance

Chi-square (df = n-1)

Practice and Application

  • Formulate hypotheses for real-world claims (e.g., average SAT scores, proportions of recycling households).

  • Calculate test statistics and P-values using sample data.

  • Interpret results in the context of the original claim and significance level.

Normal distribution curve with shaded region representing a rejection area

Additional info: This guide covers the core procedures and logic of hypothesis testing for means, proportions, and variances, including both P-value and critical value approaches, and the interpretation of errors. It is suitable for exam preparation in a college-level statistics course.

Pearson Logo

Study Prep