Skip to main content

One sample t-tests, puppies, real data.

This teaching example:

1. Is psychology research.

2. Features the actual data from the generous and helpful Dr. Bray.

3. Features GIFs. EVERYTHING is better with GIFs.

4. Includes puppies.

5. Includes a good ol' Psych Statistics standard: The one-sample t-test.

Okay, get ready.

I first learned about Dr. Emily Bray's dog cognition research via Twitter. Never let it be said that good things don't happen on Twitter. Occasionally. 

This is such a helpful way to share your research. This example works for your Cognitive or RM classes as well as your stats class, since this thread illustrates not just her findings but her methods.

The thread also featured one-sample t-tests. Which, let's be honest, you don't find out in the wild very often despite the fact that they are almost always taught in Psychological Statistics.

 I'm especially fond of this example because it compares the sample data not to some value believed to be true (like "Is the average human body temperature really 98.6?"). Instead, it compares the data (proportion of successful trials for each puppy on each task) to what you would expect if there was no relationship at all: The dogs, given two options, would perform correctly on 50% of tasks. While the GIF only features a few of the tasks performed by the dogs, this table shows ALL of the one-sample t-tests you can choose from, in addition to the one illustrated in the previous tweet.



I emailed Dr. Bray and asked for the data so I could share it with you all, so your students can practice one-sample t-tests with real data. She kindly obliged (access it here).


Popular posts from this blog

Ways to use funny meme scales in your stats classes

Have you ever heard of the theory that there are multiple people worldwide thinking about the same novel thing at the same time? It is the multiple discovery hypothesis of invention . Like, multiple great minds around the world were working on calculus at the same time. Well, I think a bunch of super-duper psychology professors were all thinking about scale memes and pedagogy at the same time. Clearly, this is just as impressive as calculus. Who were some of these great minds? 1) Dr.  Molly Metz maintains a curated list of hilarious "How you doing?" scales.  2) Dr. Esther Lindenström posted about using these scales as student check-ins. 3) I was working on a blog post about using such scales to teach the basics of variables.  So, I decided to create a post about three ways to use these scales in your stats classes:  1) Teaching the basics of variables. 2) Nominal vs. ordinal scales.  3) Daily check-in with your students.  1. Teach your students the basics...

Leo DiCaprio Romantic Age Gap Data: UPDATE

Does anyone else teach correlation and regression together at the end of the semester? Here is a treat for you: Updated data on Leonardo DiCaprio, his age, and his romantic partner's age when they started dating. A few years ago, there was a dust-up when a clever Redditor r/TrustLittleBrother realized that DiCaprio had never dated anyone over 25. I blogged about this when it happened. But the old data was from 2022. Inspired by this sleuthing,  I created a wee data set, including up-to-date information on his current relationship with Vittoria Ceretti, so your students can suss out the patterns that exist in this data.

Tyler Vigen's Spurious Correlations

Tyler Vigen has has created  a long list of easy-to-paste-into-a-powerpoint graphs that illustrate that correlation does not equal causation. For instance, while per capita consumption of cheese and number of people who die by become tangled in their bed sheets may have a strong relationship (r = 0.947091), no one is saying that cheese consumption leads to bed sheet-related death. Although, you could pose The Third Variable question to your students for some of these relationships). Property of Tyler Vigens, http://i.imgur.com/OfQYQW8.png Vigen has also provided a menu of frequently used variables (deaths by tripping, sunlight by state) to help you look for specific examples. This portion is interactive, as you and your students can generate your own graphs. Below, I generated a graph of marriage rates in Pennsylvania and consumption of high fructose corn syrup. Generated at http://www.tylervigen.com/