BackStatistical Inference for Proportions and Chi-Square Procedures
Study Guide - Smart Notes
Tailored notes based on your materials, expanded with key definitions, examples, and context.
Estimating an Unknown Population Proportion
Sample Proportion
Estimating a population proportion involves using sample data to infer the proportion of a characteristic in the entire population.
Sample Proportion (p̂): The ratio of the number of successes to the total sample size, calculated as , where x is the number of successes and n is the sample size.
Application: Used in surveys and experiments to estimate the proportion of individuals with a certain trait.
Example: If 45 out of 100 surveyed students prefer online classes, .
Sampling Distribution for Sample Proportion
Properties and Normal Approximation
The sampling distribution of the sample proportion describes the distribution of over repeated samples.
Mean:
Standard Deviation:
Normal Approximation: For large samples, is approximately normally distributed if and .
Example: If and , .
1-Proportion Z-Interval Procedure (Confidence Interval)
Constructing a Confidence Interval for a Population Proportion
A confidence interval estimates the range in which the true population proportion is likely to fall.
Formula:
z*: Critical value from the standard normal distribution for the desired confidence level (e.g., 1.96 for 95%).
Example: For , , and 95% confidence, the interval is .
Margin of Error
The margin of error quantifies the uncertainty in the estimate of the population proportion.
Formula:
Interpretation: The confidence interval extends units above and below .
Calculation of Margin of Error
To calculate the margin of error, substitute the sample proportion and sample size into the formula above.
Example: For , , and , .
Finding the Number of Samples Needed
To achieve a desired margin of error, solve for n in the margin of error formula.
Formula: , where is an estimated proportion (often 0.5 for maximum variability).
Example: To achieve with and , (round up to 385).
Hypothesis Tests for One Population Proportion
Testing Claims About a Population Proportion
Hypothesis testing for proportions evaluates whether the observed sample proportion differs significantly from a hypothesized value.
Null Hypothesis ():
Alternative Hypothesis (): , , or
Test Statistic:
P-value: Probability of observing a test statistic as extreme as, or more extreme than, the observed value under .
Decision: Compare p-value to significance level (e.g., 0.05) to accept or reject .
Chi-Square Procedures
Chi-Square Distribution and Degrees of Freedom
The chi-square distribution is used in tests of categorical data and is defined by its degrees of freedom.
Degrees of Freedom (df): Number of independent values in the calculation, often for goodness-of-fit, or for contingency tables.
Shape: Positively skewed, with mean and variance .
The Chi-Square Distribution Table
The chi-square table provides critical values for various degrees of freedom and significance levels.
Usage: Find the critical value for your test's degrees of freedom and chosen .
Example: For and , the critical value is approximately 7.815.
Chi-Square Goodness of Fit Test
This test evaluates whether observed categorical data fit a specified distribution.
Test Statistic: , where is observed and is expected frequency.
Critical Value Approach: Compare to the table value for and .
P-Value Approach: Calculate the probability of observing a value as extreme as the test statistic.
Example: Testing if dice are fair by comparing observed roll frequencies to expected frequencies.
Chi-Square Independence Test
This test determines whether two categorical variables are independent.
Contingency Tables (Two-Way Tables): Organize data by categories for both variables.
Expected Cell Values:
Test Statistic:
Critical Value Approach: Compare to the critical value for .
P-Value Approach: Find the probability of observing the test statistic under the null hypothesis of independence.
Example: Testing if gender and preference for a product are independent.
Example Contingency Table
Gender | Prefer Product A | Prefer Product B | Total |
|---|---|---|---|
Male | 30 | 20 | 50 |
Female | 25 | 25 | 50 |
Total | 55 | 45 | 100 |
Additional info: The above table is a typical example for a chi-square independence test, showing observed frequencies for two categorical variables.