Date: Mon, 16 Aug 2004 14:52:19 -0300
Reply-To: Hector Maletta <hmaletta@fibertel.com.ar>
Sender: "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From: Hector Maletta <hmaletta@fibertel.com.ar>
Subject: Re: SPSS/To randomly sort cases
In-Reply-To: <1092678042.4120f19a94ee1@webmail.abo.fi>
Content-Type: text/plain; charset="iso-8859-1"
As indicated in a recent exchange in this same mailing list, you have to
compute a variable with random values, and then sort the cases by that
variable. For instance:
comp randvar=rv.uniform(0,1).
sort cases by randvar.
Hector
> -----Original Message-----
> From: SPSSX(r) Discussion [mailto:SPSSX-L@LISTSERV.UGA.EDU]
> On Behalf Of Signe-Anita Lindgren
> Sent: Monday, August 16, 2004 2:41 PM
> To: SPSSX-L@LISTSERV.UGA.EDU
> Subject: SPSS/To randomly sort cases
>
>
> Hi,
>
> I need to randomly sort 54 cases and would
> appreciate some help on how to do it in SPSS.
> Can I do this in SPSS 11.0.1? / How?
> I am not familiar with writing scripts and
> inserting own syntax.
>
> Thank you in advance!
>
> Signe-Anita Lindgrén
> German Philology
> Åbo Akademi University
> Finland
>
|