RatMath ShelfCourse guide

School: high school

High-school statistics (AP Statistics)

Use the left and right arrow keys to turn pages.

Course summary

Where RatMath helps

82.5%

33 of 40 focal problems use RatMath for a calculation or a substantive step.

Direct calculation
28 · 70%
Assisted
5 · 12.5%
Worked by hand
7 · 17.5%

Using the packages

The packages can calculate a statistic and its reference distribution. Deciding whether randomization, independence and sample size justify the model takes the data-collection story.

Calculator interface

Ask for the design and variable types before offering a test. Display the null model, shaded tail, units, hypotheses and confidence interpretation beside the numeric output.

Packages used in the lessons

@ratmath/stats (28 days) · @ratmath/core (12 days)

How to read the percentages

Each of the 40 focal problems has equal weight. Direct means the displayed package calculation answers the computational question after the inputs are set up. Assisted means it contributes a step and the worked solution supplies essential reasoning, interpretation or selection. Worked by hand means the guide relies on a construction, argument or judgment for that task. The helpful share combines direct and assisted days. Courses and instructors assign different mixes of problems. The percentages describe this syllabus.

Classroom inputs and practical limits

33 of 40 days include a checked executable example. On 12 days the measured size sweep exercises a named API used in the lesson. Each day identifies its tested inputs and the mathematical property checked. Hand-worked days give the input scale and the argument to verify.

Ranges across the five units

Days 1–8 · Data and description. About 5–100 observations by hand or a few hundred in a data exercise. Units and sampling design accompany the values.

Unit benchmark · stats.mean, observations. Largest passing sample 100,000 (129 ms, 142.2 MiB peak process RSS). The first sampled passing call above 100 ms used 100,000 (129 ms). The runs did not locate a ceiling for this family.

Days 9–16 · Normal and linear models. Standardized scores ordinarily between −3 and 3, and simple regressions with about 5–50 paired observations.

Unit benchmark · stats.normal.cdf, standard deviations from mean. Largest passing sample 24 (1.25 ms, 75.1 MiB peak process RSS). The first sampled passing call above 100 ms used 8 (112 ms). The runs did not locate a ceiling for this family.

Days 17–24 · Chance and random variables. Two to twenty outcomes or draws in small experiments, binomial n often 5–100 and probabilities between 0 and 1.

Unit benchmark · stats.binomial.pmf, trials. Largest passing sample 10,000 (0.836 ms, 74.4 MiB peak process RSS). The runs did not locate a ceiling for this family.

Days 25–32 · Design and estimation. Samples from roughly 10 to 1,000, confidence levels commonly 90%, 95% or 99%; the approximation depends on counts and design.

Unit benchmark · stats.tTest, observations per sample. Largest passing sample 10,000 (83.32 ms, 88.5 MiB peak process RSS). The runs did not locate a ceiling for this family.

Days 33–40 · Tests and decisions. One or two groups, or a small contingency table; check expected cell counts and independence before using an asymptotic test.

Unit benchmark · stats.tTest, observations per sample. Largest passing sample 10,000 (83.32 ms, 88.5 MiB peak process RSS). The runs did not locate a ceiling for this family.

Accuracy notes (1)

Open · Two distinct categorical tuples can merge. A uniform table on the two arrays [‘a,sb’,‘c’] and [‘a’,‘b,sc’] should give each probability 1/2. The table reports one outcome with probability 1 because the composite string keys collide. Use unambiguous scalar IDs for such labels. Ordinary numeric dice faces have distinct keys.

Measurement method, runtime limits and complete workload results

Lecture and problem-set sequence

Days 1–8 Data and description

Summarize a distribution and explain the effects of scaling, outliers and sampling.

6 direct calculation · 0 assisted · 2 worked by hand

  1. Day 1 Mean and standard deviation
  2. Day 2 z-scores
  3. Day 3 Mean, median, mode
  4. Day 4 Range and interquartile range
  5. Day 5 Resistant summaries
  6. Day 6 Random samples
  7. Day 7 Random assignment
  8. Day 8 Predicting from a sample
Days 9–16 Normal and linear models

Standardize, fit a line, examine residuals and check extrapolation.

7 direct calculation · 0 assisted · 1 worked by hand

  1. Day 9 Normal probability
  2. Day 10 Normal proportion between values
  3. Day 11 Inverse normal
  4. Day 12 Correlation
  5. Day 13 Residuals
  6. Day 14 Line of best fit
  7. Day 15 Standardizing units
  8. Day 16 Extrapolation
Days 17–24 Chance and random variables

Count, condition and combine discrete probabilities.

8 direct calculation · 0 assisted · 0 worked by hand

  1. Day 17 Binomial probability
  2. Day 18 Binomial cumulative
  3. Day 19 Expected value
  4. Day 20 Conditional probability
  5. Day 21 Bayes' rule
  6. Day 22 Addition rule
  7. Day 23 Sum of two dice
  8. Day 24 At least one
Days 25–32 Design and estimation

Identify sampling distributions, compare intervals and state what repeated coverage means.

5 direct calculation · 1 assisted · 2 worked by hand

  1. Day 25 Sampling distribution of the mean
  2. Day 26 Confidence interval for a proportion
  3. Day 27 Confidence interval for a mean
  4. Day 28 Central limit theorem
  5. Day 29 Unbiased variance
  6. Day 30 Standard error scaling
  7. Day 31 A confidence statement
  8. Day 32 Matching pairs
Days 33–40 Tests and decisions

Match hypotheses to data and interpret significance, effect size and study design.

2 direct calculation · 4 assisted · 2 worked by hand

  1. Day 33 Test for a proportion
  2. Day 34 One-sample t test
  3. Day 35 Goodness of fit
  4. Day 36 Test of independence
  5. Day 37 Paired t test
  6. Day 38 Difference of proportions
  7. Day 39 Type I errors
  8. Day 40 Practical significance

Start day 1 →