Lecture 9 Large-Sample Tests of Hypotheses Part 1

This study guide provides an in-depth overview of large-sample hypothesis tests and associated concepts in statistical testing.

full document summary

introduction to large-sample hypothesis tests

The document introduces large-sample tests of hypotheses with an emphasis on statistical reasoning and decision making based on sample data 1.

Important: The content covers both the theoretical framework and practical examples to illustrate hypothesis testing.

structure of a statistical test of hypothesis

A statistical test of hypothesis is composed of five primary parts 3:

  1. Null hypothesis (H0H_0): The starting assumption, e.g., H0:μ=21H_0 : μ = 21, as seen in multiple examples.
  2. Alternative hypothesis (HaH_a): Represents the claim or effect the researcher wishes to support, e.g., Ha:μ≠21H_a : μ ≠ 21 or Ha:p<0.03H_a : p < 0.03 3 4.
  3. Test statistic and p-value: A computed value from sample data (often based on a normal or t-distribution) that is used to evaluate evidence against H0H_0 10.
  4. Significance level and rejection region: The threshold α\alpha (e.g., 0.05 or 0.01) determines the rejection region in the sampling distribution of the test statistic 16.
  5. Conclusion: Deciding whether to reject H0H_0 or not based on the computed test statistic and p-value 3 5.

examples of hypothesis tests

example 1: testing average hourly wage

  • Scenario: The hypothesis test examines whether the average hourly wage of California electricians differs from twenty-one (dollars) 6.
  • Hypotheses formulation:
    • H0:μ=21H_0: μ = 21
    • Ha:μ≠21H_a: μ ≠ 21
  • Decision making: If the test statistic reveals a value that is five standard deviations above the mean (e.g., sample mean xˉ=22x̄=22, standard deviation s=2s=2, and sample size 100100), then H0H_0 is rejected because such an event is extremely unlikely under H0H_0 6 13 14.

Tip: Remember that a two-tailed test requires computing probabilities for both extremes (above and below the hypothesized mean).

example 2: die cutting process

  • Scenario: A manufacturing process produces a three percent (3%) defective rate; the test investigates whether a machine adjustment decreases this proportion 7 8.
  • Hypotheses formulation:
    • H0:p=0.03H_0: p = 0.03
    • Ha:p<0.03H_a: p < 0.03
  • Conclusion: If the sample data indicate a lower defective rate, H0H_0 is rejected in favor of the alternative 7.

example 3: average weekly earnings for male social workers

  • Scenario: The hypothesis test compares the average weekly earnings of male social workers with the average earnings of female social workers (recorded as six hundred seventy, but note that all currency amounts must be written in full letters, e.g., "six hundred seventy") 25.
  • Hypotheses formulation:
    • H0:μ=670H_0: μ = 670
    • Ha:μ>670H_a: μ > 670
  • Mechanics:
    • Calculate the test statistic using the sample mean, standard deviation, and sample size 25.
    • The rejection region is determined by the critical value corresponding to the significance level α=0.01\alpha = 0.01, e.g., if z>2.33z > 2.33, then H0H_0 is rejected 27.
    • In the example, a calculated zz value of 3.413.41 exceeds the critical value, leading to the rejection of H0H_0 27 29.

Example: This demonstrates a right-tailed test since the alternative hypothesis is directional (μ>670μ > 670).

essentials of large-sample t-tests

Large-sample t-tests are used when the sample size is large (typically n≥30n \ge 30), allowing the application of the central limit theorem 21 23.

  • Assumptions:
    • The sample observations are randomly selected.
    • The sample size is sufficiently large so that xˉx̄ is approximately normally distributed 32.

steps in conducting the test

  1. State the hypotheses: Identify H0H_0 and HaH_a. 30
  2. Compute the test statistic: Use the formula
    z=xˉ−μ0s/nz = \frac{x̄ - μ_0}{s / \sqrt{n}}
    where xˉx̄ is the sample mean, μ0μ_0 is the hypothesized mean, ss is the standard deviation, and nn is the sample size 31 33.
  3. Determine the rejection region: Based on the critical value(s) corresponding to the significance level α\alpha 24 31.
  4. Draw a conclusion: Reject H0H_0 if the test statistic falls in the rejection region; otherwise, do not reject H0H_0 10.

calculating the p-value

The p-value quantifies the probability of observing a test statistic as extreme as the sample value under the assumption that H0H_0 is true:

  • For a two-tailed test, the p-value is calculated as:
    p-value=P(z>∣zobs∣)+P(z<−∣zobs∣)\text{p-value} = P(z > |z_{\text{obs}}|) + P(z < -|z_{\text{obs}}|)
    For instance, when xˉ=22x̄ = 22 lies 5 standard deviations above the hypothesized mean, the combined tail probabilities form a p-value that is approximately zero 14 35.
  • Varying significance levels: Different choices of α\alpha affect the decision. For example, with α=0.01\alpha = 0.01 a zz value of 3.413.41 might lead to rejection, but with α=0.0001\alpha = 0.0001 (requiring a critical value of about 3.723.72), the same result might not lead to rejection 34.

