- JMP User Community
- :
- Discussions
- :
- Avg & SD caluclation for multiple columns in JMP

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Topic Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content

Oct 1, 2024 04:37 PM
(263 views)

Hello,

I'm quite new to JMP and looking for some advise how to performance below tasks:

1. can JMP combine multiple files with multiple random tabs together into one data table?

2. in the data table, how to calculate multiple columns (with the same column name and column number is random) average and standard deviation as two new columns?

3. can I make a plot using +- 3 sigma as spec range, and other raw columns data as scatter plot to quantify if all within spec or not?

4. Can JMP report pass or fail if any data point out of the spec? even for linear regression using Fit Y by X model? (I tried to use Fit Y by X but unable to draw any spec properly, unable to find that feature available)

I've attached 4 excel files and one png to show what I'm trying to do for your reference. Thank you for your help in advance.

1 REPLY 1

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content

Others should chime in since my answers may have ideas that I did not think of.

1) I am assuming you are trying to import Excel workbooks since you mentioned several tabs. You can certainly import an Excel workbook with multiple tabs into a single data table. You can import multiple Excel files at once, but they may not be into a single table. I do not think you can do both at the same time. But you could do it as a two-step process: bring in each file with the multiple tabs and then join the resulting JMP data tables.

2) You should read the post in the discussions that state that JMP is not a spreadsheet. You can calculate the average and standard deviation for multiple columns using the Table > Summary command. This will put the results into a new data table. If you MUST have the results in the same data table as the raw data, then you can use column formulas to calculate averages and standard deviations. There are other ways that can accomplish this task depending on exactly what you would like to do and why. Sometimes the best answer may not always be what you are thinking of doing.

3) If you fit a linear model, what "sigma" are you using for the bands? I would worry about misleading graphs. Using the standard deviation of the response would not be appropriate. Some of that variance has been explained by the X-variable. You could use the RMSE of the model fit, but is that really the proper error? Are you wanting to form a 99.7% confidence interval for the fit? 99.7% confidence interval for the prediction? Those are options that are available under the red triangle for the linear model that was fit to the data. Ultimately, it really depends on what you are trying to do with that interval.

4) Yes, this can be done. You will likely want to use a formula column to determine if a value is in spec or not. Having that information in a column will allow you to easily mark the data points as in/out of spec in Graph Builder.

I hope that others will chime in with more details. It may be better for you to have each question separated into a separate thread as they are quite different. More specific can then be asked and answered for each question. Best of luck on your JMP learning path!

Dan Obermiller

- © 2024 JMP Statistical Discovery LLC. All Rights Reserved.
- Terms of Use
- Privacy Statement
- About JMP
- JMP Software
- JMP User Community
- Contact