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
- :
- Any standardize function by subset

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

Nov 30, 2015 9:50 AM
(837 views)

Hello,

I have three columns: Population, Year and Type. I need to write the Z score value of the population in a new column. This standardization applies for each subset (Year + Type). Until now, I've used the distribution platform with «BY Year» and «BY Type» and saved the normalized data (red triangle menu, Save standardized value).

Since I have to update my table often, these values have to be **refreshed dynamically (formula column)**. The problem here is that the Standardize function applies to all rows. Is there any function or special arguments that would standardize «on the fly» my population by subset?

Thanks,

Claude B.

1 ACCEPTED SOLUTION

Accepted Solutions

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

Solution

Claude,

I believe the answer to your question is to just create a new column and to use the following formula for the new column:

(:Population-Col Mean(:Population,:Year,:Type)) / Col Std Dev(:Population,:Year,:Type)

JIm

Jim

2 REPLIES

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

Claude,

I believe the answer to your question is to just create a new column and to use the following formula for the new column:

(:Population-Col Mean(:Population,:Year,:Type)) / Col Std Dev(:Population,:Year,:Type)

JIm

Jim

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

Dec 1, 2015 9:55 PM
(688 views)