AP · College Board
✓ تم التحقق من المنهج الرسميمعايير الجودة والصرامة ↗
2

الوحدة ٢ · جمع البيانات والمعاينة وتصميم التجارب

📌 AP Statistics Unit 2 — Sampling & Experimentation 12–15% of exam  ·  Sampling methods & bias  ·  Experimental design  ·  Randomization & confounding  ·  Scope of inference

Sound statistical conclusions require well-designed data collection. Observational studies identify associations; randomized experiments can establish cause-and-effect relationships. Randomization is the essential mechanism for eliminating selection bias and balancing confounding variables across treatment groups.

Level 1 · Foundations — Sampling Strategies, Random Selection & Sources of Bias

Distinguish between populations and samples, parameters and statistics, master scientific sampling designs (SRS, stratified, cluster, systematic), and diagnose systematic sources of bias.

المعاينة العشوائية الطبقية المتناسبة تضمن تمثيل كل طبقة متجانسة بدقة قبل التحليل.
⊙ مستكشف · تصميم العينات: حجم العينة n مقابل هامش الخطأ
تفاعلي
Sampling Std خطأ SE = \(\sigma / \sqrt{n}\)SE = 0.408
95% Capture فترة\([-0.80, 0.80]\)
Bias إزاحة من صحيح \(\mu = 0\)\(\pm 0.800\)

Unbiased عشوائي sampling centers التوزيع عند صحيح معلمة \(\mu = 0\) (bias \(b = 0\))، بينما quadrupling عينة حجم \(n\) halves قياسية خطأ.

جدول نتائج تجربة زراعية عشوائية مضبوطة يقارن مجموعة المعالجة بالمجموعة الضابطة.
● Sampling Methods Taxonomy: Procedure & Comparison
Sampling DesignOperational ProcedureStatistical Strength & Usage
Simple Random Sample (SRS)Assign numbers \(1\) to \(N\); use a random number generator to select \(n\) unique integers without replacement. Every possible group of size \(n\) has equal selection probability.Gold standard of unweighted representation; completely eliminates selection bias.
Stratified Random SampleDivide population into homogeneous groups (strata) based on a shared characteristic (e.g. grade, gender, income); take an independent SRS within each stratum.Guarantees representation from every subgroup; substantially reduces sampling variability across strata.
Cluster SampleDivide population into heterogeneous clusters resembling miniature populations (e.g. classrooms, neighborhoods); randomly select entire clusters and survey all individuals within chosen clusters.Practical and cost-effective for geographically dispersed units; higher sampling variability if clusters are homogeneous.
Systematic SampleSelect a random starting point among the first \(k\) units; then inspect every \(k\)-th individual thereafter (\(k = N/n\)).Simple to implement in manufacturing and exit polling; biased if cyclic patterns align with interval \(k\).
Convenience / VoluntarySample whoever is easily reached or allow individuals to self-select by volunteering (e.g. online poll).Critically biased; non-representative of the population; invalid for formal statistical inference.
● Systematic Sources of Sampling Bias
  • Undercoverage (Selection Bias): Occurs when the sampling frame (list of available units) systematically omits certain segments of the population (e.g. telephone survey omitting households without landlines).
  • Nonresponse Bias: Occurs when individuals chosen for the sample cannot be contacted or refuse to participate. This differs from voluntary response because a scientific sample was originally selected, but respondents differ systematically from non-respondents.
  • Voluntary Response Bias: Occurs when individuals choose whether to participate in the sample. Strongly over-represents individuals with intense, polarized, or negative opinions.
  • Response Bias: Occurs when respondents provide inaccurate or untruthful answers due to leading question wording, perceived lack of confidentiality, interviewer appearance, or recall errors.
◆ Why It Works — First-Principles Derivation (Unit 2 · Collecting Data, Sampling & Experimental Design)

