LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (February 1997)Back to main SPSSX-L pageJoin or leave SPSSX-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Mon, 24 Feb 1997 09:57:03 -0600
Reply-To:   "Matheson, David" <davidm@SPSS.COM>
Sender:   "SPSSX(r) Discussion" <SPSSX-L@UGA.CC.UGA.EDU>
From:   "Matheson, David" <davidm@SPSS.COM>
Subject:   Re: Outputing Quartiles to the Active File
Comments:   To: Dean Duncan <dfduncan@EMAIL.UNC.EDU>

You can use the RANK command to create a new variable in the current active file that equals the quantile for an existing variable. The following command assigns the quartile memberships for variable traita to a new variable called qtile. Rank is available from the Transform menu in SPSS version with graphic user interface; on SPSS/PC+, from the Modify Data or Files->Modify Data Values menu.


You might prefer another option for ties (which could affect ties right at the quartile borders).

David Matheson SPSS Technical Support

>---------- >From: Dean Duncan[SMTP:dfduncan@EMAIL.UNC.EDU] >Sent: Monday, February 24, 1997 9:07 AM >To: Multiple recipients of list SPSSX-L >Subject: Outputing Quartiles to the Active File > >Is there a way to calculate the quartile value for a case on a particular >variable without (1) calculating the quartile value cutpoints and (2) using a >compute/recode/if statement to create a new variable that contains the >quartile >value? > >I haven't found a way to do it yet, but I was wondering if there was some >esoteric opiton that would allow you to generate a file that contained the >quartile values for each case that could be merged with the active file. > >Thanks. > >dd >

Back to: Top of message | Previous page | Main SPSSX-L page