turn on suggestions

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

Showing results for

- JMP User Community
- :
- Discussions
- :
- Discussions
- :
- Calculations using the Tabulate function

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
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Jan 7, 2010 8:29 AM
(2357 views)

Is there a way to add a simple calcuation of two columns summed in Tabulate, like column A / column B? I know I can make this into a data table, but I wanted to include it in a presentation and the formatting looks much better in the Tabulate window.

Here's a simple example pasted from the Tabulate dialog:

region brand Sum Sum

AU Clinique 104119 103289

Estee Lauder 58009 56009

Jo Malone 30125 29535

La Mer 16895 16730

MAC 106306 111065

2 ACCEPTED SOLUTIONS

Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Sep 21, 2015 2:04 PM
(2694 views)

Solution

For this specific example where Mean(.5 x Column) = .5 Mean(Column) that feature also lets you give custom formulas as well. Probably won't work for everything but you might be able to still use the functionality.

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Sep 21, 2015 11:51 PM
(2697 views)

Solution

This answer requires you to create an extra column in your data table but it might be helpful for you.

Have you tried the Statistical - Col Mean function under column formulas? It has a little ^ symbol which means if you add a comma after the name of the column you wish to summarise you can add by variables. Assuming the column you are summarising is called Y.

Col Mean(:Y, :Item)/2

Would give you the summary statistic you desired. Then in tabulate the mean, min or max or this column by Item will give the result you require and you can edit the column text as desired.

I often use this in combination with if statements in my main table so each summary value for each group only appears once in each column. It is the JMP equivalent of SUMIF, AVERAGEIF, COUNTIF, etc.

9 REPLIES

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Jan 7, 2010 9:51 AM
(2025 views)

If the nice formatting is what you are after, then the best option now is to create the calculations in a table (as you mentioned), then make the table into a Journal by using the

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Sep 21, 2015 12:23 PM
(2025 views)

Resurrecting this question: has there been any update in the last 5 and a half years? I was looking for a way to add some arithmetic to a mean but I can't figure out how to do this other than create a new table based on the tabulate. Which obviously kills the interactivity.

Thanks

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Sep 21, 2015 12:55 PM
(2025 views)

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Sep 21, 2015 1:25 PM
(2025 views)

My fault for a poorly worded question, I should have been specific in the first place: what I would like to do is end up with 50% of the mean, e.g.

Item Mean 50% of Mean

A 20 10

B 15 7.5

I can do this by using Make Into Data Table and then creating a new column with a formula, but it would be nice if that formula could just be an option in the Tabulate.

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Sep 21, 2015 2:04 PM
(2695 views)

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Sep 22, 2015 7:10 AM
(2026 views)

I had trouble understanding this at first, but I did get it to work. Thanks!

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Sep 21, 2015 11:51 PM
(2698 views)

This answer requires you to create an extra column in your data table but it might be helpful for you.

Have you tried the Statistical - Col Mean function under column formulas? It has a little ^ symbol which means if you add a comma after the name of the column you wish to summarise you can add by variables. Assuming the column you are summarising is called Y.

Col Mean(:Y, :Item)/2

Would give you the summary statistic you desired. Then in tabulate the mean, min or max or this column by Item will give the result you require and you can edit the column text as desired.

I often use this in combination with if statements in my main table so each summary value for each group only appears once in each column. It is the JMP equivalent of SUMIF, AVERAGEIF, COUNTIF, etc.

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Sep 22, 2015 7:14 AM
(2025 views)

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Sep 22, 2015 7:31 AM
(2025 views)

In JMP 11 and 12 you can right click on a numeric column name in the column list of tabulate (and graph builder). If you select formula from the menu you can add the formula column required without leaving tabulate.

Sorry should have pointed that out - I am so used to it being there.