Unit 3 - Inference for Categorical Data: Proportions

AP Stats

Built for AP Stats

Calculator drills

Practice with exam-style Desmos (College Board testing version) or a TI-84 for handheld paths — 9 decks, 36 drills.

Video Lessons

3.1 - Estimators

Key Terms & Definitions

Point Estimator

A sample statistic used to estimate the value of an unknown population parameter. For categorical data, the sample proportion p̂ serves as the point estimator for the population proportion p.

  • •A single value calculated from sample data; it represents our best baseline guess of the true parameter.

Unbiased Estimator

An estimator whose sampling distribution has a mean equal to the true value of the population parameter being estimated; on average, it does not systematically underestimate or overestimate the parameter.

  • •Unbiasedness describes the center of the estimator’s long-run sampling distribution, not the accuracy of a single sample statistic.

Biased Estimator

An estimator that systematically overestimates or underestimates the true population parameter across repeated sampling because the center of its sampling distribution does not equal the parameter.

  • •Bias is a structural flaw in how an estimator behaves in the long run, often caused by bad sampling designs or an unrepresentative framework.

Population Parameter

A fixed, typically unknown numerical characteristic of an entire population, such as the true population proportion p.

  • •Always represented by standard letters (like p) rather than symbols with hats or bars, which are reserved for samples.

Sample Statistic

A numerical value computed from a specific sample that describes a characteristic of that sample and is used to estimate the parameter.

  • •Statistics vary from sample to sample due to sampling variability, unlike parameters which are fixed.

Variability

The spread or dispersion of a statistic’s values across a collection of different data points or across repeated realizations of a sampling distribution.

  • •An ideal estimator balances low bias with low variability to provide consistently accurate predictions.

Data Collection Methods

The foundational techniques used to acquire measurements or data points, categorized broadly into observational studies and experiments.

  • •The choice of collection method dictates whether results can establish a causal link or if they can merely generalize to a population.

3.2 - Sampling Distributions for Sample Proportions

Key Terms & Definitions

Population Parameter

A fixed, typically unknown numerical characteristic of an entire population, such as the true population proportion p.

  • •Always represented by standard letters (like p) rather than symbols with hats or bars, which are reserved for samples.

Variability

The spread or dispersion of a statistic’s values across a collection of different data points or across repeated realizations of a sampling distribution.

  • •An ideal estimator balances low bias with low variability to provide consistently accurate predictions.

Causal Relationship

A direct link between variables where changes in an explanatory variable are shown to actively force or generate changes in a response variable.

  • •Can only be confidently established via a well-designed, randomized experiment where treatments are forced onto units.

Experiment

A statistical study design where researchers deliberately impose specific conditions or treatments on experimental units to observe their effects on a response.

  • •Differs from an observational study because the investigator actively alters environment or action rather than just tracking baseline traits.

Experimental Unit

The smallest individual entity or object to which a specific treatment condition is randomly assigned within an experiment.

  • •When these entities are humans, they are formally termed subjects or participants.

Generalization

The process of extending empirical conclusions derived from a sample data set to a broader, unmeasured target population.

  • •This extension is only statistically valid if the sample group was selected using a verified random sampling mechanism.

Observational Study

A study design where researchers track traits and gather data from a sample without imposing any treatments or manipulating assignments.

  • •Useful for identifying natural real-world associations, but cannot verify definitive causal relationships due to confounding.

Prospective Study

An observational approach where a sample group is identified in the present and tracked forward into the future to monitor outcomes over time.

  • •Excellent for reducing recall errors, but often requires significant time and cost resources compared to historical reviews.

Retrospective Study

An observational approach where individuals are sampled based on a current condition, and researchers look back at historical records or past data.

  • •Efficient for studying rare conditions or immediate analysis since all relevant actions have already occurred.

Randomly Selected

A process where every individual member of a target population has a known, equal chance of being picked to join a sample group.

  • •Eliminates selection bias and provides the foundational representative baseline needed for population generalization.

Representative Sample

A sample whose key demographics and compositional traits closely mirror those of the entire population from which it was extracted.

  • •Random selection naturally yields representative groups over long-run trials, shielding studies from bias.

Sample Survey

A specific type of observational study where data are gathered from a distinct subset of human individuals using a uniform questionnaire.

  • •The accuracy of a survey depends on both clear question design and rigorous random sampling deployment.

Treatment

A specific environmental state, action, or condition artificially forced onto an experimental unit by a researcher.

  • •Can be formed by a single explanatory factor level, or a combination of multiple factor levels simultaneously.

Variable

Any characteristic or measured trait that changes or takes on different values from one individual or observational unit to another.

  • •Classified fundamentally as either categorical (qualitative) or quantitative (numerical) depending on its data format.

Categorical Variable

A variable that groups observational units into distinct classes or descriptive labels rather than recording a numerical measurement.

  • •Examples include blood types, response options like yes/no, or classification categories. Form the focus of Unit 3 proportion tests.

Independent Samples

Two or more separate sample groups where the individuals chosen or data values gathered from one group have no statistical influence over the choices or values in the other group.

  • •This independence is a vital condition for calculating standard errors in two-sample proportion procedures.

Mean of the Sampling Distribution of p̂

The expected value of all possible sample proportions from samples of size n, denoted by μ_p̂, which is equal to the true population proportion p when sampled values are independent.

  • •This equality (μ_p̂ = p) formally demonstrates that p̂ is an unbiased estimator.

Standard Deviation of the Sampling Distribution of p̂

A measure of the variability of the sample proportion across repeated independent samples of size n, calculated using the formula σ_p̂ = √(p(1 − p) / n).

  • •This formula requires independent observations. When sampling without replacement, the 10% condition must be met to use it safely.

10% Condition

A condition checked when sampling without replacement, requiring that the sample size n be less than or equal to 10% of the population size N (n ≤ 10%N).

  • •Verifying this allows us to use the standard deviation formula for a sampling distribution, even though a tiny amount of dependence is introduced by not replacing units.

Normality Condition for p̂ (Large Counts)