Why Variance Scales as \(a^2\) and Independent Variances Always Add: By definition, \(\operatorname{Var}(Y) = \mathbb{E}[(Y - \mu_Y)^2]\). For \(Y = aX - bW\) with independent \(X, W\), subtracting its mean \(\mu_Y = a\mu_X - b\mu_W\) gives:

\[ \operatorname{Var}(aX - bW) = \mathbb{E}\!\left[(a(X - \mu_X) - b(W - \mu_W))^2\right] = a^2\mathbb{E}[(X-\mu_X)^2] - 2ab\,\operatorname{Cov}(X,W) + b^2\mathbb{E}[(W-\mu_W)^2] \]

Because independence implies \(\operatorname{Cov}(X, W) = 0\), the cross term vanishes and \((-b)^2 = +b^2\), proving \(\operatorname{Var}(aX - bW) = a^2\operatorname{Var}(X) + b^2\operatorname{Var}(W)\). Uncertainty compounds whether random variables are added or subtracted.

المستوى ١ (التأسيس) — مثال محلول
المسألة. A high school has 400 freshmen, 350 sophomores, 320 juniors, and 300 seniors. An administrator randomly selects 25 students from each grade level to survey opinion on a school schedule change. Identify the sampling design, explain why it is advantageous, and outline the exact random selection procedure.
▸ عرض خطوات الحل بالتفصيل

1. Identification: This is a stratified random sample. The four grade levels form natural homogeneous strata with respect to high school experience.

2. Advantage: Stratifying guarantees equal sample sizes from each grade level and reduces sampling variability compared to a simple random sample of size 100.

3. Selection Procedure: Within each grade level, assign each student a unique number from 1 to \(N_i\). Using a random number generator, generate 25 distinct integers without replacement between 1 and \(N_i\). Select the 25 students corresponding to those numbers.

Worked Example \(B\) — Unit 2 · Collecting Data, Sampling & Experimental Design (Easy Application)
المسألة. An agricultural researcher is designing an experiment to study the yield of a new variety of wheat. The experiment investigates two factors: - Factor 1: Fertilizer formula, with \( 3 \) different types. - Factor 2: Watering frequency, with \( 4 \) different schedules. If the experiment uses a completely randomized design where each subject receives a combination of one fertilizer formula and one watering schedule, how many distinct treatment groups are there?
▸ عرض خطوات الحل بالتفصيل

In an experiment with multiple factors, a treatment is a specific combination of levels of each factor. 1. Identify the number of levels for each factor: - Factor 1 (Fertilizer) has \( 3 \) levels. - Factor 2 (Watering) has \( 4 \) levels. 2. Apply the multiplication counting principle to find the total number of distinct treatment combinations: \[ \text{Number of treatments} = 3 \times 4 = 12 \] - Choosing \( 7 \) is a common misconception resulting from adding the levels of the factors (\( 3 + 4 \)) rather than multiplying them. - Choosing \( 64 \) results from inappropriately raising one number of levels to the power of the other (\( 4^3 \)).

Error Diagnosis — Common Student Traps vs. Exam-Board Method (Unit 2 · Collecting Data, Sampling & Experimental Design)
الخطأ الشائع لدى الطلابلماذا يفشل رياضياًالطريقة الصحيحة المعتمدة في الاختبار
Writing \(\operatorname{Var}(X - Y) = \sigma_X^2 - \sigma_Y^2\)Produces smaller or even negative variance for the difference of independent variables.Always add variances of independent variables: \(\sigma_{X-Y}^2 = \sigma_X^2 + \sigma_Y^2\).
Using \(\sigma / n\) instead of \(\sigma / \sqrt{n}\) for \(\bar{X}\)Confuses the variance of the sample mean \(\sigma^2/n\) with its standard error.Take the square root: \(\text{SE}(\bar{X}) = \sigma / \sqrt{n}\).
Accepting \(H_0\) with certainty when \(p > \alpha\)Absence of sufficient evidence against \(H_0\) does not prove \(H_0\) is true.Write in context: "There is insufficient evidence at the \(\alpha\) level to reject \(H_0\)."
▲ Exam Pacing & Verification Strategy — Unit 2 · Collecting Data, Sampling & Experimental Design

