Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

1Datasets used in this book

MATH 1209 is a concept-first, calculator-first course: most worked examples build a small, clearly labeled hypothetical scenario right in the text — a shelter’s cat weights, a coffee cart’s morning rush, a campus fee referendum — with numbers chosen to teach the method cleanly, not pulled from an external file. Those in-text scenarios are not separate “datasets” you load; you read them straight off the page or the calculator screen.

One real, published dataset does get loaded into R and explored directly, in Week 1. This page documents it the same way the department documents every dataset in its teaching library, so you always know exactly where a number came from.

1.1KidsFeet

FieldValue
PackagemosaicData (loaded automatically with library(mosaic))
Real or simulatedREAL — an actual measurement study, not a simulation
Rows × columns39 × 8
Used inWeek 1 (Data & Study Design)
SourceMary C. Meyer, “Wider Shoes for Wider Feet?”, Journal of Statistics Education, vol. 14, no. 1 (2006), https://jse.amstat.org/v14n1/datasets.meyer.html — data collected from a fourth-grade classroom in Ann Arbor, Michigan, in October 1997
LicensemosaicData is distributed under GPL-2 | GPL-3 (per CRAN); free to use and redistribute for teaching

What it measures. Foot length and width for 39 children, gathered to ask a real question: do boys’ feet run wider than girls’, or does children’s shoe sizing just assume so? Week 1 uses it purely to practice classifying variables — you are not asked to answer the shoe-sizing question, though you are welcome to explore it.

Variables (as shown in Week 1’s head(KidsFeet) table):

VariableMeaningType
namechild’s first namecategorical (nominal)
birthmonthmonth of birth (1–12)categorical (nominal) — looks numeric but averaging it means nothing
birthyearyear of birth (2-digit)categorical (nominal), same trap as birthmonth
lengthlonger foot’s length, cmnumerical (continuous)
widthlonger foot’s width, cmnumerical (continuous)
sexB (boy) or G (girl)categorical (nominal)
biggerfootwhich foot is bigger, L or Rcategorical (nominal)
domhanddominant hand, L or Rcategorical (nominal)

1.2How to load it yourself

KidsFeet ships inside the mosaicData package, which loads automatically the moment you run library(mosaic) — there is no file to download and no path to get right.

library(mosaic)
data(KidsFeet)     # makes the table available by name
nrow(KidsFeet)      # 39
names(KidsFeet)     # the 8 column names above
head(KidsFeet)       # first 6 rows

Run this (or any other R in the book) for free at the CSUB JupyterHub, https://csub.jupyter.cal-icor.org/ — log in with your CSUB account and mosaic (with KidsFeet inside it) is already installed. If you have never opened a notebook before, start with R-Help Lesson 2 (getting into JupyterHub) and R-Help Lesson 6 (importing and loading data, including built-in tables like this one).