The requirement that the expected number of successes (np ≥ 10) and expected number of failures (n(1 − p) ≥ 10) are both at least 10, ensuring the sampling distribution of p̂ is approximately normal.

  • •Use the true population proportion p or hypothesized value p₀ here. For confidence intervals where p is unknown, we substitute the observed counts instead.

Sampling Distribution

The theoretical probability distribution displaying the value of a statistic across every single possible random sample of a fixed size n from a given population.

  • •Forms the foundational conceptual bridge linking raw descriptive statistics to population-level inference.

Sampling with Replacement

A selection strategy where an individual unit is drawn from the population, its data recorded, and then immediately returned to the population pool before the next unit is picked.

  • •Maintains perfect statistical independence between successive selections, meaning the population size does not restrict calculations.

Sampling without Replacement

A selection strategy where each chosen individual unit is removed from the population pool permanently after its data is pulled.

  • •Alters probabilities slightly on each draw, forcing us to check the 10% condition to treat observations as practically independent.

3.3 - Constructing a Confidence Interval for a Population Proportion

Key Terms & Definitions

Categorical Variable

A variable that groups observational units into distinct classes or descriptive labels rather than recording a numerical measurement.

  • •Examples include blood types, response options like yes/no, or classification categories. Form the focus of Unit 3 proportion tests.

10% Condition

A condition checked when sampling without replacement, requiring that the sample size n be less than or equal to 10% of the population size N (n ≤ 10%N).

  • •Verifying this allows us to use the standard deviation formula for a sampling distribution, even though a tiny amount of dependence is introduced by not replacing units.

Sampling Distribution

The theoretical probability distribution displaying the value of a statistic across every single possible random sample of a fixed size n from a given population.

  • •Forms the foundational conceptual bridge linking raw descriptive statistics to population-level inference.

Sampling without Replacement

A selection strategy where each chosen individual unit is removed from the population pool permanently after its data is pulled.

  • •Alters probabilities slightly on each draw, forcing us to check the 10% condition to treat observations as practically independent.

One-Sample z-Interval for a Population Proportion

The statistical inference procedure used to estimate an unknown population proportion p using a single random sample.

  • •Calculated as p̂ ± z*√(p̂(1 − p̂) / n). Always state the parameter clearly in context.

Standard Error of p̂

An estimate of the standard deviation of the sampling distribution of a statistic, calculated when the true parameter value is unknown. For one proportion, SE_p̂ = √(p̂(1 − p̂) / n).

  • •Quantifies the typical amount that the sample statistic p̂ varies from the population parameter p in repeated samples.

Margin of Error (MOE)

Half the width of a confidence interval, calculated as the critical value times the standard error: z*√(p̂(1 − p̂) / n). It shows the maximum expected distance between the point estimate and the true parameter.

  • •Does not account for systematic errors like selection bias, nonresponse bias, or response bias.

Critical Value (z*)

A multiplier based on the standard normal distribution that marks the boundaries enclosing the middle C% of the distribution for a specified confidence level.

  • •Common critical values include z* = 1.96 for a 95% confidence level and z* = 1.645 for a 90% confidence level.

Confidence Interval

A range of plausible values computed from sample data that is likely to encompass an unknown population parameter.

  • •Formed broadly by taking a point estimate and adding or subtracting a calculated margin of error.

Confidence Level

The long-run success rate of an estimation method, representing the percentage of intervals that will successfully capture the true parameter across infinitely repeated identical sampling conditions.

  • •Describes the reliability of the system/process, not the probability of any single completed interval.

Independence

The structural assumption or verified state where individual sample measurements do not alter or depend on one another, usually managed via random selection or group formatting.

  • •Violating this core condition fundamentally compromises the validity of calculated standard error formulas.

Number of Successes

The concrete count of favorable outcomes observed within a sample group, computed as np̂ for intervals or np₀ under a null hypothesis check.

  • •Must clear a minimum threshold value of 10 to satisfy basic normal distribution model assumptions.

Number of Failures

The concrete count of unfavorable or alternative outcomes within a sample group, evaluated as n(1 − p̂) for intervals or n(1 − p₀) during testing setup.

  • •Checked alongside successes to ensure a distribution is not skewed too extremely to support normal approximation methods.

Standard Normal Distribution

A specific normal curve possessing a mean value of 0 and a fixed standard deviation value of 1, providing the critical z* benchmarks for intervals.

  • •Proportion inference scales directly to this z-distribution because we model categorical metrics as standardized counts.

3.4 - Justifying a Claim Based on a Confidence Interval for a Population Proportion

Key Terms & Definitions

Margin of Error (MOE)

Half the width of a confidence interval, calculated as the critical value times the standard error: z*√(p̂(1 − p̂) / n). It shows the maximum expected distance between the point estimate and the true parameter.

  • •Does not account for systematic errors like selection bias, nonresponse bias, or response bias.

Confidence Interval

A range of plausible values computed from sample data that is likely to encompass an unknown population parameter.

  • •Formed broadly by taking a point estimate and adding or subtracting a calculated margin of error.

Confidence Level

The long-run success rate of an estimation method, representing the percentage of intervals that will successfully capture the true parameter across infinitely repeated identical sampling conditions.

  • •Describes the reliability of the system/process, not the probability of any single completed interval.

Claim

An assertion or speculative statement concerning the true value of an unknown population parameter that can be verified using statistical evidence.

  • •We test claims by observing if their stated values reside inside or outside computed confidence intervals.

Width of a Confidence Interval

The full distance or numeric spread span between the absolute upper bound and absolute lower bound of a confidence interval, equivalent to twice the margin of error.

  • •Can be compressed by increasing sample size n or by accepting a lower confidence level percentage.

Confidence Interval Interpretation

A formal statement capturing plausible values for the parameter: "We are C% confident that the interval from a to b captures the true [parameter in context]."

  • •The interval itself provides a range of plausible values that can be used as evidence to evaluate a claim about a population.

Confidence Level Interpretation

A statement regarding the reliability of the estimation method: "In repeated random sampling with the same sample size, approximately C% of the calculated intervals will capture the true population proportion."

  • •A confidence level describes the long-run capture rate of the method, not the probability that a specific calculated interval contains the parameter.