Exam Marking Tip (College Board AP Statistics): Always state the distribution parameters explicitly (e.g., \(X \sim \operatorname{N}(\mu, \sigma^2)\) or \(\bar{X} \sim \operatorname{N}(\mu, \sigma^2/n)\)) and sketch a quick shaded bell curve before standardizing to \(z = \dfrac{x - \mu}{\sigma}\). This secures the method mark even if a rounding slip occurs later.

Level 1 · Foundations

An airline wants to inspect passenger satisfaction. It randomly selects 10 flights departing from a major hub on a given day and surveys every passenger on those 10 flights. Identify this sampling method and distinguish it from stratified sampling.

💡 Hint 1 of 3
This is a cluster sample.
💡 Hint 2 of 3
In cluster sampling, the population is divided into clusters (individual flights), a random sample of whole clusters is selected, and all individuals within those clusters are surveyed.
💡 Hint 3 of 3
In stratified sampling, individuals from every group would be sampled, whereas here, entire flights are either completely included or completely excluded.

This is a cluster sample.

In cluster sampling, the population is divided into clusters (individual flights), a random sample of whole clusters is selected, and all individuals within those clusters are surveyed. In stratified sampling, individuals from every group would be sampled, whereas here, entire flights are either completely included or completely excluded.

Level 2 · Medium — Principles of Experimental Design, Randomized Blocking & Matched Pairs

Apply the four core principles of experimental design (comparison, random assignment, control, replication) and construct randomized block and matched-pairs experimental plans.

● The Four Core Principles of Experimental Design
  • 1. Comparison: Use two or more treatment groups (or a treatment group and an active/placebo control group) to ensure that differences in response are due to the treatments rather than external time trends or environmental shifts.
  • 2. Random Assignment: Use chance mechanisms to allocate experimental units to treatments. Random assignment balances unmeasured lurking and confounding variables across treatment groups, creating comparable baselines.
  • 3. Control: Keep potential confounding variables identical across all treatment groups to isolate the specific effect of the treatments.
  • 4. Replication: Apply each treatment to a sufficiently large number of experimental units so that genuine treatment differences can be distinguished from chance variation among units.
● Experimental Architecture: CRD vs. Blocking vs. Matched Pairs
Design TypeStructuring RulePrimary Methodological Purpose
Completely Randomized Design (CRD)All experimental units are allocated completely at random among all treatment groups.Simplest experimental design; effective when experimental units are homogeneous.
Randomized Block Design (RBD)Units are partitioned into blocks of similar individuals based on a pre-existing characteristic known or suspected to affect the response (e.g. age, weight, baseline test score). Random assignment of treatments is conducted separately within each block.Eliminates the variability associated with the blocking variable from the experimental error. Rule: Block what you can control, randomize what you cannot!
Matched Pairs DesignSpecial case of randomized block design where block size is 2. Either two closely matched subjects receive different treatments randomly assigned, or each subject receives both treatments in a randomized order (crossover/repeated measures).Substantially reduces subject-to-subject variability by using each subject as their own control.
المستوى ٢ (المتوسط) — مثال محلول
المسألة. A pharmaceutical company tests whether a new cholesterol medication lowers LDL levels better than an existing standard drug. 80 volunteers (40 men and 40 women) participate. Design a randomized block experiment, explaining why blocking is appropriate.
▸ عرض خطوات الحل بالتفصيل

1. Why Block by Sex: Biological sex is an established factor influencing baseline cholesterol and metabolic response. Blocking by sex eliminates variability between men and women, allowing more precise detection of drug efficacy.

