T-Tests, Sampling Distributions, and Effect Sizes – Lecture 3 Notes
Administrative & Housekeeping
• Reminder from Rana: visit NUCU ➔ read the PDF of proposed class experiments ➔ complete the Qualtrics vote BEFORE Thursday.
• Thursday’s class = collaborative design of the selected “Class Experiment – the star of the term.”
Road-Map of Today’s Lecture
• Revisit & clarify several student-raised questions from last week.
• Topics in order:
◦ Logic of the normality assumption.
◦ Samples vs. populations & the idea of sampling distributions.
◦ Between-subjects vs. within-subjects t tests.
◦ When to choose Student’s, Welch’s, Mann-Whitney, or Wilcoxon tests.
◦ Calculating & interpreting effect size (Cohen’s ) and distinguishing it from values.
Samples, Populations & Distribution Shapes
• Demonstration website allowed interactive sampling from an imaginary population (mean ).
• Small (e.g., )
◦ Sample histogram shows only three dots — looks non-normal.
◦ Sample mean was (close but not identical to ).
◦ Re-sample with produced (≈ 1 SD away).
◦ Point: with small the sample mean can be very off.
• Large (e.g., )
◦ Histogram gets “lumpier” but more closely approximates shape of the population.
◦ hugs the true tightly.
• Key nuance: increasing does not guarantee that the sample distribution becomes normal — it becomes whatever shape the population really is. Normal-looking samples only occur when the population itself is normal.
Skewed Population Example
• New population defined with mean , strong positive skew (analogy: reaction-time ceiling).
• Taking , , :
◦ Sample histograms retain skew.
◦ Sample mean converges to .
Central Limit Theorem (CLT)
• Despite sample skew, the sampling distribution of the mean → normal as ↑.
• Illustration: ran separate studies with each; plotted the sample means:
◦ Overlay ≈ normal curve (dashed line) even though the raw data were skewed.
◦ Reduced widened & distorted the sampling distribution.
• Formal statement: “For any population with finite variance, the distribution of approaches normal with mean and SE as .”
Why Normality Matters (or Not)
• Parametric tests (Student’s t, ANOVA, , etc.) actually assume a normal sampling distribution, not necessarily normal raw data.
• Implications:
◦ If is large → CLT renders assumption safe even under non-normal population shapes.
◦ For small non-normality can distort values via:
Heavy tails (↑ Type-I error; false positives).
High skew pulling (↑ Type-II error; false negatives).
Decision Tree: Which Two-Group Test?
• Check assumptions in order:
Normality (Shapiro-Wilk).
Homogeneity of variance (Levene/Brown-Forsythe).
• If both satisfied → Student’s t.
• Variances unequal but normal → Welch’s t (separate-variance formula for SE).
• Non-normal & small → Mann-Whitney U (between-subjects) or Wilcoxon Signed-Rank (within-subjects).
• Enormous means parametric tests tolerate non-normality – CLT saves the day.
Between- vs. Within-Subjects Designs
• Between: “independent-samples” – each participant provides data for only one group.
• Within: “paired,” “matched,” “repeated measures” – same participant supplies data for both levels of the IV.
◦ Lower error variance → greater statistical power.
◦ Fewer participants needed; individuals act as their own controls.
Paired-Samples t Test: Mechanics
• Compute each person’s difference score: .
• Example numbers:
◦ .
◦ .
◦ Test statistic: (sign & rounding vary in slides).
• Assumptions:
Independence of pairs (each participant unrelated to other participants).
Difference-score distribution ≈ normal (again, trivial if large).
• Nonparametric fallback: Wilcoxon Signed-Rank.
◦ Categorize pairs where vs. ; significant imbalance indicates effect.
Reporting Format (APA-style)
• Example: t(df) = , , .
• Why include df? Lets readers reconstruct the critical value & sample size.
Effect Size: Cohen’s
• Formula: .
◦ .
• Interpretation: number of SDs separating the two means.
• Benchmarks (Cohen, 1988):
◦ → “small” (≈ overlap).
◦ → “medium” (≈ overlap).
◦ → “large” (≈ overlap).
◦ Example slide showed giant case (means 2 SD apart).
Statistical Power & Sample Size
• Power = = probability of detecting a true effect.
• Large + modest → still decent power.
• Small requires very large (else Type-II error risk skyrockets).
Tidal Analogy (Metaphor)
• Water bottle ⇢ pond ⇢ Lake Texcoco ⇢ Lake Superior ⇢ ocean:
◦ Tidal effect truly exists in all bodies but magnitude is tiny relative to small samples.
◦ Only with “huge sample” (ocean-scale) can the ~5 mm change become detectable.
• Moral: theory may posit a real yet minuscule effect; plan accordingly or risk missing it.
Advantages of Within-Subjects (Re-framed)
Fewer participants (cost & logistics).
Drastic reduction of extraneous-variable noise (each subject controls for self).
Greater statistical power: smaller SE in denominator of increases chance of finding real effect.
Common Misconceptions About Values
• “Tiny means huge effect.” ✘ Not necessarily; could be huge .
• “Rejecting proves my research hypothesis.” ✘ Type-I errors exist.
• “Failing to reject proves no effect.” ✘ Could be under-powered (Type-II error).
• “Significant result guarantees a well-designed study.” ✘ Methodological flaws can still yield false significance.
Practical & Ethical Implications
• Researchers must justify sample size via a priori power analysis (ethical duty to avoid wasted resources/participants).
• Must test & report assumption checks (transparency, reproducibility).
• Avoid “p-value fishing” – understand true interpretation of statistical outputs.
Quick Reference Equations
• Pooled SD: , where = number of groups.
• Independent-samples : .
• Paired-samples : .
• Welch’s adjustment to df: .
End-of-Lecture Wrap-Up & Next Steps
• Hardest material (sampling logic) front-loaded; remaining t-test variants straightforward.
• Thursday: apply today’s concepts while co-designing the class experiment.