Module 9: Hypothesis Tests for Single Samples

Supporting Lectures:
EGN3443 Module 9 - Hypothesis Testing for Single Samples


1. Introduction to Hypothesis Testing

Hypothesis testing is a fundamental statistical method used to make inferences about a population parameter based on sample data. It provides a systematic approach to decision-making under uncertainty.

Key Concepts

Summary of Methods

Statistic Measured in Null Hypothesis Test Method to Use
Mean T-Test or Z-Test
Proportion Z-Test
Variance Chi-Squared
Sample Size Power

2. Z-Tests and T-Tests for Means

Z-Test

Definition: A parametric test used when the population standard deviation is known and the sample size is large (n ≥ 30) or the population is normally distributed.

Use of a z-test:

  1. Determine whether two population means are different when the variances are known and the sample size is large
  2. Compare or determine the significance of statistical measures, particularly the mean in a sample from a normally distributed population or between two independent samples
  3. Test whether a sample mean significantly differs from a known population mean, especially when the sample size is large and the population variance is known
  4. Determine if results from a test are valid or repeatable
  5. Test whether the mean of a population is less than, greater than, or equal to a specific value, assuming the population standard deviation is known

Calculation Formula: Z = (x̄ - μ₀) / (σ / √n)

Example: A manufacturing company claims its machines produce parts with a mean diameter of 10 cm. A sample of 40 parts has a mean diameter of 9.8 cm with a known population standard deviation of 0.2 cm. Test at α = 0.05.

Web Reference:

T-Test

Definition: Used when the population standard deviation is unknown and must be estimated from the sample, typically for smaller sample sizes.

Types of T-Tests:

Use of a T-Test:

  1. Compare the means of two groups
  2. Determine if there is a significant difference between the means of two groups
  3. Quantify the difference between the mean of a variable from up to two samples
  4. Assess whether observed differences are significant or could have occurred by chance

Calculation Formula: t = (x̄ - μ₀) / (s / √n)

Example: A researcher wants to test if a new study technique improves test scores. The average score for 15 students is 78, with a standard deviation of 6. The hypothesized population mean is 75. Test at α = 0.05.

Web Reference:

3. Tests for Proportions

Definition: Hypothesis tests used to make inferences about population proportions.

Uses of the test for Proportion:

  1. Determining whether a predictor variable has a statistically significant relationship with an outcome variable
  2. Estimating the difference between two or more groups
  3. Testing the equality of two proportions against the alternative that they are not equal
  4. Making inferences about a population proportion

Calculation Formula: Z = (p̂ - p₀) / √[p₀(1-p₀)/n]

Example: A political poll claims 50% of voters support a candidate. A sample of 500 voters shows 260 supporting the candidate. Test at α = 0.05.

Web Reference:

4. Chi-Square Tests for Variance

Definition: A test used to compare the variance of a sample to a hypothesized population variance.

Calculation Formula: χ² = (n - 1)s² / σ₀²

Example: A quality control engineer wants to verify if the variability in a manufacturing process meets specifications with a maximum variance of 4.

Correct Situations for Chi-Squared Tests for Variance

The chi-squared test for variance is a statistical method with specific applications. Here are the correct situations for using this test:

Testing a Single Sample Variance Against a Known Value

When to use:

Example: Testing if the precision of a manufacturing process (measured through variance) matches specifications.

Testing Hypotheses About Population Variance

When to use:

Key Requirements for Valid Application

Important Distinctions and Limitations

Applications in Different Fields

Common Misapplications

Web Reference:

5. Engineering Case Studies with Single Sample Tests

Case Study 1: Manufacturing Tolerance

Scenario: Verifying if machine-produced parts meet specified dimensional tolerances using hypothesis testing.

Case Study 2: Material Strength

Scenario: Testing whether a new alloy meets minimum strength requirements through statistical inference.

Examples:

6. Sample Size and Power Calculations

Sample Size Determination

Factors Influencing Sample Size:

Power Calculation Formula: Power = 1 - β = Probability of correctly rejecting a false null hypothesis

Example: Calculating sample size needed to detect a 0.5 standard deviation difference with 80% power at α = 0.05.

Additional Resources

Practical Tips

Scenarios for Using Sample Size and Power Calculations

Sample size and power calculations are crucial in experimental design across many fields. Here are the key scenarios where they should be used:

Research and Clinical Trials

Engineering and Product Development

Environmental and Field Studies

Market Research and Business

Academic Research

Critical Decision Scenarios

Regulatory and Compliance Contexts

In all these scenarios, power and sample size calculations provide scientific legitimacy to studies, optimize resource use, and ensure that experiments have a reasonable chance of detecting true effects when they exist.