Object Selection – any four points as a ‘Data Set’
Open a 2D Graph page (Standard Level)
or Add any 4 points using either ‘Add
Point’ or ‘Enter Coordinates’
Select all four points
Use the object menu to choose: Convert to Data Set This data set is now a ‘single object’ and can be selected by clicking on one of the points.
Double click one of the points and in the
dialogue box that opens ‘tick’ the box to enable ‘Show Statistics’. Shown here are the results available in ‘Standard Level’. The ‘Advanced level’ gives far more information!
Select the data set and choose ‘Centroid’
from the Object Menu
Add a point (not part of the data set!)
Select both these new points and . . .
Choose ‘Straight Line’ from the Object Menu This will draw a line through the ( , ) point that can be moved (rotated) by moving the other point.
The ‘icing on the cake’ is to select the data
set and the line (that is 2 objects selected!) From the ‘Object Menu’ choose: y on x Residuals This will show the squares (or lines as you prefer) as shown opposite. The value of the ‘Squared Residuals’ can be shown in a Dynamic Text Box if required. Click here for the Autograph file shown here Tip: Hold down the ‘Ctrl’ key and move one of the points in the Data Set! Note: to show the actual ‘Line of Best Fit’ simply select the Data Set then the Object Menu