Regression from a supplied table

Lesson progressPractice problems 0/4
Difficulty
Intermediate
Estimated time
30 minutes
Techniques
TablesRegressionLinear-regressionQuadratic-regressionExponential-regressionPrediction

What you’ll learn

  1. Put the input variable in x₁ and the output variable in y₁.
  2. Choose an automatic linear, quadratic, or exponential regression.
  3. Read and use the fitted parameters reported by Desmos.
  4. Find the requested equation, coefficient, or prediction.
  5. Preserve the units and precision requested by the question.
  6. Recognize when a short pattern calculation is faster than regression.

Why this matters on the SAT

Turn a table into an SAT answer

The SAT can give you a table of paired values and ask for an equation, a coefficient, or a prediction from a model. A regression fits an equation to paired data, and Desmos can do it in seconds. Your job is to put the variables in the right columns, choose the model the question calls for, and use the output to answer the exact question.

See the advantage on a typical SAT question.

SAT example

The amount of a medicine in a sample is modeled by an exponential function. The table shows the amount, A(t)A(t), at several times tt.

tt (hours)002244
A(t)A(t) (milligrams)500500320320204.8204.8

According to the model, what is the predicted amount of medicine, in milligrams, at t=5t=5, rounded to the nearest whole number?

Fast Desmos solution

Put tt in x_1 and A(t)A(t) in y_1, then select Add Regression and Exponential. Desmos finds A(t)=500(0.8)tA(t)=500(0.8)^t. Evaluating the model at t=5t=5 gives 163.84163.84, which rounds to 164\boxed{164} milligrams.

This lesson focuses on Desmos's automatic linear, quadratic, and exponential regressions. Later lessons cover custom regression, regression with several conditions, and harder decisions about exact fit versus best fit.

Calculator loads as you approach
The regression finds the exponential model and predicts the next value.

When is regression the right method?

You should already know how to create a table, keep paired values in the same row, and use a calculated column.

Regression is a strong choice when a question:

  • supplies several paired values;
  • names a linear, quadratic, or exponential model;
  • asks for a line or curve that best fits measured data;
  • asks for a prediction according to a model;
  • gives answer choices whose coefficients are difficult to recover mentally.

Use a shorter method when the table shows an immediate pattern. If every output increases by 77 when the input increases by 11, the slope is already visible. If every output is multiplied by 0.50.5, the exponential multiplier is already visible. Desmos can verify either result, but entering the full table may take longer than the observation.

Check your understanding:

A table has only two rows, and the output increases from 1818 to 2323 while the input increases from 44 to 55. The question asks for the rate of change. Should you begin with regression?

1. Put the variables in the right columns

Each row of the Desmos table must represent one pair. Put the input, or explanatory variable, in x_1. Put the output, or response variable, in y_1.

If a table gives time and population, time usually belongs in x_1 because population is being modeled as a function of time. The wording decides the direction:

  • “model yy as a function of xx” means xx is the input and yy is the output;
  • “predict sales from years of experience” means experience is the input and sales is the output;
  • “model temperature as a function of time” means time is the input and temperature is the output.
Check your understanding:

A question asks you to model fuel remaining as a function of distance traveled. Which variable belongs in x_1, and which belongs in y_1?

Common mistake:

Copying the visual left-to-right order without reading which quantity is being predicted. Reversing the columns fits a different model.

2. Choose the regression the question calls for

After entering the table, select Add Regression beside the table and choose the requested model:

ModelAutomatic formWhat Desmos reports
Lineary1mx1+by_1\sim mx_1+bslope mm and intercept bb
Quadraticy1ax12+bx1+cy_1\sim ax_1^2+bx_1+ccoefficients aa, bb, and cc
Exponentialy1abx1y_1\sim ab^{x_1}initial value aa and multiplier bb

The tilde, \sim, tells Desmos to fit a model to the table. It is not the equals sign. The automatic menu creates the regression for you, so you do not need to memorize these entries yet.

Use the model family stated in the prompt. If the question does not name one, use the context, answer choices, and table pattern. At equal input intervals:

  • roughly constant differences support a linear model;
  • roughly constant second differences support a quadratic model;
  • roughly constant ratios support an exponential model.

Do not choose a more complicated curve merely because it can pass through a small table. Model choice must come from the question and the pattern, not from the number of parameters.

Check your understanding:

At equal 2-hour intervals, a quantity changes from 8080 to 6060 to 4545 to 33.7533.75. Which automatic regression should you choose, and what pattern supports it?

Calculator loads as you approach
Use the equal intervals and output pattern to decide which regression model to select.

3. Turn the regression output into an SAT answer

Desmos stores the fitted parameter values, so you can use them on another expression line. After the opening exponential regression reports aa and bb, for example, enter a*b^5 to evaluate the model at t=5t=5. Use the parameter letters directly instead of retyping displayed decimals, so Desmos calculates with the fitted values rather than rounded copies.