2. Experimental Protocol:

  • Separate the 80 volunteers into two blocks: Block 1 (40 men) and Block 2 (40 women).
  • Within Block 1, randomly assign 20 men to the new drug and 20 men to the standard drug using a random number generator.
  • Within Block 2, randomly assign 20 women to the new drug and 20 women to the standard drug independently.
  • Maintain identical dosage, diet, and double-blind conditions for 12 weeks.
  • Measure and compare the mean reduction in LDL levels between the two drug treatments within each block.
Level 2 · Medium

Explain the difference between a single-blind experiment and a double-blind experiment, and describe why a placebo is used in medical trials.

💡 Hint 1 of 3
Single-Blind: Either the subjects do not know which treatment they are receiving, OR the evaluators who measure the response do not know which treatment was administered.
💡 Hint 2 of 3
Double-Blind: NEITHER the subjects nor the researchers/evaluators interacting with them and measuring response variables know which treatment was administered.
💡 Hint 3 of 3
Placebo Purpose: A placebo provides an inactive comparison baseline that isolates the physiological effect of the active medication from psychological improvements caused simply by receiving treatment (the placebo effect).

Single-Blind: Either the subjects do not know which treatment they are receiving, OR the evaluators who measure the response do not know which treatment was administered.

Double-Blind: NEITHER the subjects nor the researchers/evaluators interacting with them and measuring response variables know which treatment was administered.

Placebo Purpose: A placebo provides an inactive comparison baseline that isolates the physiological effect of the active medication from psychological improvements caused simply by receiving treatment (the placebo effect).

Level 3 · Advanced — Confounding Variables, Scope of Inference & Simulation Protocols

Formally diagnose confounding variables, delineate the exact scope of statistical inference using the 2×2 selection/assignment matrix, and design rigorous probability simulations.

● The \(2 \times 2\) Scope of Inference المصفوفة

The scope of valid statistical conclusions depends strictly on how individuals were selected and how treatments were allocated:

Design DimensionWere Treatments Randomly Assigned? (Yes)Were Treatments Randomly Assigned? (No)
Were Individuals Randomly Selected? (Yes)Inference about Population AND Cause-and-Effect: Results generalize to the population, and causal conclusions are valid.Inference about Population ONLY: Results generalize to the population, but can establish association only (observational study).
Were Individuals Randomly Selected? (No)Inference about Cause-and-Effect ONLY: Causal conclusions are valid, but apply strictly to the participants in the study (typical randomized trial).No Generalization & No Causal Inference: Valid only as a descriptive summary of participants; cannot establish cause or generalize.
● Formal Protocol for Designing Statistical Simulations

When asked on an AP Free-Response Question to design a simulation to estimate an empirical probability, you must execute the following 5-step protocol:

  1. State the Question / Component: Identify the basic random trial (e.g. purchasing a box of cereal with a prize inside).
  2. Assign Digits / Model: Map random digits to outcomes in exact proportion to their theoretical probabilities (e.g. 'Digits 0–1 represent prize A (20%); digits 2–9 represent other prizes (80%)').
  3. Describe a Single Trial: Explain how digits will be read (one at a time, without replacement if sampling without replacement, or until a specific condition is met).
  4. Define the Recorded Statistic: Explicitly state what value is measured at the end of each trial (e.g. 'Count the total number of boxes opened until prize A is found').
  5. Replication & Estimation: State that the trial must be repeated many times (e.g. 100 trials), and calculate the simulated relative frequency or average across all trials.
⚠️ Unit 2 Traps & AP Exam Pitfalls
  • Never Confuse Stratifying with Blocking: Stratifying is done during SAMPLING to ensure representative subgroup representation in observational data. Blocking is done during EXPERIMENTS before assigning treatments to control for an extraneous variable. (Mnemonic: S for Sampling = Stratify; E for Experiment = Block).
  • Confounding Requires Two Links: On AP rubrics, to explain why a variable is a confounding variable, you must explain: (1) how it is linked to the explanatory variable / treatment groups, AND (2) how it independently affects the response variable. Omitting either link scores Partial credit!
  • Replication is NOT Repeating the Experiment: In AP Statistics, 'replication' means applying each treatment to many experimental units, not doing the whole experiment a second time.
  • Random Assignment vs. Random Selection: Random selection gives population generalizability; random assignment gives causal validity. Never claim cause-and-effect from an observational study!
