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
Sarah1
Level I

Write Slope to Data Table

I have a data table with variable data over time per batch.  Each variable value is on an individual row with it's corresponding time.  I am looking to write the slope of the linear fit of that X(time) to Y(variable).  I have done a bivariate fit per batch with a linear fit to get the slope per batch.  I am looking to write this value back to the data table.  The goal is to add a column of each batches' slope to compare between batch variability.  There are 800+ batches, so copy and paste from the graphs is not an option.

1 REPLY 1
txnelson
Super User

Re: Write Slope to Data Table

If your data are similar to this

txnelson_0-1737953244867.png

You can run your Bivariates

txnelson_1-1737953316390.png

And then right click on any of the Parameter Estimates tables and select

      Make Combined Data Table

It will then create a table with the Intercepts and Time Estimates for each batch

txnelson_2-1737953489780.png

You can then simply delete the intercept rows, and you will have a table of all of just your Time Estimates, which are your slopes.

txnelson_3-1737953622508.png

 

 

 

Jim

Recommended Articles