Reminder: Smaller p-values indicate stronger evidence against the null hypothesis.

interpretation and sliding scale for p-values

The document provides a “sliding scale” for interpreting p-values:

  • If the p-value is less than 0.01, the results are considered highly significant.
  • If it is between 0.01 and 0.05, results are statistically significant.
  • If it is between 0.05 and 0.10, the evidence only tends toward significance.
  • If it is greater than 0.10, the results are not statistically significant 43.

additional examples of hypothesis tests

example: daily yield in a chemical plant

  • Scenario: A chemical plant with a long-run average yield of eight hundred eighty tons is examined by testing whether the yield has changed 40.
  • Data provided: A random sample of fifty days results in a sample mean of eight hundred seventy-one tons and a standard deviation of twenty-one tons.
  • Calculation:
    • The test statistic is computed as:
      z=871−88021/50≈−3.03z = \frac{871 - 880}{21/\sqrt{50}} \approx -3.03
    • The p-value is then calculated as:
      p-value=P(z>3.03)+P(z<−3.03)=(1−0.9988)+0.0012=0.0024\text{p-value} = P(z > 3.03) + P(z < -3.03) = (1 - 0.9988) + 0.0012 = 0.0024
    • Since 0.0024 is less than typical significance levels (such as 0.05 or 0.01), H0H_0 is rejected 41 42.

Note: Doubling one tail’s probability is crucial in obtaining the p-value for a two-tailed test.

example: test for average daily sodium intake

  • Scenario: Government standards suggest that the average daily sodium intake should not exceed three thousand three hundred milligrams. A sample of one hundred Americans reveals a mean intake of three thousand four hundred milligrams with a standard deviation of one thousand one hundred milligrams 44.
  • Hypotheses formulation:
    • H0:μ=3300H_0: μ = 3300
    • Ha:μ>3300H_a: μ > 3300
  • Approaches used:
    • Critical value approach: With α=0.05\alpha = 0.05 for a one-tailed test, the critical zz is approximately 1.645. The computed zz (approximately 0.91) is less than 1.645, so H0H_0 is not rejected 46.
    • P-value approach: Calculating the p-value as P(z>0.91)≈0.1814P(z > 0.91) \approx 0.1814, which again is greater than 0.05, leads to the same conclusion 47.

Tip: Both approaches should yield the same conclusion when applied correctly.

advantages of the p-value approach

The document highlights two main advantages of reporting p-values:

  • Many statistical software packages directly output the p-value.
  • It provides flexibility, allowing researchers to evaluate the results at any chosen significance level 48.

errors in hypothesis testing

The material emphasizes the possibility of two types of errors:

  • Type I error: Rejecting a true null hypothesis with probability α\alpha 53 54.
  • Type II error: Failing to reject a false null hypothesis (i.e., accepting H0H_0 when HaH_a is true) with probability β\beta 53 54.

Important: Avoiding Type I errors is controlled by setting the significance level, while power analysis helps evaluate the risk of Type II errors.

the power of a statistical test

  • Definition: The power of a test, defined by 1−β1 - \beta, measures the probability of correctly rejecting H0H_0 when HaH_a is true 56.
  • Power curve: A graph of 1−β1 - \beta as a function of the true value of the parameter; ideally, one seeks a high power (close to one) 56 57.

example: power analysis for a chemical plant yield test

  • Scenario: For the chemical plant example, the manager wishes to detect a change when the true mean yield is eight hundred seventy tons.
  • Procedure:
    • Compute the acceptance region of H0H_0 based on the sampling distribution when H0H_0 is true.
    • Calculate the probability β\beta of accepting H0H_0 when the true mean is actually eight hundred seventy.
    • In the example, β\beta is computed as approximately 0.0793, yielding a power of 1−β=0.92071 - \beta = 0.9207, meaning there is roughly a 92 percent chance of correctly rejecting H0H_0 when the true mean is eight hundred seventy 58 60 61 62.

Reminder: High power (close to one) is desirable in hypothesis testing since it indicates a low risk of a Type II error.

additional applications and concluding remarks

  • The document also briefly mentions applications of statistical hypothesis testing in real-world contexts such as watermarking and process monitoring 49 51.
  • Overall, the material offers a comprehensive framework—from hypothesis formulation to decision making—emphasizing the importance of carefully choosing significance levels, understanding both types of errors, and using the power of the test to ensure robust conclusions.

This study guide comprehensively captures and elaborates key concepts, definitions, formulas, and examples that are essential for exam readiness in large-sample hypothesis testing.

© 2026 Maeve. All rights reserved. This content is protected by copyright.

See also