Before submitting, reread what the question asks for:

  • If it asks for the slope, submit mm, not the full equation.
  • If it asks for the exponential multiplier, submit bb, not the percent increase.
  • If it asks for a prediction, evaluate the model at the requested input.
  • If the output is measured in thousands of dollars, keep that unit in mind.
  • If the data are measurements and the prompt says “best estimate,” report an appropriate estimate rather than claiming an exact value.

A regression display is numerical. When a table represents an exact function, verify the candidate equation against the supplied rows before treating rounded output as exact.

Calculator loads as you approach
Using the fitted parameter letters preserves their precision in the prediction.

4. Example: Fit noisy data and make a prediction

Worked example

A company recorded each salesperson's years of experience, xx,

and average monthly sales, yy, in thousands of dollars.

xx (years)1122334455
yy (thousands of dollars)44779913131515

A linear model is used to predict monthly sales from years of experience.

According to this model, what is the best estimate of the monthly sales, in thousands of dollars, for a salesperson with 66 years of experience?

  1. A

    1616

  2. B

    1818

  3. C

    2020

  4. D

    2424

Step 1

Orient the table

Years of experience is the input, so put those values in x_1. Monthly sales is the predicted output, so put those values in y_1.

Calculator loads as you approach
Each row keeps one experience value paired with its corresponding sales value.

Step 2

Run the requested regression

Select Add Regression, then keep Linear. Desmos fits

y1mx1+by_1\sim mx_1+b

and reports

m=2.8,b=1.2.m=2.8,\qquad b=1.2.
Calculator loads as you approach
The linear regression reports the slope and intercept of the fitted model.

Step 3

Evaluate the requested input

The question asks for the model's prediction at x=6x=6. Enter m*6+b:

2.8(6)+1.2=18.2.8(6)+1.2=18.

The model predicts monthly sales of 1818 thousand, so the answer is B.

Calculator loads as you approach
Using the fitted parameters predicts monthly sales at six years of experience.
Common mistake:

Reporting 2.82.8, the slope, or interpreting 1818 as 1818 instead of 18,00018{,}000. The table's unit is thousands of dollars.

Finish the solution

The table is entered and a quadratic regression is selected. Use the fitted coefficients to choose the equation.

Match the fitted quadratic

Finish the solution

For the quadratic function ff, the table shows three values of xx and the corresponding values of f(x)f(x).

xx1-10011
f(x)f(x)101014142020

Which equation defines ff?

First steps

  1. Put the xx-values in x_1 and the f(x)f(x)-values in y_1.
  2. Select Add Regression, then choose Quadratic.

Finish it

Answer choices
Calculator loads as you approach
Match the fitted quadratic coefficients to the equation choices.

Practice problems

SAT practice problems

The calculator remains available for every problem. Start from a clean table, run the requested regression, and submit the exact equation or estimate the question asks for.

Fit a roughly linear trend

Practice problem

A technician records the screen size xx, in inches, and mass yy, in grams, of six smartphone models. The data follow a roughly linear trend.

xx (inches)4.74.75.05.05.55.56.16.16.56.56.86.8
yy (grams)135135145145155155170170182182190190

Which equation best models the relationship between yy and xx?

Answer choices
Calculator loads as you approach
Enter the paired data and fit the linear model named in the problem.

Predict with exponential decay

Practice problem

A tank contains yy liters of water xx hours after draining begins. The measured amounts are rounded to the nearest whole liter.

xx1144771010
yy (liters)510510313313193193118118

The amount of water is modeled by an exponential function. According to this model, what is the predicted amount of water, in liters, at x=13x=13, rounded to the nearest whole number?

Calculator loads as you approach
Enter the paired data, fit an exponential model, and evaluate the prediction.

Read a fitted coefficient

Practice problem

A wildlife center records the number of sea turtles, P(t)P(t), in a rehabilitation pool tt days after observations begin. The number of turtles is modeled by a quadratic function.

tt (days)004488
P(t)P(t) (turtles)120120152152120120

The model can be written as

P(t)=at2+bt+c,P(t)=at^2+bt+c,

where aa, bb, and cc are constants. What is the value of bb?

Calculator loads as you approach
Enter the paired data and read the requested coefficient from the fitted quadratic.

Finish the lesson

4 practice examples left

Finish the remaining questions correctly to complete this lesson.

Quick recap

  • Put the input in x_1, the output in y_1, and keep each pair in one row.
  • Use the automatic linear, quadratic, or exponential regression named or supported by the question.
  • Read each fitted value by its parameter letter.
  • Use the fitted model to answer the requested equation, coefficient, prediction, unit, and precision.
  • Treat measured-data models as estimates and verify exact-function candidates against the table.
  • Skip regression when a constant difference, constant ratio, or other short pattern gives the answer faster.

Next lesson

Mean, median, and frequency tables

Use Desmos for one-variable data and weighted frequency tables.

Start next lesson

Free Practice

Free question bank practice problems

Desmos Regression for the Digital SAT | aniko.ai