Skip to main content

Kristoffer Magnusson's "Interpreting Confidence Intervals"

I have shared Kristoffer Magnusson's fantastic visualizations of statistical concepts here previously (correlation, Cohen's d). Here is another one that helps to explain confidence intervals, and how the likelihood of an interval containing true mu varies based on interval size as well as the size of the underlying sample.

The site is interactive in two ways. 1) The sliding bar at the top of the page allows you to adjust the size of the confidence interval, which you can read in the portion of the page labeled "CI coverage %" or directly above the CI ticker. See below.


2) You can also change the n-size for the samples the simulation is pulling.

The site also reports back the number of samples that include mu and the number of samples that miss mu (wee little example for Type I/Type II error).

How to use it in class:

Students will see how intervals increase and decrease in size as you reset the CI percentage. As the sample size increases, the range of the intervals decreases and the sample means converge upon true mu. As the confidence interval decreases, the range also decreases.

This is useful for teaching good ol' confidence intervals (as a complement to the mean) but also to teach confidence intervals as they become an increasingly popular alternative to NHST.

Comments

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.

If your students get the joke, they get statistics.

Gleaned from multiple sources (FB, Pinterest, Twitter, none of these belong to me, etc.). Remember, if your students can explain why a stats funny is funny, they are demonstrating statistical knowledge. I like to ask students to explain the humor in such examples for extra credit points (see below for an example from my FA14 final exam). Using xkcd.com for bonus points/assessing if students understand that correlation =/= causation What are the numerical thresholds for probability?  How does this refer to alpha? What type of error is being described, Type I or Type II? What measure of central tendency is being described? Dilbert: http://search.dilbert.com/comic/Kill%20Anyone Sampling, CLT http://foulmouthedbaker.com/2013/10/03/graphs-belong-on-cakes/ Because control vs. sample, standard deviations, normal curves. Also,"skewed" pun. If you go to the original website , the story behind this cakes has to do w...