{{ toc.name }}
{{ toc.signature }}
{{ toc.name }} {{ 'ml-btn-view-details' | message }}
{{ stepNode.name }}
Proceed to next lesson
Lesson
Exercises
Recommended
Tests
An error ocurred, try again later!
Chapter {{ article.chapter.number }}
{{ article.number }}. 

{{ article.displayTitle }}

{{ article.introSlideInfo.summary }}
{{ 'ml-btn-show-less' | message }} {{ 'ml-btn-show-more' | message }} expand_more
{{ 'ml-heading-abilities-covered' | message }}
{{ ability.description }}

{{ 'ml-heading-lesson-settings' | message }}

{{ 'ml-lesson-show-solutions' | message }}
{{ 'ml-lesson-show-hints' | message }}
{{ 'ml-lesson-number-slides' | message : article.introSlideInfo.bblockCount}}
{{ 'ml-lesson-number-exercises' | message : article.introSlideInfo.exerciseCount}}
{{ 'ml-lesson-time-estimation' | message }}

Digital tools

Finding a Line of Best Fit Using a Calculator

Most graphing calculators have a function called linear regression, which can be used to find a precise line of fit using strict rules. This line of fit is then called the line of best fit. For example, consider the following data set.

The line of best fit can be calculated following these steps.

1
Enter Values
expand_more

On a graphing calculator, begin by entering the data points. To do so, press the button and select the option Edit.

The window in the calculator, which shows Stat and then Edit

This gives a number of columns, labeled and so on.

Calculator showing two empty lists

Use the arrow keys to choose where in the lists to fill in the data values. Enter the values of the data points in and press after each value. The same can be done for the the corresponding values in column

Calculator that shows two lists where you entered values
2
Fitting the Line
expand_more

After entering the values, press the button and select the menu item Calc.

Counter that displays the list of CALC and where you have chosen LinReg

The option LinReg(ax+b) gives the line of best fit, expressed as a linear function in slope-intercept form. Press the button until the parameters are given.

Calculator showing a linear function regression

In this case, the line of best fit is described by the function The correlation coefficient is less than indicating a strong negative correlation. If does not appear, press and to get to the CATALOG, then select DiagnosticOn and enable it by pressing twice. Once more, find the line of best fit.

3
Graphing the Line of Best Fit
expand_more

A graphing calculator can also be used to graph the line of best fit. After selecting the option LinReg(ax+b), choose the option Store RegEQ.

Press and move to the Y-VARS menu. Then, select the option FUNCTION and press

Press the button until the parameters are given. To graph the scatter plot, first push the buttons and Then, choose one of the plots in the list. Select the option ON, choose the type to be a scatter plot, and assign and as XList and Ylist, respectively.

Then, the plot can be made by pressing the button It is possible that after drawing the plot the window-size is not large enough to see all of the information.

To fix this, press and select the option ZoomStat. After doing that, the window will resize to show the important information.