jmp-l
[Top] [All Lists]

Re: column standardizing by groups?

To: jmp-l@lists.biostat.wustl.edu
Subject: Re: column standardizing by groups?
From: Ronald Cross <roncross@cox.net>
Date: Wed, 28 Dec 2005 17:52:53 -0800
In-reply-to: <FF700155-E12E-4AC4-9B4B-5AFBD9CF65B9@northwestern.edu>
References: <20051228224640.22000.qmail@web30806.mail.mud.yahoo.com> <A1D44C45-505F-48F1-884A-B9023D155225@northwestern.edu> <BCC95CE9-74D5-46FA-8E2E-BD7E9B196EA8@cox.net> <FF700155-E12E-4AC4-9B4B-5AFBD9CF65B9@northwestern.edu>
Go to tables in the menu and select split. You will want to split x and set Col id to Sex. Give the output table a name and press ok. You will have to rename columns Female and Male to X1 and X respectively.

thx
RLC
On Dec 28, 2005, at 5:36 PM, Michael Bailey wrote:


On Dec 28, 2005, at 7:27 PM, Ronald Cross wrote:

Will you provide more detail on what you mean by standardizing a variable separately for men and women?


Sure. Variable X has different means and standard deviations for men and women. I want to create a new variable X1, that is X standardized using the male mean and standard deviation for all male observations, and the female mean and standard deviation for all female observations. I'm attaching a sample jmp file to illustrate. Note that variable X has different distributions for males and females.


<columnstandard.jmp>


Michael Bailey
jm-bailey@northwestern.edu




<Prev in Thread] Current Thread [Next in Thread>