المستوى ٣ (المتقدم) — مثال محلول
المسألة. An observational study of 2,000 adults finds that people who regularly drink green tea have a significantly lower incidence of cardiovascular disease than non-tea drinkers. (a) Can researchers conclude that drinking green tea causes a reduction in cardiovascular disease? (b) Identify a plausible confounding variable and explain how it confounds the relationship.
▸ عرض خطوات الحل بالتفصيل

(a) Causal Conclusion: No, causal conclusions cannot be established because treatments were not randomly assigned; this is an observational study.

(b) Confounding Variable: A plausible confounding variable is overall dietary and exercise habits. People who deliberately choose to drink green tea regularly may also be more health-conscious, exercising more frequently and eating a healthier diet (link to explanatory variable). Healthier diet and frequent exercise independently reduce cardiovascular disease risk (link to response variable). Therefore, the observed reduction in heart disease cannot be definitively isolated or attributed to green tea alone.

Level 3 · Advanced

A university alumni association randomly selects 500 graduates from its directory and sends them a survey asking for their current annual salary. Only 95 completed surveys are returned, yielding an average reported salary of \$2,000. (a) Name the primary source of bias present. (b) Explain the likely direction of the bias on the estimated mean salary. (c) Explain whether the results can be generalized to all graduates of the university.

💡 Hint 1 of 3
(a) Source of Bias: Nonresponse bias. A representative random sample was selected, but 81% (405 of 500) of selected individuals failed to respond.
💡 Hint 2 of 3
(b) Direction of Bias: The estimate is likely an overestimate (upward bias). Graduates with high incomes and prestigious careers are substantially more eager and proud to report their earnings, while graduates who are unemployed or earn lower wages are far less likely to respond.
💡 Hint 3 of 3
(c) Generalizability: No, the results cannot be generalized to all graduates because the massive nonresponse rate destroys the representativeness of the original random sample.

(a) Source of Bias: Nonresponse bias. A representative random sample was selected, but 81% (405 of 500) of selected individuals failed to respond.

(b) Direction of Bias: The estimate is likely an overestimate (upward bias). Graduates with high incomes and prestigious careers are substantially more eager and proud to report their earnings, while graduates who are unemployed or earn lower wages are far less likely to respond.

(c) Generalizability: No, the results cannot be generalized to all graduates because the massive nonresponse rate destroys the representativeness of the original random sample.