3.5 - Setting Up a Test for a Population Proportion

Key Terms & Definitions

Categorical Variable

A variable that groups observational units into distinct classes or descriptive labels rather than recording a numerical measurement.

  • •Examples include blood types, response options like yes/no, or classification categories. Form the focus of Unit 3 proportion tests.

10% Condition

A condition checked when sampling without replacement, requiring that the sample size n be less than or equal to 10% of the population size N (n ≤ 10%N).

  • •Verifying this allows us to use the standard deviation formula for a sampling distribution, even though a tiny amount of dependence is introduced by not replacing units.

Normality Condition for p̂ (Large Counts)

The requirement that the expected number of successes (np ≥ 10) and expected number of failures (n(1 − p) ≥ 10) are both at least 10, ensuring the sampling distribution of p̂ is approximately normal.

  • •Use the true population proportion p or hypothesized value p₀ here. For confidence intervals where p is unknown, we substitute the observed counts instead.

Sampling Distribution

The theoretical probability distribution displaying the value of a statistic across every single possible random sample of a fixed size n from a given population.

  • •Forms the foundational conceptual bridge linking raw descriptive statistics to population-level inference.

Sampling without Replacement

A selection strategy where each chosen individual unit is removed from the population pool permanently after its data is pulled.

  • •Alters probabilities slightly on each draw, forcing us to check the 10% condition to treat observations as practically independent.

Independence

The structural assumption or verified state where individual sample measurements do not alter or depend on one another, usually managed via random selection or group formatting.

  • •Violating this core condition fundamentally compromises the validity of calculated standard error formulas.

Number of Successes

The concrete count of favorable outcomes observed within a sample group, computed as np̂ for intervals or np₀ under a null hypothesis check.

  • •Must clear a minimum threshold value of 10 to satisfy basic normal distribution model assumptions.

Number of Failures

The concrete count of unfavorable or alternative outcomes within a sample group, evaluated as n(1 − p̂) for intervals or n(1 − p₀) during testing setup.

  • •Checked alongside successes to ensure a distribution is not skewed too extremely to support normal approximation methods.

One-Sample z-Test for a Population Proportion

A statistical test used to evaluate a claim about a single population proportion by comparing an observed sample proportion to a null hypothesized value p₀.

  • •Test statistic: z = (p̂ − p₀) / √(p₀(1 − p₀) / n).

Null Hypothesis (H₀)

The baseline statement about a population parameter that is assumed to be correct unless convincing statistical evidence dictates otherwise; represents a state of equality or no change.

  • •For a single proportion test, it is structured as H₀: p = p₀. Always write hypotheses using population parameters, never sample statistics.

Alternative Hypothesis (Hₐ)

The researcher’s claim or belief about a population parameter for which convincing statistical evidence is being gathered.

  • •Can be one-sided (Hₐ: p > p₀ or Hₐ: p < p₀) or two-sided (Hₐ: p ≠ p₀).

One-Sided Alternative Hypothesis

An alternative hypothesis that specifies a definitive direction of deviation from the null value (e.g., Hₐ: p > p₀ or Hₐ: p < p₀).

  • •Concentrates the full alpha region into a single tail of the null distribution curve, shifting calculation limits.

Two-Sided Alternative Hypothesis

An alternative hypothesis stating that the parameter differs from the null value in either direction (Hₐ: p ≠ p₀).

  • •Splits the alpha significance region evenly across both tails of the reference normal model curve.

Statistical Inference

The analytical framework of utilizing sample statistics along with probability theory to draw formal conclusions about unknown populations.

  • •In Unit 3, this practice manifests as creating confidence intervals or executing significance tests.

3.6 - p-Values

Key Terms & Definitions

Experiment

A statistical study design where researchers deliberately impose specific conditions or treatments on experimental units to observe their effects on a response.

  • •Differs from an observational study because the investigator actively alters environment or action rather than just tracking baseline traits.

Experimental Unit

The smallest individual entity or object to which a specific treatment condition is randomly assigned within an experiment.

  • •When these entities are humans, they are formally termed subjects or participants.

Null Hypothesis (H₀)

The baseline statement about a population parameter that is assumed to be correct unless convincing statistical evidence dictates otherwise; represents a state of equality or no change.

  • •For a single proportion test, it is structured as H₀: p = p₀. Always write hypotheses using population parameters, never sample statistics.

Alternative Hypothesis (Hₐ)

The researcher’s claim or belief about a population parameter for which convincing statistical evidence is being gathered.

  • •Can be one-sided (Hₐ: p > p₀ or Hₐ: p < p₀) or two-sided (Hₐ: p ≠ p₀).

p-Value

The probability of obtaining a test statistic as extreme or more extreme than the observed value, in the direction of the alternative hypothesis, assuming that the null hypothesis is true.

  • •A small p-value indicates that the observed sample data would be highly unusual if the null hypothesis were true, providing evidence for Hₐ.

Null Distribution

The specific sampling distribution modeled under the absolute structural assumption that the null hypothesis claim is perfectly true.

  • •Acts as the vital baseline scale used to isolate exactly how unusual our real-world sample looks.

Probability Model

A formal mathematical framework that matches all possible experimental outcomes with their long-run chances of occurrence.

  • •Proportion hypothesis tests rely on normal curves as their default mathematical model.

Theoretical Distribution

An idealized, continuous mathematical density curve model used to approximate a true sampling distribution, bypassing empirical simulation.

  • •The standard normal z-curve serves as the theoretical distribution for categorical proportion test statistics.

Significance Test

A formal, standardized procedure that weights sample evidence to decide between competing null and alternative claims.

  • •Operates by converting raw statistics into standardized test scores linked to precise tail areas.

Test Statistic

A standardized value computed from sample statistics measuring exactly how many standard errors an observed sample lands away from a null value.

  • •Follows the general framework format of: (Statistic − Parameter value under H₀) / Standard Error.

z-Statistic (z-Test)

