Fitting a Function to Data | Lesson 1 of 1

Fitting a Function to Data

Lesson 1 of 1: Choosing, Fitting, Using a Model

In this lesson:

  • Choose a model family from a plot's form and its context
  • Fit a function and use it to predict and solve
Grade 10 Statistics | HSS.ID.B.6.a
Fitting a Function to Data | Lesson 1 of 1

Learning Objectives for This Lesson

  1. Solve problems end to end: choose, fit, use, check
  2. Choose linear, quadratic, or exponential from form and context
  3. Fit a function: given, or by technology
  4. Use it to predict and solve, with units
  5. Spot unreliable curved-model predictions beyond the data
Grade 10 Statistics | HSS.ID.B.6.a
Fitting a Function to Data | Lesson 1 of 1

Turning a Table of Dots Into a Rule

A biologist records bacteria count vs hours: just dots on a plot.

  • The table alone can't predict tomorrow's count
  • Fit a function and the dots become a usable rule

But what kind of function? That choice comes first.

Grade 10 Statistics | HSS.ID.B.6.a
Fitting a Function to Data | Lesson 1 of 1

From Linear-or-Not to Three Families

Three plots: phone-plan cost on a straight line, a thrown ball's heights rising then falling, and bacteria counts curving steeply upward

  • You read form as linear or nonlinear; now split "nonlinear" into quadratic and exponential
  • Recall: over equal x-steps, how do each family's outputs change?

Think, then check on the next three slides.

Grade 10 Statistics | HSS.ID.B.6.a
Fitting a Function to Data | Lesson 1 of 1

The Linear Family: Constant First Differences

The given line y = 0.10x + 20 for cost versus minutes, with points at 100, 200 and 300 minutes costing 30, 40 and 50 dollars; each +100 minutes step adds 10 dollars

  • Equal steps in minutes → the same change in cost (+$10)
  • The mechanism: a fixed fee per minute, a constant rate
Grade 10 Statistics | HSS.ID.B.6.a
Fitting a Function to Data | Lesson 1 of 1

The Quadratic Family: Constant Second Differences

A thrown ball's height vs time rises, then falls: gravity bends the path.

  • Equal time steps → second differences (differences of the differences) stay constant
  • The vertex (turning point) may lie outside the observed times
  • A turn alone doesn't prove quadratic; other families can turn too
Grade 10 Statistics | HSS.ID.B.6.a
Fitting a Function to Data | Lesson 1 of 1

The Exponential Family: A Constant Ratio

Bacteria multiply each hour: repeated doubling.

  • Equal hour steps → outputs share a constant ratio (a constant percent change)
  • Growth steepens upward; decay flattens toward zero
  • Exact for a formula; in measured data, usually only approximate
Grade 10 Statistics | HSS.ID.B.6.a
Fitting a Function to Data | Lesson 1 of 1

Shape Alone Can't Decide: Ask the Context

A curve that rises more and more steeply could be:

  • one side of a parabola, with the vertex outside the data
  • exponential growth

The plot can't separate them; the mechanism can. Gravity → quadratic; doubling → exponential.

Grade 10 Statistics | HSS.ID.B.6.a
Fitting a Function to Data | Lesson 1 of 1

Find the Error: A Line on Bacteria Counts

A student fits a line to the hourly bacteria counts.

  • The counts curve upward, steepening, not a straight band
  • The mechanism is doubling, not a fixed amount per hour
  • Which family should it be, and how would you refit?

Answer: Exponential: form and mechanism both say so. Refit with ExpReg.

Grade 10 Statistics | HSS.ID.B.6.a
Fitting a Function to Data | Lesson 1 of 1

Closer to Every Point Isn't the Goal

A wiggly curve can pass closer to every point than a parabola.

  • Is that a reason to choose it? No.
  • Extra wiggles can fit noise and predict poorly
  • Let the mechanism name the family: rate, gravity, doubling
Grade 10 Statistics | HSS.ID.B.6.a
Fitting a Function to Data | Lesson 1 of 1

Your Turn: Match the Family

Justify each from form and mechanism:

  1. Taxi fare: base fare + fixed cost per mile
  2. Savings: fixed percent interest each year
  3. Kicked ball: height vs time, rises then falls
  4. Car value: loses 15% of its value each year

Answer: 1. Linear. 2. Exponential. 3. Quadratic (gravity). 4. Exponential decay (×0.85).

Grade 10 Statistics | HSS.ID.B.6.a
Fitting a Function to Data | Lesson 1 of 1

From Family Name to an Equation

You named the family, but you still need an equation to predict.

  • A name like "exponential" isn't yet a usable rule
  • Fitting produces the equation, by one of two routes

Next: the two routes to an equation.

Grade 10 Statistics | HSS.ID.B.6.a
Fitting a Function to Data | Lesson 1 of 1

Route 1: Pricing Gives the Phone-Plan Function

$20 a month + $0.10 a minute:

  • x = minutes, y = dollars
  • A given function: used as stated, with no regression
Grade 10 Statistics | HSS.ID.B.6.a
Fitting a Function to Data | Lesson 1 of 1

A Growth Rate Alone Isn't a Function

A savings account grows 3% a year.

  • That gives the family (exponential) and growth factor 1.03
  • Starting balance P, no deposits or withdrawals: after t years
  • You still need P, or a complete equation, to compute
Grade 10 Statistics | HSS.ID.B.6.a
Fitting a Function to Data | Lesson 1 of 1

