Class prep · TJ Statistical Models for Data Science

Find the pattern,then write what it supports.

An independent course in statistical modeling. Fit a line, compare groups, and say in words what a coefficient does and does not show. Every problem has a full worked solution. Built by Neil Kothari, a TJ alumnus.

$395 covers the full school year. The first module is free.

Try one. This is a test-level question from the course.

Problem 1

  • Test level
  • Multiple choice
  • No calculator
  • 4 pts

A robotics team recorded battery charge time and how long a small robot then ran. The explanatory variable is charge hours and the response is runtime minutes. The pairs (x,y)(x,y) are (1,2)(1, 2), (2,11)(2, 11), (3,8)(3, 8), (5,14)(5, 14), (6,15)(6, 15), (7,16)(7, 16). Fit the least-squares line with an intercept. Keep every result as an exact fraction. Which sentence is appropriate?

Choose one answer

original problems, each with a worked answer
624
original problems, each with a worked answer
at test level or beyond
432
at test level or beyond
short lessons, one for every topic
48
short lessons, one for every topic
units, all open now
8
units, all open now

Free lesson

Lesson 1.1: Scatter, Line and Residuals

How to read a scatterplot, measure each point's residual from a line, check whether a line is the least squares line, and describe the pattern without claiming a cause.

Start with a scatter, a fitted line and the residuals. Keep the arithmetic exact, then write the conclusion a reader who did not see the data can check.

Start with a question

A cross-country coach offers optional practice sessions. At the end of the month she writes down two numbers for five runners: how many sessions each one attended, and how many seconds each one cut off their mile time.

RunnerSessions attendedSeconds cut from mile time
A26
B35
C513
D713
E818

She draws the line y^=1+2x\hat{y}=1+2x through the points and asks three questions:

  • Which runners did better than the line says they "should" have?
  • Is this the best straight line, or just one that looks close?
  • Can she tell the team that going to more sessions makes you faster?

The first two have exact answers you can compute. The third has an answer too, and it is "not from this data." This lesson shows you why.

By the end of this lesson you will be able to:

  • name the cases, the explanatory variable and the response in a data set,
  • describe a scatterplot by its direction, form and strength, and spot unusual points,
  • compute a fitted value and a residual, and say whether a point sits above or below the line,
  • test whether a line is the least squares line using two residual sums,
  • write a sentence about the pattern that does not claim a cause.

Cases, variables and the scatterplot

Every row of a data table is one case. Here a case is one runner. Each case gives you a pair of numbers, and each pair becomes one dot.

The two numbers play different roles.

  • The explanatory variable xx goes on the horizontal axis. It is the variable you use to describe or predict the other one. Here, xx is sessions attended.
  • The response variable yy goes on the vertical axis. It is the variable you are trying to describe. Here, yy is seconds cut from the mile time.

Picking which variable is xx is a choice about the question you are asking. It is not a claim that xx causes yy. You will see this idea again and again.

The finished picture is a scatterplot: one dot per case, xx across, yy up.

Quick check 1. A store records, for each day last month, the rainfall in inches and the number of umbrellas sold. If you want to describe umbrella sales using rainfall, what is one case, what is xx and what is yy? Answers are at the end of the lesson.

Problem 2

  • Core
  • True or false
  • No calculator
  • 2 pts

A badminton drill recorded practice serves and how many landed in. The explanatory variable is practice serves and the response is serves in. The pairs (x,y)(x,y) are (2,6)(2, 6), (5,9)(5, 9), (6,13)(6, 13), (8,18)(8, 18). Fit the least-squares line with an intercept. Keep every result as an exact fraction. True or False: The residual at the first pair is 2−62 - 6. Justify.

Is the statement true or false?

Problem 3

  • Core
  • Multiple choice
  • No calculator
  • 4 pts

Students recorded uphill blocks walked and heartbeats counted in the next minute. The explanatory variable is uphill blocks and the response is heartbeats. The pairs (x,y)(x,y) are (1,4)(1, 4), (2,3)(2, 3), (3,7)(3, 7), (4,11)(4, 11), (5,10)(5, 10). Fit the least-squares line with an intercept. Keep every result as an exact fraction. Which value is the slope?

Choose one answer

Open the rest of this lesson, free

The full lesson and all 13 of its problems, with every worked answer.

I am aI am a

Your free lesson opens right here, on this device for 30 days. We'll email you occasional TJ class prep updates. Unsubscribe anytime.

How it works

Class prep that works alongside class

A complete statistical modeling course for students who have taken AP Statistics. Work alongside your school course or study the material in sequence. Each lesson starts with a small data set, develops the calculation, and shows how to write the conclusion before you try the practice.

  • Original problems in several formats: true or false, multiple choice, multi-part and free response.
  • Each one is marked core, test level or beyond.
  • Least squares, intervals, diagnostics, indicators, ANOVA and logistic models, always with an exact calculation.
  • A worked answer for every problem, ending with the mistake that most often costs points.
  • Simple and multiple regression, residual checks, group comparisons, logistic models and a written conclusion that stays inside the data.

What is inside

  1. 1Simple linear regression6 lessons · 78 problems
  2. 2Inference for a line6 lessons · 78 problems
  3. 3Multiple regression6 lessons · 78 problems
  4. 4Diagnostics6 lessons · 78 problems
  5. 5Indicators and interactions6 lessons · 78 problems
  6. 6ANOVA6 lessons · 78 problems
  7. 7Logistic regression6 lessons · 78 problems
  8. 8Choosing a model6 lessons · 78 problems
The front entrance of Thomas Jefferson High School for Science and Technology
Neil Kothari, co-founder of EduAvenues

Who built it

Neil Kothari

TJHSST alumnus · Co-founder, EduAvenues · 10+ years in TJ preparation

Neil is a TJ alumnus and has spent more than a decade working with TJ students and their families. He built this course so students can compute a fit exactly and then say what that fit does not identify. Every problem is written for the course and every answer is checked before it goes in.

Tuition

$395for the full school year

One tuition covers every unit of the course. All 8 units are open now. The Scatter, Line and Residuals lesson stays free for everyone.

  • All 8 units: 48 lessons and 624 original problems
  • A worked answer for every problem
  • Access through the end of the school year
Enroll