The specific standardized test statistic used for population proportion evaluations, assuming standard normal parameters apply.

  • •Measures exactly how far p̂ sits from p₀ in units of the hypothesized standard deviation.

3.7 - Carrying Out a Test for a Population Proportion

Key Terms & Definitions

Causal Relationship

A direct link between variables where changes in an explanatory variable are shown to actively force or generate changes in a response variable.

  • •Can only be confidently established via a well-designed, randomized experiment where treatments are forced onto units.

Experiment

A statistical study design where researchers deliberately impose specific conditions or treatments on experimental units to observe their effects on a response.

  • •Differs from an observational study because the investigator actively alters environment or action rather than just tracking baseline traits.

Experimental Unit

The smallest individual entity or object to which a specific treatment condition is randomly assigned within an experiment.

  • •When these entities are humans, they are formally termed subjects or participants.

Generalization

The process of extending empirical conclusions derived from a sample data set to a broader, unmeasured target population.

  • •This extension is only statistically valid if the sample group was selected using a verified random sampling mechanism.

Randomly Selected

A process where every individual member of a target population has a known, equal chance of being picked to join a sample group.

  • •Eliminates selection bias and provides the foundational representative baseline needed for population generalization.

Representative Sample

A sample whose key demographics and compositional traits closely mirror those of the entire population from which it was extracted.

  • •Random selection naturally yields representative groups over long-run trials, shielding studies from bias.

Treatment

A specific environmental state, action, or condition artificially forced onto an experimental unit by a researcher.

  • •Can be formed by a single explanatory factor level, or a combination of multiple factor levels simultaneously.

One-Sample z-Test for a Population Proportion

A statistical test used to evaluate a claim about a single population proportion by comparing an observed sample proportion to a null hypothesized value p₀.

  • •Test statistic: z = (p̂ − p₀) / √(p₀(1 − p₀) / n).

Null Hypothesis (H₀)

The baseline statement about a population parameter that is assumed to be correct unless convincing statistical evidence dictates otherwise; represents a state of equality or no change.

  • •For a single proportion test, it is structured as H₀: p = p₀. Always write hypotheses using population parameters, never sample statistics.

Alternative Hypothesis (Hₐ)

The researcher’s claim or belief about a population parameter for which convincing statistical evidence is being gathered.

  • •Can be one-sided (Hₐ: p > p₀ or Hₐ: p < p₀) or two-sided (Hₐ: p ≠ p₀).

Significance Level (α)

The predetermined threshold probability used to decide whether a p-value provides strong enough evidence to reject the null hypothesis; it is the probability of committing a Type I error.

  • •If p-value ≤ α, reject H₀. If p-value > α, fail to reject H₀.

Statistical Inference

The analytical framework of utilizing sample statistics along with probability theory to draw formal conclusions about unknown populations.

  • •In Unit 3, this practice manifests as creating confidence intervals or executing significance tests.

p-Value

The probability of obtaining a test statistic as extreme or more extreme than the observed value, in the direction of the alternative hypothesis, assuming that the null hypothesis is true.

  • •A small p-value indicates that the observed sample data would be highly unusual if the null hypothesis were true, providing evidence for Hₐ.

Significance Test

A formal, standardized procedure that weights sample evidence to decide between competing null and alternative claims.

  • •Operates by converting raw statistics into standardized test scores linked to precise tail areas.

Test Statistic

A standardized value computed from sample statistics measuring exactly how many standard errors an observed sample lands away from a null value.

  • •Follows the general framework format of: (Statistic − Parameter value under H₀) / Standard Error.

z-Statistic (z-Test)

The specific standardized test statistic used for population proportion evaluations, assuming standard normal parameters apply.

  • •Measures exactly how far p̂ sits from p₀ in units of the hypothesized standard deviation.

Generalize (Experiments)

Extending experimental findings outward to a larger scope, a move restricted strictly to populations displaying matching initial traits when dealing with volunteers.

  • •Since experiments typically use voluntary subjects, we can only generalize to individuals who match those background traits.

Statistically Significant

A result whose calculated p-value lands below the alpha threshold, making it too extreme to safely credit to random sampling chance alone.

  • •Triggers the formal statistical action to reject the null hypothesis and support the alternative claim.

Reject the Null Hypothesis

The final statistical decision executed when a p-value is smaller than or equal to alpha, indicating convincing evidence exists for the alternative.

  • •Never write that you "accept the alternative as fact" or "proved the alternative"; always frame outcomes as supporting evidence.

Statistical Evidence

The empirical weight of facts delivered by a p-value or interval that systematically guides an analyst to support or drop a hypothesis.

  • •A high p-value does not provide evidence that H₀ is true; it simply shows a lack of evidence to drop it.

3.8 - Potential Errors When Performing Tests

Key Terms & Definitions

Null Hypothesis (H₀)

The baseline statement about a population parameter that is assumed to be correct unless convincing statistical evidence dictates otherwise; represents a state of equality or no change.

  • •For a single proportion test, it is structured as H₀: p = p₀. Always write hypotheses using population parameters, never sample statistics.

Significance Level (α)

The predetermined threshold probability used to decide whether a p-value provides strong enough evidence to reject the null hypothesis; it is the probability of committing a Type I error.

  • •If p-value ≤ α, reject H₀. If p-value > α, fail to reject H₀.

Type I Error

An error that occurs when a hypothesis test finds convincing evidence for the alternative hypothesis (Hₐ), leading to the rejection of a null hypothesis (H₀) that is actually true.

  • •The probability of a Type I error is exactly equal to the significance level α.

Type II Error

An error that occurs when a hypothesis test fails to find convincing evidence for the alternative hypothesis, but the alternative hypothesis is actually true (failing to reject a false null hypothesis).

  • •The probability of a Type II error is equal to 1 − power.

Power

The probability that a hypothesis test will correctly reject a false null hypothesis.

  • •Power can be increased by increasing the sample size or increasing the significance level α.

3.9 - Sampling Distributions for the Difference Between Sample Proportions

Key Terms & Definitions

Categorical Variable

