BackSTAT 118: Exam 3 Study Guide (Chapters 3, 12-16)
Study Guide - Smart Notes
Tailored notes based on your materials, expanded with key definitions, examples, and context.
Chapter 3: Relationships Between Categorical Variables – Contingency Tables
Contingency Tables
Contingency tables are a fundamental tool for analyzing the relationship between two categorical variables. They display the frequency distribution of variables and allow for the calculation of row, column, and table percentages.
Definition: A contingency table is a matrix that shows the frequency of occurrence of combinations of categorical variables.
Key Uses:
Obtaining row, column, and table percents
Identifying associations between variables
Spotting phenomena such as Simpson's paradox
Visualization: Stacked bar plots are often used to visualize contingency tables.
Example: A table showing the number of males and females who prefer different types of music genres.
Chapter 12: From Randomness to Probability / Linear Model
Randomness and Probability
Probability theory provides a mathematical framework for quantifying uncertainty and randomness in experiments and phenomena.
Random Phenomenon: An event whose outcome cannot be predicted with certainty.
Key Terms:
Trial: A single attempt or realization of a random phenomenon.
Outcome: The result of a trial.
Sample Space: The set of all possible outcomes.
Event: A subset of the sample space.
Law of Large Numbers: As the number of trials increases, the relative frequency of an event approaches its probability.
Probability Rules:
Probability of an event is between 0 and 1:
Probability Assignment Rule: (where S is the sample space)
Addition Rule (for mutually exclusive events):
General Addition Rule:
Conditional Probability:
Joint Probability:
Independence: Events A and B are independent if
Multiplication Rule: If A and B are independent,
Chapter 13: Sampling Distribution Models & Confidence Intervals for Proportions
Sampling Variability and Distribution
Sampling distributions describe the variability of sample statistics from repeated samples of the same population.
Sampling Distribution for a Proportion: If conditions are met, the sampling distribution of the sample proportion is approximately normal:
Conditions:
Randomization condition
Success/failure condition: and
Standard Error of :
Confidence Interval for the Population Proportion
A confidence interval estimates the range in which the true population proportion is likely to fall.
Formula:
Finding the critical value (): Use for 95% CI (commonly )
Interpretation: The confidence interval gives a range of plausible values for the population proportion.
Chapter 14: Confidence Intervals for Means
Central Limit Theorem and Sampling Distribution for a Mean
The Central Limit Theorem states that the sampling distribution of the sample mean approaches normality as sample size increases, regardless of the population's distribution.
Sampling Distribution for a Mean:
Conditions:
Randomization condition
Nearly Normal condition
If the population distribution is... | Then the condition is generally met for... |
|---|---|
Fairly symmetric and no clear outliers | All n, including n < 15 |
Skewed and no clear outliers | n > 30 |
Extremely skewed and clear outliers | n > 40 |
Standard Error of :
Student's t Distribution
When the population standard deviation is unknown, the t distribution is used for inference about means.
Formula for t-statistic:
Degrees of Freedom:
Finding the critical value (): Use t-tables or software for the desired confidence level.
Chapter 15: Testing Hypotheses
Hypothesis Test Logic
Hypothesis testing is a formal procedure for comparing observed data to a claim about a population parameter.
Steps to Perform a Hypothesis Test:
State the null hypothesis (), alternative hypothesis (), and significance level ().
Select the test and check if the conditions are met.
Calculate the test statistic and p-value.
Compare the p-value to and state your conclusion in context.
Test Statistic for One Sample Test for a Proportion:
Test Statistic for One Sample Test for a Mean:
If the sample distribution is... | Then the condition is generally met for... |
|---|---|
Fairly symmetric and no clear outliers | All n, including n < 15 |
Skewed and no clear outliers | n > 30 |
Extremely skewed and clear outliers | n > 40 |
Chapter 16: Testing Hypotheses (continued)
P-values and Types of Errors
P-values quantify the strength of evidence against the null hypothesis. Understanding errors is crucial for interpreting test results.
P-value: The probability of observing a test statistic as extreme as, or more extreme than, the observed value under .
Types of Errors:
Type I error: Rejecting when it is true (false positive).
Type II error: Failing to reject when it is false (false negative).
Power: The probability of correctly rejecting when it is false.
Relationship: Power increases with sample size and decreases with lower significance level ().