IndietroExam 1 Practice Problems: Key Concepts in Inferential Statistics
Guida di studio - Note intelligenti
Appunti personalizzati basati sui tuoi materiali, ampliati con definizioni chiave, esempi e contesto.
Hypothesis Testing for Two Population Means
Comparing Means from Two Independent Samples
When comparing the means of two independent populations, we use hypothesis tests to determine if there is a statistically significant difference between them. This is commonly applied in experiments or observational studies where two groups are compared.
Null Hypothesis (H0): The population means are equal ().
Alternative Hypothesis (Ha): The population means are not equal ().
Test Statistic: For large samples, use the z-test; for small samples, use the t-test:
Degrees of Freedom: Calculated using the sample sizes and variances.
Example: Comparing the average lifespan of trees in two different locations using sample data.
Location | n | Mean | Std. Dev. |
|---|---|---|---|
1 | 45 | 8.2 | 1.1 |
2 | 45 | 7.6 | 1.4 |
Additional info: The test compares the difference in means and assesses statistical significance using the calculated t-value and p-value.
Confidence Intervals for Population Proportions
Estimating Proportions in a Population
A confidence interval provides a range of plausible values for a population proportion, based on sample data. It is commonly used in survey research and public health studies.
Sample Proportion (p̂): where x is the number of successes and n is the sample size.
Confidence Interval Formula:
z* is the critical value from the standard normal distribution for the desired confidence level (e.g., 1.96 for 95%).
Example: Estimating the proportion of children who meet recommended daily servings of fruits and vegetables.
Chi-Square Test for Independence
Testing Association Between Categorical Variables
The chi-square test for independence is used to determine whether there is a significant 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:
O = observed frequency, E = expected frequency
Degrees of Freedom: (number of rows - 1) × (number of columns - 1)
Example: Survey of adults on preferred social media platform by age group.
Platform | Under 40 | 40+ |
|---|---|---|
X (Twitter) | 18 | 7 |
10 | 21 | |
16 | 5 | |
Stocks | 6 | 7 |
Additional info: The test determines if age and platform preference are associated.
Chi-Square Goodness-of-Fit Test
Testing Distribution Fit for Categorical Data
The chi-square goodness-of-fit test is used to determine if observed frequencies match expected frequencies for a categorical variable, such as outcomes of a die roll.
Null Hypothesis (H0): The observed distribution matches the expected distribution.
Alternative Hypothesis (Ha): The observed distribution does not match the expected distribution.
Test Statistic:
Example: Rolling an eight-sided die 80 times and comparing observed counts to expected counts (10 per outcome).
Outcome | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
|---|---|---|---|---|---|---|---|---|
Count | 11 | 8 | 12 | 7 | 11 | 12 | 12 | 7 |
Additional info: The test assesses whether the die is fair (all outcomes equally likely).
Summary Table: Statistical Tests Covered
Test | Purpose | Key Formula |
|---|---|---|
Two-Sample t-Test | Compare means of two independent groups | |
Confidence Interval for Proportion | Estimate population proportion | |
Chi-Square Test for Independence | Test association between categorical variables | |
Chi-Square Goodness-of-Fit | Test fit of observed to expected distribution |