[Practice 4 · Medium] A researcher is designing a complex experiment to investigate the impact of three different fertilizer treatments (A, B, C) on crop yield, while also controlling for two different irrigation methods (I1, I2) and two soil types (S1, S2). To ensure a robust comparison and account for potential interactions, a stratified randomized block design is employed. Within each unique combination of irrigation method and soil type (forming the blocks), the three fertilizer treatments will be randomly assigned to distinct plots. What is the total number of unique experimental units (plots) that will be established for this experiment?
💡 Hint 1 of 3
The problem describes a factorial experimental design with blocking.
💡 Hint 2 of 3
The blocks are formed by the combinations of irrigation methods and soil types. There are 2 irrigation methods and 2 soil types, so the number of blocks is \( 2 \times 2 = 4 \).
💡 Hint 3 of 3
The total number of experimental units is the number of blocks multiplied by the number of units per block.
The problem describes a factorial experimental design with blocking. The blocks are formed by the combinations of irrigation methods and soil types. There are 2 irrigation methods and 2 soil types, so the number of blocks is \( 2 \times 2 = 4 \). Within each block, there are 3 fertilizer treatments that are randomly assigned to plots. Therefore, the number of experimental units (plots) per block is equal to the number of treatments, which is 3. The total number of experimental units is the number of blocks multiplied by the number of units per block. Total units = (Number of irrigation methods) \(\times\) (Number of soil types) \(\times\) (Number of fertilizer treatments) = \( 2 \times 2 \times 3 = 12 \).
An agricultural researcher is designing an experiment to study the yield of a new variety of wheat. The experiment investigates two factors: - Factor 1: Fertilizer formula, with \( 3 \) different types. - Factor 2: Watering frequency, with \( 4 \) different schedules. If the experiment uses a completely randomized design where each subject receives a combination of one fertilizer formula and one watering schedule, how many distinct treatment groups are there?
💡 Hint 1 of 3
In an experiment with multiple factors, a treatment is a specific combination of levels of each factor.
💡 Hint 2 of 3
Identify the number of levels for each factor: - Factor 1 (Fertilizer) has \( 3 \) levels. - Factor 2 (Watering) has \( 4 \) levels.
💡 Hint 3 of 3
Apply the multiplication counting principle to find the total number of distinct treatment combinations: \(\text{Number of treatments} = 3 \times 4\).
In an experiment with multiple factors, a treatment is a specific combination of levels of each factor. 1. Identify the number of levels for each factor: - Factor 1 (Fertilizer) has \( 3 \) levels. - Factor 2 (Watering) has \( 4 \) levels. 2. Apply the multiplication counting principle to find the total number of distinct treatment combinations: \[ \text{Number of treatments} = 3 \times 4 = 12 \] - Choosing \( 7 \) is a common misconception resulting from adding the levels of the factors (\( 3 + 4 \)) rather than multiplying them. - Choosing \( 64 \) results from inappropriately raising one number of levels to the power of the other (\( 4^3 \)).

الوحدة ٢ · جمع البيانات والمعاينة وتصميم التجارب — مهمة استقصائية من ٩ نقاط

9 نقاط الآلة الحاسبة مسموحة
في دراسة ضبط الجودة (الوحدة ٢ · جمع البيانات والمعاينة وتصميم التجارب)، أعطت عينة عشوائية حجمها \(n = 45\) متوسطاً \(\bar{x} = 52\) وانحرافاً معيارياً \(s = 9\) من مجتمع يتبع تقريباً التوزيع الطبيعي.
  1. (a)3 نقطة
    تحقّق من شروط الاستدلال الإحصائي حول متوسط المجتمع \(\mu\).
    معيار التصحيح والإجابة النموذجية
    • [M1] يتحقّق من العشوائية وشرط الاستقلالية 10% (2 نقطة)
    • [A1] يطبّق مبرهنة النهاية المركزية لأن n = 45 >= 30 (1 نقطة)
  2. (b)3 نقطة
    احسب الخطأ المعياري \(\mathrm{SE} = \dfrac{s}{\sqrt{n}}\) مقرباً إلى ٣ منازل عشرية.
    معيار التصحيح والإجابة النموذجية
    • [M1] يعوّض القيم في قانون الخطأ المعياري (2 نقطة)
    • [A1] يحصل على الخطأ المعياري 1.342 (1 نقطة)
  3. (c)3 نقطة
    باستخدام القاعدة التجريبية، اذكر النسبة التقريبية للقيم ضمن انحراف معياري واحد عن \(\mu = 52\).
    معيار التصحيح والإجابة النموذجية
    • [M1] يستخدم النطاق المظلل ضمن انحراف معياري واحد (1 نقطة)
    • [A1] يستنتج النسبة 68% تقريباً (2 نقطة)
الحل الكامل التفصيلي
(أ) العينة عشوائية وحجمها \(n = 45 \ge 30\). (ب) \(\mathrm{SE} = \frac{9}{\sqrt{45}} \approx 1.342\). (ج) تقع قرابة \(68\%\) من القيم ضمن \([43, 61]\).
📝 اختبار الفصل