EX #1: Find the equation of the line that passes through the points and
Objectives: To use the graphing calculator to graph a scatter plot.
To use the graphing calculator to calculate a regression line.
There are three steps to using your calculator to find the trend line
(a.k.a. "line of best fit" or "regression line") for a given set of data:
(1) enter your lists of data;
(2) calculate your slope and y intercept for the regression line; and
(3) set up and view the graph of your data and the regression line.
EX #1 (continued):
Use the graphing calculator to plot the points and determine the equation of the line passing through the points (2, 1) and (1, 7).
(Use the following instructions to help you through this process...)
"Line of Best Fit" "Regression Line" "Trend Line"
Scatter plot:
a graph that relates two different sets of data points as ordered pairs and displays them on the coordinate plane
Trend line:
line that approximates the relationship (correlation) between a set of data points and is used to make predictions
Regression analysis: the mathematical process of fitting a line
(or curve) to a set of data points
STAT mode: TI function that uses lists to do regression analysis
Identifying correlation from a graph
(1) Enter your lists of data:
STAT 1:Edit... ENTER
The headings of your table should be L1 and L2 like in this picture:
If you have numbers in those lists already, highlight the name of the list using the directional arrow keys then hit CLEAR then ENTER. (DO NOT HIT DEL.)
If you have other lists in these columns, highlight the name of the list using the directional arrow keys then hit DEL.
To insert L1 and L2, highlight the top of the desired column using the directional arrow keys hit 2ND INS then 2ND LIST 1:L1 ENTER
(2) Set up your graph:
Now you need to turn on the graphing capabilities of your calculator.
Hit 2ND Y= 1: Plot 1:On
Use the directional arrow keys to highlight Plot 2 and Plot 3 to make sure they are Off. (Your calculator will try to graph everything that is turned on all at the same time.)
Also, any equations that are currently entered into [ Y= ] must be cleared out.
Be sure to have the first type of graph selected.
If you have something other than
L
1
and L
2
here, you need to change it so you do.
2ND LIST 1:L 1
2ND LIST 2:L
2
(3) Calculate your slope and yintercept for the regression line:
STAT CALC 4:LinReg(ax+b) ENTER y = m x + b a = slope b = y intercept
** If your calculator does not have r
2 and r values, you do not need these for now... don't worry. **
Write these values down in slopeintercept form!
If you need to round, please round to 2 decimal places unless told otherwise.
(4) Enter your equation into your calculator:
Y= enter the equation you wrote
down in the last step
(5) View the graph of your data with the regression line:
View your graph.
GRAPH
If you do not see your scatter plot with the regression line,
ZOOM 9:ZoomStat