Skip to main content
Back

Study Notes: Tests of Inference in Statistics

Study Guide - Smart Notes

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

Tests of Inference in Statistics

Introduction to Statistical Inference

Statistical inference involves using data from a sample to draw conclusions about a population. Common inference procedures include hypothesis testing and estimation. These methods allow researchers to make decisions or predictions based on sample data, while accounting for variability and uncertainty.

  • Hypothesis Testing: A formal procedure for comparing observed data with a claim (hypothesis) about a population parameter.

  • Significance Level (α): The probability of rejecting the null hypothesis when it is actually true, commonly set at 0.05.

  • P-value: The probability, under the null hypothesis, of obtaining a result as extreme or more extreme than the observed result.

Inference for Means

One-Sample t-Test for Means

This test is used to determine whether the mean of a single population differs from a specified value. It is appropriate when the population standard deviation is unknown and the sample size is small.

  • Null Hypothesis (H0): (the population mean equals a specified value)

  • Alternative Hypothesis (Ha): , , or (depending on the research question)

  • Test Statistic: where is the sample mean, is the sample standard deviation, and is the sample size.

  • P-value: Calculated from the t-distribution with degrees of freedom.

Example: Testing whether the mean calcium level in healthy pregnant women differs from 10 mg/dl.

Inference for Two Means

Two-Sample t-Test

This test compares the means of two independent groups to determine if there is a statistically significant difference between them.

  • Null Hypothesis (H0):

  • Alternative Hypothesis (Ha): , , or

  • Test Statistic: where are sample means, are sample standard deviations, and are sample sizes.

  • P-value: Calculated using the t-distribution with appropriate degrees of freedom.

Example: Comparing ACT scores between juniors and seniors.

Inference for Proportions

One-Sample Proportion Test

This test is used to determine if the proportion of a certain outcome in a population differs from a specified value.

  • Null Hypothesis (H0):

  • Alternative Hypothesis (Ha): , , or

  • Test Statistic: where is the sample proportion and is the sample size.

  • P-value: Calculated from the standard normal distribution.

Example: Testing the claim that 2% of M&Ms are orange.

Inference for Categorical Data

Chi-Square Test for Independence

This test determines whether there is an association between two categorical variables in a contingency table.

  • Null Hypothesis (H0): The variables are independent.

  • Alternative Hypothesis (Ha): The variables are not independent.

  • Test Statistic: where is the observed frequency and is the expected frequency.

  • P-value: Calculated from the chi-square distribution with appropriate degrees of freedom.

Example: Examining the relationship between gender and personal goals in children.

Analysis of Variance (ANOVA)

One-Way ANOVA

One-way ANOVA is used to compare the means of three or more independent groups to determine if at least one group mean is different from the others.

  • Null Hypothesis (H0):

  • Alternative Hypothesis (Ha): At least one group mean is different.

  • Test Statistic:

  • P-value: Calculated from the F-distribution.

Example: Comparing mean crawling ages of babies born in different months.

Correlation and Regression

Pearson Correlation Coefficient

The Pearson correlation coefficient measures the strength and direction of the linear relationship between two quantitative variables.

  • Formula:

  • Interpretation: ranges from -1 (perfect negative correlation) to +1 (perfect positive correlation).

Example: Investigating the correlation between cholesterol levels of husbands and wives.

Tabular Data: Example

The following table summarizes cholesterol levels for couples:

Couple

Husband's cholesterol

Wife's cholesterol

1

257

210

2

310

270

3

245

258

4

324

249

5

318

238

6

274

236

Additional info: The table is used to illustrate correlation analysis between paired data.

Summary Table: Common Inference Tests

Test

Purpose

Key Statistic

Example

One-sample t-test

Compare sample mean to population mean

t

Calcium level in pregnant women

Two-sample t-test

Compare means of two groups

t

ACT scores: juniors vs. seniors

One-sample proportion test

Compare sample proportion to population proportion

z

Proportion of orange M&Ms

Chi-square test

Test association between categorical variables

Gender vs. personal goals

One-way ANOVA

Compare means of 3+ groups

F

Crawling age by birth month

Pearson correlation

Measure linear relationship

r

Husband's vs. wife's cholesterol

Conclusion

Understanding and applying the correct inference test is essential for drawing valid conclusions from data. Always begin by identifying the type of data and research question, then select the appropriate test, state hypotheses, calculate the test statistic and P-value, and interpret the results in context.

Pearson Logo

Study Prep