Date: Fri, 2 Aug 2002 15:47:39 -0400
Reply-To: Jason Kirkland <Jason.Kirkland@ORCMACRO.COM>
Sender: "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From: Jason Kirkland <Jason.Kirkland@ORCMACRO.COM>
Subject: Re: A Puzzle!
Content-Type: text/plain; charset="us-ascii"; format=flowed
At 01:31 PM 8/2/02 -0400, Libin XU wrote:
>Dear list members,
> I have a question that I hope someone can give me an answer. I am
>using version 10
>to run a frequency analyses. I have the following commands:
> sort cases by schnam level.
> split file by schnam level.
> fre var=readpr mathpr/stat=median.
> split file off.
> The sysntax seems logic to me, but, I don't know why, the resulted
>table have the level
>order of 2, 6, 4 instead of 2, 4, 6. The level is a string variable. Can
>somebody solve the puzzle for me? Thank you in advance.
Since your level is string my guess is your data is not as clean as you
think it is. For example if your 2s and 6s have a leading zero, this would
give you an order of 2, 6, 4.