Field Guide/Functions/Regression in functions
Core3 min

Fit and use a regression model

Data suggest a linear, quadratic or exponential model that you need to graph or use for prediction.

01

Press these keys

STATCALCVARSY-VARSY1

Step 1 of 5. Press STAT.

02

Walkthrough

  1. 1
    Enter lists

    Put explanatory values in L1 and response values in L2.

  2. 2
    Choose model

    STAT → CALC, choose a justified regression, set Xlist L1 and Ylist L2.

  3. 3
    Store equation

    At Store RegEQ choose VARS → Y-VARS → Function → Y1, then Calculate.

03

Worked example

Fit a linear model to (1,3),(2,5),(3,7),(4,9).

Answery=2x+1.