Scatter plot and best fit line

Task
Create a Scatter Plot and conduct a Two Variable Regression Analysis for a given data set to explore how outliers affect the best fit line.
Explore the construction...
Instructions
[table][tr][td][size=100]1.[/size][/td][td][size=100][/size][/td][td][size=100]In the [i]Spreadsheet View[/i], enter the following data values into the cells of column [i]A[/i]:[br][i]A1:      [/i]1[i]         A2:      [/i]5[i]         A3:      [/i]2[i]         A4:      [/i]8[i]         A5:      [/i]-2[br][/size][/td][/tr][tr][td][br][/td][td][br][/td][td][size=100][b]Hint:[/b] Always evaluate your input by hitting the [i]Enter[/i] key.[/size][br][/td][/tr][tr][td][size=100]2.[/size][/td][td][size=100][/size][/td][td][size=100]Enter the following numbers into the spreadsheet cells of column [i]B[/i]:[br][i]B1:[/i]      -1       [i]B2:[/i]      2         [i]B3:[/i]      3         [i]B4:[/i]      4         [i]B5:[/i]      1[/size][/td][/tr][tr][td][size=100]3.[/size][/td][td][size=100][icon]https://www.geogebra.org/images/ggb/toolbar/mode_createlistofpoints.png[/icon][br][/size][/td][td][size=100]Create a Scatter Plot from this data: Highlight all cells of columns [i]A[/i] and [i]B[/i] that contain data. Then, select the tool[i] List of Points[/i] from the [i]Spreadsheet View Toolbar[/i] and click [i]Create[/i] to create points from your data set.[br][/size][/td][/tr][tr][td][br][/td][td][br][/td][td][size=100][b]Note:[/b] The values in column [i]A[/i] determine the x-coordinates and the values in column [i]B[/i] specify the y-coordinates of the plotted points.[/size][br][/td][/tr][tr][td][size=100][/size][/td][td][size=100][icon]https://www.geogebra.org/images/ggb/toolbar/mode_translateview.png[/icon][/size][/td][td][size=100][b]Hint:[/b] You might want to use the [i]Move Graphics View[/i] tool if not all five points are visible in the [img]https://wiki.geogebra.org/uploads/thumb/c/c8/Menu_view_graphics.svg/16px-Menu_view_graphics.svg.png[/img] [i]Graphics View[/i].[/size][/td][/tr][tr][td][size=100]4.[/size][/td][td][size=100][icon]https://www.geogebra.org/images/ggb/toolbar/mode_fitline.png[/icon][/size][/td][td][size=100]Select the [i]Best Fit Line[/i] tool from the [i]Graphics View Toolbar[/i]. Create the line that best fits your data points by using a selection rectangle that contains all data points plotted.[br][/size][/td][/tr][tr][td][br][/td][td][br][/td][td][size=100][b]Hint:[/b] Create a selection rectangle by clicking in the upper left corner of the [i]Graphics View[/i] and dragging down to the lower right corner of the [img]https://wiki.geogebra.org/uploads/thumb/c/c8/Menu_view_graphics.svg/16px-Menu_view_graphics.svg.png[/img] [i]Graphics View[/i]. Make sure that all data points lie within the selection rectangle.[/size][br][/td][/tr][tr][td][size=100]5.[/size][/td][td][size=100][icon]https://www.geogebra.org/images/ggb/toolbar/mode_move.png[/icon][/size][/td][td][size=100][b]Exploration:[/b] Using this construction you can easily demonstrate how outliers affect the best fit line of a data set. Select the [i]Move[/i] tool and drag one of the points to create an outlier.[br][/size][/td][/tr][tr][td][br][/td][td][br][/td][td][size=100][b]Hint:[/b] You can also change the initial data directly in the [img]https://wiki.geogebra.org/uploads/thumb/7/73/Menu_view_spreadsheet.svg/16px-Menu_view_spreadsheet.svg.png[/img] [i]Spreadsheet View[/i].[/size][br][/td][/tr][/table]
Try it yourself...

Information: Scatter plot and best fit line