A variable that groups observational units into distinct classes or descriptive labels rather than recording a numerical measurement.

  • •Examples include blood types, response options like yes/no, or classification categories. Form the focus of Unit 3 proportion tests.

Independent Samples

Two or more separate sample groups where the individuals chosen or data values gathered from one group have no statistical influence over the choices or values in the other group.

  • •This independence is a vital condition for calculating standard errors in two-sample proportion procedures.

Mean of the Sampling Distribution of p̂

The expected value of all possible sample proportions from samples of size n, denoted by μ_p̂, which is equal to the true population proportion p when sampled values are independent.

  • •This equality (μ_p̂ = p) formally demonstrates that p̂ is an unbiased estimator.

Standard Deviation of the Sampling Distribution of p̂

A measure of the variability of the sample proportion across repeated independent samples of size n, calculated using the formula σ_p̂ = √(p(1 − p) / n).

  • •This formula requires independent observations. When sampling without replacement, the 10% condition must be met to use it safely.

Normality Condition for p̂ (Large Counts)

The requirement that the expected number of successes (np ≥ 10) and expected number of failures (n(1 − p) ≥ 10) are both at least 10, ensuring the sampling distribution of p̂ is approximately normal.

  • •Use the true population proportion p or hypothesized value p₀ here. For confidence intervals where p is unknown, we substitute the observed counts instead.

Sampling Distribution

The theoretical probability distribution displaying the value of a statistic across every single possible random sample of a fixed size n from a given population.

  • •Forms the foundational conceptual bridge linking raw descriptive statistics to population-level inference.

Sampling with Replacement

A selection strategy where an individual unit is drawn from the population, its data recorded, and then immediately returned to the population pool before the next unit is picked.

  • •Maintains perfect statistical independence between successive selections, meaning the population size does not restrict calculations.

Sampling without Replacement

A selection strategy where each chosen individual unit is removed from the population pool permanently after its data is pulled.

  • •Alters probabilities slightly on each draw, forcing us to check the 10% condition to treat observations as practically independent.

Mean of the Sampling Distribution of p̂₁ − p̂₂

The expected value of the difference between two independent sample proportions, denoted by μ_(p̂₁ − p̂₂), which is equal to the true difference between the two population proportions (p₁ − p₂).

  • •This proves that the difference between two sample proportions is an unbiased estimator for the difference between two population proportions.

Standard Deviation of the Sampling Distribution of p̂₁ − p̂₂

A measure of the variability of the difference between two independent sample proportions across repeated samples, calculated as σ_(p̂₁ − p̂₂) = √(p₁(1 − p₁) / n₁ + p₂(1 − p₂) / n₂).

  • •This formula is strictly used when the true population proportions (p₁ and p₂) are known or assumed, and requires that the samples are independent of each other.

Normality Condition for p̂₁ − p̂₂

The requirement that the expected number of successes and failures for both independent samples are all at least 10 (n₁p₁ ≥ 10, n₁(1 − p₁) ≥ 10, n₂p₂ ≥ 10, and n₂(1 − p₂) ≥ 10), ensuring the sampling distribution of the difference is approximately normal.

  • •If the data come from a randomized experiment rather than random samples, the same threshold of 10 applies to the expected counts per treatment group.

Difference in Proportions (p₁ − p₂)

The static population parameter representing the true spatial gap between two baseline categorical group probabilities.

  • •The primary structural parameter estimated via a two-sample categorical confidence interval.

Difference in Sample Proportions (p̂₁ − p̂₂)

The point estimate statistic derived by subtracting one calculated sample proportion from another.

  • •Serves as the raw baseline measure that anchors the center of the two-sample z-test score calculations.

Independent Populations

Two target collection groups whose background traits or subject assignments display zero structural overlap or communication links.

  • •A necessary condition to prevent cross-group covariance from disrupting standard deviation formulas.

3.10 - Constructing a Confidence Interval for the Difference Between Two Population Proportions

Key Terms & Definitions

Categorical Variable

A variable that groups observational units into distinct classes or descriptive labels rather than recording a numerical measurement.

  • •Examples include blood types, response options like yes/no, or classification categories. Form the focus of Unit 3 proportion tests.

10% Condition

A condition checked when sampling without replacement, requiring that the sample size n be less than or equal to 10% of the population size N (n ≤ 10%N).

  • •Verifying this allows us to use the standard deviation formula for a sampling distribution, even though a tiny amount of dependence is introduced by not replacing units.

Sampling Distribution

The theoretical probability distribution displaying the value of a statistic across every single possible random sample of a fixed size n from a given population.

  • •Forms the foundational conceptual bridge linking raw descriptive statistics to population-level inference.

Sampling without Replacement

A selection strategy where each chosen individual unit is removed from the population pool permanently after its data is pulled.

  • •Alters probabilities slightly on each draw, forcing us to check the 10% condition to treat observations as practically independent.

Confidence Interval

A range of plausible values computed from sample data that is likely to encompass an unknown population parameter.

  • •Formed broadly by taking a point estimate and adding or subtracting a calculated margin of error.

Independence

The structural assumption or verified state where individual sample measurements do not alter or depend on one another, usually managed via random selection or group formatting.

  • •Violating this core condition fundamentally compromises the validity of calculated standard error formulas.

Difference in Proportions (p₁ − p₂)

The static population parameter representing the true spatial gap between two baseline categorical group probabilities.

  • •The primary structural parameter estimated via a two-sample categorical confidence interval.

Two-Sample z-Interval for the Difference Between Population Proportions

The statistical inference procedure used to estimate the true difference between two population proportions (p₁ − p₂) based on data from two independent random samples or a randomized experiment.

  • •Formula: (p̂₁ − p̂₂) ± z*√(p̂₁(1 − p̂₁) / n₁ + p̂₂(1 − p̂₂) / n₂).

Standard Error for the Difference Between Two Proportions

An estimate of the standard deviation of the sampling distribution of p̂₁ − p̂₂, calculated when the true population parameters are unknown: SE_(p̂₁ − p̂₂) = √(p̂₁(1 − p̂₁) / n₁ + p̂₂(1 − p̂₂) / n₂).

  • •This formula quantifies the typical variation observed between the two sample proportions in repeated independent trials.

