Lecture 07 - Difference of Means (Part 1)

Meta

Key Topics

Cohen's D Difference of Mean Tests Reshaping Data

Resources

Open on   Open on   Equations Function, Assignment Function, Lecture Functions Lab-06 LP-07 T-test Workflow

Lecture Slides

Lecture Prep Replication

A notebook based on the replication video is available on GitHub.

Cohen’s D Animations

The website rpsychologist contains some excellent Cohen’s d visualizations that I find particularly useful for thinking about how different effect sizes look.

Probability Under the t Distribution

This “gist” contains the code we wrote together in class, which also appears on the back of the functions handout for this lecture.

This script works very well for one-tailed t tests, but needs some modification for our assignment this week. For assignments, please use this more general version of the function: