cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Instantly extract effect sizes, F-ratios, and FDR-adjusted p-values from your models with the Calculate Effects Sizes extension, available now in the JMP Marketplace!
  • New to JMP? Join us Sept. 23-24 for the Early User Edition of Discovery Summit, tailor-made for new users. Register now for free!
  • Your voice matters! Tell us how you prefer to receive JMP updates, so we can tailor our communication to your needs. Take short survey.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
kabradley13
Level I

One best fit lines with multiple data sets

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

Recommended Articles