Route 2: Technology Fits by Regression

No function supplied? Regression: technology picks the equation's numbers from the data.

  • You choose the family; LinReg, QuadReg, or ExpReg fits it
  • The equation approximates the trend of the data
  • It need not pass through every point
Grade 10 Statistics | HSS.ID.B.6.a
Fitting a Function to Data | Lesson 1 of 1

Running a Regression in Four Steps

  1. Enter inputs and outputs in two lists
  2. Pick the option: ball → QuadReg; bacteria → ExpReg
  3. Record the equation; 4. Overlay it: does it follow the trend?
Data Rounded fit
Ball, 0–3 s
Bacteria, 0–7 h
Grade 10 Statistics | HSS.ID.B.6.a
Fitting a Function to Data | Lesson 1 of 1

Coefficient Labels: Map Each Number by Role

Tool Slope Intercept
TI-84 LinReg(ax+b) a b
TI-84 LinReg(a+bx) b a
Spreadsheet SLOPE INTERCEPT
  • Later lessons write : there, a is the intercept
  • Ask: which is the change in y per unit of x? Which is y at x = 0?
Grade 10 Statistics | HSS.ID.B.6.a
Fitting a Function to Data | Lesson 1 of 1

The Fit Follows the Trend, Not Every Point

A fitted line through a scattered cloud of points, with short dashed vertical gaps between the line and three of the points

  • Points above and below the fit are normal
  • An exact fit is possible, but not required
Grade 10 Statistics | HSS.ID.B.6.a
Fitting a Function to Data | Lesson 1 of 1

Does a Close Fit Make It True?

Technology returns a tidy equation that hugs the data.

  • It's a useful approximation of the observed data
  • It's not a law of nature
  • Even in-range predictions still need a reliability check
Grade 10 Statistics | HSS.ID.B.6.a
Fitting a Function to Data | Lesson 1 of 1

Your Turn: Fit a Function

Pick the route; give the equation:

  1. Tree: 2 ft, growing 1.5 ft/year
  2. Kicked ball heights every 0.5 s
  3. Culture counts, doubling hourly
  4. LinReg(ax+b): a = 3.2, b = 41

Answer: 1. . 2. QuadReg. 3. ExpReg. 4. .

Grade 10 Statistics | HSS.ID.B.6.a
Fitting a Function to Data | Lesson 1 of 1

An Equation Is a Tool, Not the Goal

The equation exists to answer questions about the situation.

  • Give it an x, predict a y
  • Give it a y, solve for the x

Next: both directions, then how far to trust them.

Grade 10 Statistics | HSS.ID.B.6.a
Fitting a Function to Data | Lesson 1 of 1

Recall: Phone-Plan Predictions, Both Directions

With :

  • Predict: , so 300 minutes → a $50 bill
  • Solve: gives , so 150 minutes

Grade 8's two moves. Now the same moves with curves.

Grade 10 Statistics | HSS.ID.B.6.a
Fitting a Function to Data | Lesson 1 of 1

Using a Quadratic Fit in Both Directions

, t in s, h in ft:

  • Predict: gives 40 feet
  • Solve: gives s (rising) or s (falling)
  • Keep times between the throw and landing ( s)
Grade 10 Statistics | HSS.ID.B.6.a
Fitting a Function to Data | Lesson 1 of 1

Solving an Exponential Fit With Technology

, x in hours:

  • Predict: gives about 1131 bacteria
  • Solve for 3200: graph too; they meet at
  • Or a table: 3200 at → 6 hours
  • Most answers are approximate: round
Grade 10 Statistics | HSS.ID.B.6.a
Fitting a Function to Data | Lesson 1 of 1

Range, Fit, and Context Decide Reliability

The bacteria model y = 50 times 2 to the x over a shaded data range of 0 to 7 hours, continuing dashed to 9 hours; an in-range point is labeled interpolation: still check the fit, and the far point is labeled extrapolation: mechanism may change

  • Interpolation: an input inside the observed range. Extrapolation: an input outside it
  • In range still needs a good fit; far outside, the mechanism can change (growth stops, food runs out)
  • No failure number without the model and data range
Grade 10 Statistics | HSS.ID.B.6.a
Fitting a Function to Data | Lesson 1 of 1

Check-In: What Could Break the Pattern?

The model fits bacteria counts for hours 0 to 7.

  1. Hour 4.5: interpolation or extrapolation?
  2. Hour 48? What could break the pattern?

Answer: 1. Interpolation; still check the fit. 2. Extrapolation; food and space run out.

Grade 10 Statistics | HSS.ID.B.6.a
Fitting a Function to Data | Lesson 1 of 1

Full Task: Choose, Fit, Predict, Flag

A city's population over 10 years curves upward.

  1. Name and justify the family
  2. Say how you'd fit it
  3. Predict in range; flag an extrapolation, with a reason

Answer: Exponential; ExpReg; year 6, if the fit is good; year 60 is outside the data, and growth can slow as housing fills.

Grade 10 Statistics | HSS.ID.B.6.a
Fitting a Function to Data | Lesson 1 of 1

Key Takeaways and What's Next

✓ Read form + mechanism to choose the family

✓ Fit: given or regression; map coefficients by role

✓ Predict and solve in both directions, with units

⚠️ Check range, fit, and context before trusting

⚠️ A model approximates; it isn't a law

Next: assess the fit with residuals (6.b).

Grade 10 Statistics | HSS.ID.B.6.a

Click to begin the narrated lesson

Fit a function to data