Collecting and analyzing binomial data

In this tool, students watch an Internet cat video, collect binomial data on cat paw usage, and graph and analyze the data with a binomial test in R using the swirl package.

Launch Tool

You must login before you can run this tool.

Version 1.1 - published on 31 Jul 2020

Open source: license | download

View All Supporting Documents

Published on


This tool implements a three-part tutorial from Cats Teach Stats, which teaches students the basics of how to use the programming language R to analyze data from an Internet video of Catistician William Plumer Jacobs demonstrating his cat entertainment device. The video guides students to count the frequency of the Catistician using his left vs. right paw to strike (boop) a ball. The tutorial uses swirl, which is an interactive platform to teach students to use R within R Studio. Multiple-choice and other types of questions are strategically placed to test student mastery of the major concepts and programming skills.

Students successfully completing this tutorial will be able to:

  • Distinguish among different data types (Lesson 1 - Data collection basics)
  • Interpret graphs that are used for different types of data (Lesson 2 - Variables and plots)
  • Perform and interpret a binomial test (Lesson 3 - Binomial test)
  • Use R to create variables and vectors, draw pie charts and bar plots, and conduct a binomial test

The swirl course can also be installed from the .swc file in the Supporting Docs. Alternatively instructors may wish to use the unpacked swirl course (zip file in Supporting Docs or

Come for the cats, and stay for the stats.

Cite this work

Researchers should cite this work as follows:

  • Suann Yang; Darcy Taniguchi; Jenny Hazlehurst (2020), "Collecting and analyzing binomial data,"

    BibTex | EndNote


Drew LaMar

College of William and Mary