cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
The Discovery Summit 2025 Call for Content is open! Submit an abstract today to present at our premier analytics conference.
Get the free JMP Student Edition for qualified students and instructors at degree granting institutions.
Choose Language Hide Translation Bar
View Original Published Thread

One best fit lines with multiple data sets

kabradley13
Level I

How do I calculate the residuals of data set B,C, and D using the best fit line of data set A?

1 REPLY 1
txnelson
Super User


Re: One best fit lines with multiple data sets

  1. Run the regression on your initial data table
  2. Go to the red triangle in the output and Save the Predicted Formula, or Save Predicted, both will give you the information you need
  3. Go to the new column and open the formula for Predicted column
  4. Copy the formula into the paste buffer
  5. Go to the new data table you want the residuals for
  6. Create a new column in the data table, and open the formula for the new column.  
  7. Paste the prediction formula into the formula for the new column
  8. Create another new column and name it Residual
  9. Apply a formula which is the Response column minus the Predicted column.  
Jim