REGRESSION Procedure

Older operating system

Entering the data

  • Normally for these types of problems, data will be given stating the x and y pairs.
  • On the calculator, press the “stat” button.
  • Then a menu will pop up and the first option is “edit” , press enter.
  • Three columns will then appear labeled L1, L2, and L3. If there is any data in L1, L2, or L3 move your cursor to the top of those columns and press clear, do not press delete because the calculator will delete the column.
  • Put the x values of the data in L1 and the corresponding y values in L2.

Setting up Stat-Plot

  • Then press “2nd” button on the calculator,
  • then press y= ( which says stat plot above it).
  • A menu will come up that says “stat plots” , pick Plot 1 and press enter.
  • A new menu will pop up , move your cursor to the “on” and press enter .
  • For type, pick the first option, which is a x,y scatter plot.
  • Make sure the Xlist says L1 and the y list says L2.
  • Then press the “zoom” button and press the #9 button. A graph should appear that has all the points plotted, yet no line.
  • Does the relationship appear to be linear? If yes, you are ready to calculate the line of best fit, the linear regression line.
  • First, go to “Catalog,” (“2nd” and “0”), scroll down to “DiagnosticOn,” and enter that command. Press “enter” again and the calculator should say “Done.” (This will turn on r/r2 features.)

Getting the Linear Regression equation

  • Press the “stat” button and
  • press the right cursor button once to get to the “calc” menu.
  • Press the #8 button for LinReg (a+bx) and press enter. The words LinReg( a+bx) should appear on the screen.
  • Press the “2nd” button and then the #1 button for L1.
  • Then press the comma button located above the 7 button.
  • Then press “2nd” again and press the #2 button,
  • press the comma button.
  • In order to tell the calculator where we want to put the equation you press the “ vars” button.
  • Press the right cursor button so the y-vars menu shows up.
  • Press #1 to select “function”.
  • Press #1 again to choose Y1.
  • The screen should say LinReg(a+bx) L1,L2,Y1 — press enter.
  • Press Y= in order to see the equation.
  • Press graph in order to see the graph with a line of “best fit” through the data.

Residuals: e = actual y – predicted yResiduals Plot: L1 (x) vs. L3 (residuals)

L3= L2-Y1(L1)

LINREG Procedure – Newer operating system

Entering the data

  • Normally for these types of problems, data will be given stating the x and y pairs.
  • On the calculator, press the “stat” button.
  • Then a menu will pop up and the first option is “edit” , press enter.
  • Three columns will then appear labeled L1, L2, and L3. If there is any data in L1, L2, or L3 move your cursor to the top of those columns and press clear, do not press delete because the calculator will delete the column.
  • Put the x values of the data in L1 and the corresponding y values in L2.

Setting up Stat-Plot

  • Then press “2nd” button on the calculator,
  • then press y= ( which says stat plot above it).
  • A menu will come up that says “stat plots” , pick Plot 1 and press enter.
  • A new menu will pop up , move your cursor to the “on” and press enter .
  • For type, pick the first option, which is a x,y scatter plot.
  • Make sure the Xlist says L1 and the y list says L2.
  • Then press the “zoom” button and press the #9 button. A graph should appear that has all the points plotted, yet no line.
  • Does the relationship appear to be linear? If yes, you are ready to calculate the line of best fit, the linear regression line.
  • First, go to “Catalog,” (“2nd” and “0”), scroll down to “DiagnosticOn,” and enter that command. Press “enter” again and the calculator should say “Done.” (This will turn on r/r2 features.)

Getting the Linear Regression equation

  • Press the “stat” button and
  • press the right cursor button once to get to the “calc” menu.
  • Press the #8 button for LinReg (a+bx) and press enter. The words LinReg( a+bx) should appear on the screen, followed by “Xlist: L1, Ylist: L2, FreqList:, Store RegEQ:, Calculate”
  • Scroll down to “Store RegEQ:”
  • Press the “ vars” button.
  • Press the right cursor button so the y-vars menu shows up.
  • Press #1 to select “function”.
  • Press #1 again to choose Y1.
  • Scroll down to “Calculate” on the screen and press “enter”
  • Press Y= in order to see the equation.
  • Press graph in order to see the graph with a line of “best fit” through the data.

Residuals: e = actual y – predicted yResiduals Plot: L1 (x) vs. L3 (residuals)

L3= L2-Y1(L1)