Normality Condition for a Two-Sample z-Interval

The requirement that the observed number of successes and failures in both samples are all at least 10 (n₁p̂₁ ≥ 10, n₁(1 − p̂₁) ≥ 10, n₂p̂₂ ≥ 10, and n₂(1 − p̂₂) ≥ 10).

  • •Unlike hypothesis testing, confidence intervals use the observed sample counts of successes and failures because the true population proportions are completely unknown.

Success-Failure Condition

The explicit requirement that all descriptive categorical buckets contain at least 10 observations to clear normal curve conditions.

  • •In a two-sample interval, this check is anchored purely to observed sample data because parameters are unknown.

Simple Random Sample (SRS)

A sample size n picked from a population where every possible subset group of that size shares the exact same chance of being chosen.

  • •The gold standard choice for avoiding bias and maximizing data independence checks.

3.11 - Justifying a Claim Based on a Confidence Interval for the Difference Between Two Population Proportions

Key Terms & Definitions

Confidence Interval

A range of plausible values computed from sample data that is likely to encompass an unknown population parameter.

  • •Formed broadly by taking a point estimate and adding or subtracting a calculated margin of error.

Confidence Interval Interpretation

A formal statement capturing plausible values for the parameter: "We are C% confident that the interval from a to b captures the true [parameter in context]."

  • •The interval itself provides a range of plausible values that can be used as evidence to evaluate a claim about a population.

Confidence Level Interpretation

A statement regarding the reliability of the estimation method: "In repeated random sampling with the same sample size, approximately C% of the calculated intervals will capture the true population proportion."

  • •A confidence level describes the long-run capture rate of the method, not the probability that a specific calculated interval contains the parameter.

Difference in Proportions (p₁ − p₂)

The static population parameter representing the true spatial gap between two baseline categorical group probabilities.

  • •The primary structural parameter estimated via a two-sample categorical confidence interval.

Justifying a Claim of Difference Using a Confidence Interval

An inference method where if a C% confidence interval for p₁ − p₂ contains 0, there is insufficient evidence to conclude a difference exists; if the interval does not contain 0, there is sufficient evidence of a difference.

  • •If the entire interval contains only positive values, it provides convincing evidence that p₁ > p₂. If entirely negative, it implies p₁ < p₂.

3.12 - Setting Up a Test for the Difference Between Two Population Proportions

Key Terms & Definitions

Categorical Variable

A variable that groups observational units into distinct classes or descriptive labels rather than recording a numerical measurement.

  • •Examples include blood types, response options like yes/no, or classification categories. Form the focus of Unit 3 proportion tests.

10% Condition

A condition checked when sampling without replacement, requiring that the sample size n be less than or equal to 10% of the population size N (n ≤ 10%N).

  • •Verifying this allows us to use the standard deviation formula for a sampling distribution, even though a tiny amount of dependence is introduced by not replacing units.

Normality Condition for p̂ (Large Counts)

The requirement that the expected number of successes (np ≥ 10) and expected number of failures (n(1 − p) ≥ 10) are both at least 10, ensuring the sampling distribution of p̂ is approximately normal.

  • •Use the true population proportion p or hypothesized value p₀ here. For confidence intervals where p is unknown, we substitute the observed counts instead.

Sampling Distribution

The theoretical probability distribution displaying the value of a statistic across every single possible random sample of a fixed size n from a given population.

  • •Forms the foundational conceptual bridge linking raw descriptive statistics to population-level inference.

Sampling without Replacement

A selection strategy where each chosen individual unit is removed from the population pool permanently after its data is pulled.

  • •Alters probabilities slightly on each draw, forcing us to check the 10% condition to treat observations as practically independent.

Independence

The structural assumption or verified state where individual sample measurements do not alter or depend on one another, usually managed via random selection or group formatting.

  • •Violating this core condition fundamentally compromises the validity of calculated standard error formulas.

Null Hypothesis (H₀)

The baseline statement about a population parameter that is assumed to be correct unless convincing statistical evidence dictates otherwise; represents a state of equality or no change.

  • •For a single proportion test, it is structured as H₀: p = p₀. Always write hypotheses using population parameters, never sample statistics.

Alternative Hypothesis (Hₐ)

The researcher’s claim or belief about a population parameter for which convincing statistical evidence is being gathered.

  • •Can be one-sided (Hₐ: p > p₀ or Hₐ: p < p₀) or two-sided (Hₐ: p ≠ p₀).

One-Sided Alternative Hypothesis

An alternative hypothesis that specifies a definitive direction of deviation from the null value (e.g., Hₐ: p > p₀ or Hₐ: p < p₀).

  • •Concentrates the full alpha region into a single tail of the null distribution curve, shifting calculation limits.

Two-Sided Alternative Hypothesis

An alternative hypothesis stating that the parameter differs from the null value in either direction (Hₐ: p ≠ p₀).

  • •Splits the alpha significance region evenly across both tails of the reference normal model curve.

Statistical Inference

The analytical framework of utilizing sample statistics along with probability theory to draw formal conclusions about unknown populations.

  • •In Unit 3, this practice manifests as creating confidence intervals or executing significance tests.

Normality Condition for p̂₁ − p̂₂

The requirement that the expected number of successes and failures for both independent samples are all at least 10 (n₁p₁ ≥ 10, n₁(1 − p₁) ≥ 10, n₂p₂ ≥ 10, and n₂(1 − p₂) ≥ 10), ensuring the sampling distribution of the difference is approximately normal.

  • •If the data come from a randomized experiment rather than random samples, the same threshold of 10 applies to the expected counts per treatment group.

Simple Random Sample (SRS)

A sample size n picked from a population where every possible subset group of that size shares the exact same chance of being chosen.

  • •The gold standard choice for avoiding bias and maximizing data independence checks.

Two-Sample z-Test for the Difference Between Two Population Proportions

The statistical test used to evaluate a claim of a difference between two population proportions by evaluating independent random samples or a randomized experiment.

  • •The null hypothesis states there is no difference (H₀: p₁ = p₂ or H₀: p₁ − p₂ = 0).

