JMP Tutorial:
Least-Squares Regression Line and Residuals Plot


Click the link below and save the following JMP file to your Desktop:

Now go to your Desktop and double click on the JMP file you just downloaded.
This action will start JMP and display the content of this file:

Go to the Analyze menu and select Fit Y by X:

Click the column Gross Sales, then click Y, Response.
Click the column Items, then click X, Factor
Your screen should now look similar to the following:

Click OK
The scatter plot is produced:

Click on the red down arrow next to Bivariate Fit of Gross Sales By Items and select Fit Line:

You should see:

To generate the residuals plot, click the red down arrow next to Linear Fit and select Plot Residuals.
You should see: