Skip to main content
Back

Hypothesis Testing, Confidence Intervals, and Inference in Statistics: Study Guide

Study Guide - Smart Notes

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

Hypothesis Testing

Types of Errors in Hypothesis Testing

In hypothesis testing, two types of errors can occur when making decisions about the null hypothesis (H0):

  • Type I Error: Rejecting the null hypothesis when it is actually true.

  • Type II Error: Failing to reject the null hypothesis when the alternative hypothesis is true.

Example: If a test incorrectly concludes that a new drug is effective when it is not, a Type I error has occurred.

Steps in Hypothesis Testing

Hypothesis testing involves several key steps:

  1. State the null hypothesis (H0) and the alternative hypothesis (Ha).

  2. Choose a significance level (commonly α = 0.05).

  3. Collect sample data and calculate the test statistic.

  4. Find the P-value or compare the test statistic to a critical value.

  5. Make a decision: reject or fail to reject the null hypothesis.

Example: Testing whether the mean price of single-family homes has increased from a previous year.

Formulating Hypotheses

Hypotheses are statements about population parameters:

  • Null Hypothesis (H0): Assumes no effect or no difference.

  • Alternative Hypothesis (Ha): Assumes an effect or a difference exists.

Example: H0: μ = 41.5 years; Ha: μ ≠ 41.5 years (testing if the mean age has changed).

P-Value and Decision Making

Definition and Interpretation of P-Value

The P-value is the probability of obtaining a sample statistic as extreme or more extreme than the observed result, assuming the null hypothesis is true.

  • If P-value < α, reject the null hypothesis.

  • If P-value ≥ α, fail to reject the null hypothesis.

Example: If the P-value is 0.03 and α = 0.05, reject the null hypothesis.

Confidence Intervals

Constructing Confidence Intervals

A confidence interval estimates a population parameter with a specified level of confidence (e.g., 95%).

  • For means:

  • For proportions:

Example: A 95% confidence interval for the mean age of victims is between 41.2 and 42.8 years.

Inference on Two Population Parameters

Comparing Two Means or Proportions

When comparing two populations, hypotheses are set up as:

  • H0: μ1 = μ2 or p1 = p2

  • Ha: μ1 ≠ μ2 or p1 ≠ p2

Test statistics for difference in means:

Test statistics for difference in proportions:

Example: Testing if the proportion of full-time employees willing to pay higher taxes differs from part-time employees.

Sampling Methods and Data Types

Types of Sampling Methods

Sampling methods are classified as:

  • Independent Sampling: Samples are selected independently from two populations.

  • Dependent Sampling: Samples are paired or matched (e.g., before-and-after studies).

Example: Measuring water clarity at the same location over time is a dependent sample.

Qualitative vs. Quantitative Data

Data can be:

  • Qualitative (Categorical): Describes categories or qualities (e.g., political philosophy).

  • Quantitative (Numerical): Describes numerical values (e.g., age, income).

Example: "Conservative," "Liberal," and "Moderate" are qualitative data.

Normal Probability Distribution

Standard Normal Table

The standard normal table provides areas under the normal curve for given z-scores. It is used to find probabilities and critical values for hypothesis tests and confidence intervals.

Example: Finding the probability that a value is less than a given z-score.

Correlation and Regression

Correlation Coefficient and Critical Values

The correlation coefficient measures the strength and direction of a linear relationship between two variables. Critical values are used to determine if the observed correlation is statistically significant.

Sample Size (n)

Critical Value

5

0.878

10

0.632

20

0.444

30

0.349

Additional info: Values inferred from provided table.

Example: If the sample correlation is greater than the critical value, the relationship is significant.

Applications and Examples

Real-World Scenarios

Statistical methods are applied to various scenarios, such as:

  • Testing if the mean waiting time at a restaurant has decreased after a new system is implemented.

  • Determining if the diameter of golf balls meets industry standards.

  • Comparing the mean hours of study between two groups of students.

Each scenario involves stating hypotheses, calculating test statistics, finding P-values, and making decisions based on statistical evidence.

Summary Table: Hypothesis Test Types

Test Type

Parameter

Formula

Application

One-sample z-test

Mean (μ)

Testing population mean

Two-sample t-test

Means (μ1, μ2)

Comparing two means

Proportion z-test

Proportion (p)

Testing population proportion

Difference in proportions

Proportions (p1, p2)

Comparing two proportions

Additional info: Table formulas and applications inferred from standard statistics curriculum.

Pearson Logo

Study Prep