Combined (or Pooled) Proportion (p̂_c)

The overall proportion of successes across both groups combined, calculated under the assumption that the null hypothesis is true: p̂_c = (n₁p̂₁ + n₂p̂₂) / (n₁ + n₂) = total successes / total sample size.

  • •Used strictly for calculating the standard error and checking the normality condition in a two-sample z-test for a difference between proportions.

3.13 - Carrying Out a Test for the Difference Between Two Population Proportions

Key Terms & Definitions

Null Hypothesis (H₀)

The baseline statement about a population parameter that is assumed to be correct unless convincing statistical evidence dictates otherwise; represents a state of equality or no change.

  • •For a single proportion test, it is structured as H₀: p = p₀. Always write hypotheses using population parameters, never sample statistics.

Significance Level (α)

The predetermined threshold probability used to decide whether a p-value provides strong enough evidence to reject the null hypothesis; it is the probability of committing a Type I error.

  • •If p-value ≤ α, reject H₀. If p-value > α, fail to reject H₀.

p-Value

The probability of obtaining a test statistic as extreme or more extreme than the observed value, in the direction of the alternative hypothesis, assuming that the null hypothesis is true.

  • •A small p-value indicates that the observed sample data would be highly unusual if the null hypothesis were true, providing evidence for Hₐ.

Significance Test

A formal, standardized procedure that weights sample evidence to decide between competing null and alternative claims.

  • •Operates by converting raw statistics into standardized test scores linked to precise tail areas.

Test Statistic

A standardized value computed from sample statistics measuring exactly how many standard errors an observed sample lands away from a null value.

  • •Follows the general framework format of: (Statistic − Parameter value under H₀) / Standard Error.

Reject the Null Hypothesis

The final statistical decision executed when a p-value is smaller than or equal to alpha, indicating convincing evidence exists for the alternative.

  • •Never write that you "accept the alternative as fact" or "proved the alternative"; always frame outcomes as supporting evidence.

Difference in Sample Proportions (p̂₁ − p̂₂)

The point estimate statistic derived by subtracting one calculated sample proportion from another.

  • •Serves as the raw baseline measure that anchors the center of the two-sample z-test score calculations.

Two-Sample z-Test for the Difference Between Two Population Proportions

The statistical test used to evaluate a claim of a difference between two population proportions by evaluating independent random samples or a randomized experiment.

  • •The null hypothesis states there is no difference (H₀: p₁ = p₂ or H₀: p₁ − p₂ = 0).

Combined (or Pooled) Proportion (p̂_c)

The overall proportion of successes across both groups combined, calculated under the assumption that the null hypothesis is true: p̂_c = (n₁p̂₁ + n₂p̂₂) / (n₁ + n₂) = total successes / total sample size.

  • •Used strictly for calculating the standard error and checking the normality condition in a two-sample z-test for a difference between proportions.

Test Statistic for a Two-Sample z-Test of Proportions

The standardized score measuring the distance between the observed sample difference and the hypothesized difference of 0, calculated as z = (p̂₁ − p̂₂) / √(p̂_c(1 − p̂_c)) · √(1/n₁ + 1/n₂).

  • •This z-statistic follows a standard normal distribution when the null hypothesis of equal population proportions is true.

3.14 - Setting Up a Chi-Square Test for Homogeneity or Independence

Key Terms & Definitions

Categorical Variable

A variable that groups observational units into distinct classes or descriptive labels rather than recording a numerical measurement.

  • •Examples include blood types, response options like yes/no, or classification categories. Form the focus of Unit 3 proportion tests.

10% Condition

A condition checked when sampling without replacement, requiring that the sample size n be less than or equal to 10% of the population size N (n ≤ 10%N).

  • •Verifying this allows us to use the standard deviation formula for a sampling distribution, even though a tiny amount of dependence is introduced by not replacing units.

Sampling without Replacement

A selection strategy where each chosen individual unit is removed from the population pool permanently after its data is pulled.

  • •Alters probabilities slightly on each draw, forcing us to check the 10% condition to treat observations as practically independent.

Independence

The structural assumption or verified state where individual sample measurements do not alter or depend on one another, usually managed via random selection or group formatting.

  • •Violating this core condition fundamentally compromises the validity of calculated standard error formulas.

Null Hypothesis (H₀)

The baseline statement about a population parameter that is assumed to be correct unless convincing statistical evidence dictates otherwise; represents a state of equality or no change.

  • •For a single proportion test, it is structured as H₀: p = p₀. Always write hypotheses using population parameters, never sample statistics.

Alternative Hypothesis (Hₐ)

The researcher’s claim or belief about a population parameter for which convincing statistical evidence is being gathered.

  • •Can be one-sided (Hₐ: p > p₀ or Hₐ: p < p₀) or two-sided (Hₐ: p ≠ p₀).

Statistical Inference

The analytical framework of utilizing sample statistics along with probability theory to draw formal conclusions about unknown populations.

  • •In Unit 3, this practice manifests as creating confidence intervals or executing significance tests.

Simple Random Sample (SRS)

A sample size n picked from a population where every possible subset group of that size shares the exact same chance of being chosen.

  • •The gold standard choice for avoiding bias and maximizing data independence checks.

χ² (Chi-Square) Statistic

A test statistic that measures the overall distance between observed cell counts and the counts expected under a specific null hypothesis in a two-way table, defined as χ² = Σ (Observed − Expected)² / Expected.

  • •Chi-square values are always positive and follow a distribution skewed to the right, becoming more symmetric as the degrees of freedom increase.

χ² Test for Homogeneity

A significance test used to determine whether the distributions of a single categorical variable differ across two or more independent populations or treatment groups.

  • •The null hypothesis states there is no difference in the distribution of the categorical variable across the targeted populations.

χ² Test for Independence

A significance test used to determine whether there is an association between row and column categorical variables measured within a single population sample.

  • •The null hypothesis states that the two categorical variables are independent (not associated) in the targeted population.

Expected Counts Condition (Chi-Square)

A condition requiring that all expected counts in each cell of a two-way table are greater than 5 (Expected ≥ 5) under the assumption that the null hypothesis is true.

  • •This check applies entirely to the calculated expected counts, not the raw observed sample counts.

Expected Count Calculation

The formula used to determine the cell counts expected under the null hypothesis in a two-way table: Expected Count = (Row Total × Column Total) / Total Table Count.

  • •These expected counts represent what distributions would look like if perfect independence or homogeneity existed in the data set.

Association

A statistical relationship between variables where knowing the categorical assignment of one variable provides meaningful information about the distribution or likelihood of another.

  • •Association does not instantly imply causation; it simply identifies a baseline pattern of shared variation.

Categorical Data

Counts or qualitative values that code individual observations into unranked or descriptive grouping labels rather than continuous numbers.

  • •Analyzed natively using frequencies and two-way cross-tabulation structures.

Distribution

The structural map outlining all possible values a variable can record, alongside how frequently those specific occurrences surface.

  • •Can be evaluated visually using tables, counts, relative percentages, or dedicated graphical plots.

Homogeneity

The specific relational state where the proportional breakdown of a categorical variable remains perfectly uniform across separate target populations.

  • •Tested directly by cross-comparing multiple standalone sample populations rather than collecting metrics on a single cohort.

Row and Column Variables

The two distinct categorical dimensions crossed within a contingency matrix layout to inspect structural cross-interactions.

  • •One variable defines horizontal lines while the alternate controls vertical buckets to split up collected totals.

Stratified Random Sample

A sampling method where a population is broken into homogeneous groups called strata, and separate simple random samples are drawn from each stratum.

  • •Helps guarantee equal representation across minor background subsets, reducing total sampling noise.

Two-Way Table

A contingency matrix cross-tabulating frequency counts for two categorical variables across a grid of intersecting cells.

  • •The essential structural data layout required to initiate multi-categorical chi-square assessments.

3.15 - Carrying Out a Chi-Square Test for Homogeneity or Independence

Key Terms & Definitions

Null Hypothesis (H₀)

The baseline statement about a population parameter that is assumed to be correct unless convincing statistical evidence dictates otherwise; represents a state of equality or no change.

  • •For a single proportion test, it is structured as H₀: p = p₀. Always write hypotheses using population parameters, never sample statistics.

Significance Level (α)

The predetermined threshold probability used to decide whether a p-value provides strong enough evidence to reject the null hypothesis; it is the probability of committing a Type I error.

  • •If p-value ≤ α, reject H₀. If p-value > α, fail to reject H₀.

p-Value

The probability of obtaining a test statistic as extreme or more extreme than the observed value, in the direction of the alternative hypothesis, assuming that the null hypothesis is true.

  • •A small p-value indicates that the observed sample data would be highly unusual if the null hypothesis were true, providing evidence for Hₐ.

Probability Model

A formal mathematical framework that matches all possible experimental outcomes with their long-run chances of occurrence.

  • •Proportion hypothesis tests rely on normal curves as their default mathematical model.

Significance Test

A formal, standardized procedure that weights sample evidence to decide between competing null and alternative claims.

  • •Operates by converting raw statistics into standardized test scores linked to precise tail areas.

Test Statistic

A standardized value computed from sample statistics measuring exactly how many standard errors an observed sample lands away from a null value.

  • •Follows the general framework format of: (Statistic − Parameter value under H₀) / Standard Error.

Reject the Null Hypothesis

The final statistical decision executed when a p-value is smaller than or equal to alpha, indicating convincing evidence exists for the alternative.

  • •Never write that you "accept the alternative as fact" or "proved the alternative"; always frame outcomes as supporting evidence.

χ² (Chi-Square) Statistic

A test statistic that measures the overall distance between observed cell counts and the counts expected under a specific null hypothesis in a two-way table, defined as χ² = Σ (Observed − Expected)² / Expected.

  • •Chi-square values are always positive and follow a distribution skewed to the right, becoming more symmetric as the degrees of freedom increase.

χ² Test for Homogeneity

A significance test used to determine whether the distributions of a single categorical variable differ across two or more independent populations or treatment groups.

  • •The null hypothesis states there is no difference in the distribution of the categorical variable across the targeted populations.

χ² Test for Independence

A significance test used to determine whether there is an association between row and column categorical variables measured within a single population sample.

  • •The null hypothesis states that the two categorical variables are independent (not associated) in the targeted population.

Expected Counts Condition (Chi-Square)

A condition requiring that all expected counts in each cell of a two-way table are greater than 5 (Expected ≥ 5) under the assumption that the null hypothesis is true.

  • •This check applies entirely to the calculated expected counts, not the raw observed sample counts.

Expected Count Calculation

The formula used to determine the cell counts expected under the null hypothesis in a two-way table: Expected Count = (Row Total × Column Total) / Total Table Count.

  • •These expected counts represent what distributions would look like if perfect independence or homogeneity existed in the data set.

Degrees of Freedom (df) for a Two-Way Table

The parameter that identifies the specific chi-square distribution curve based on the dimensions of a contingency table, calculated as df = (r − 1)(c − 1), where r is the number of rows and c is the number of columns.

  • •Crucial for determining the correct p-value from a chi-square distribution table or using graphing calculators.

Chi-Square Distribution

A continuous, family of probability density curves skewed heavily to the right, uniquely shaped by specific degrees of freedom.

  • •As degrees of freedom grow larger, the curve naturally shifts more open and begins to mirror a standard normal curve layout.

Observed Count

The real, factual sample frequencies gathered directly from a study data set and recorded within the cells of a contingency table.

  • •These represent raw empirical data, untouched by any baseline null hypothesis assumptions.

Two-Way Table

A contingency matrix cross-tabulating frequency counts for two categorical variables across a grid of intersecting cells.

  • •The essential structural data layout required to initiate multi-categorical chi-square assessments.

Research Question

The formal, contextual inquiry statement tracking an active problem that a data-driven statistical test is purposefully built to address.

  • •Dictates the foundational boundaries that fix how hypotheses are worded and how group profiles get categorized.