|
try something like this untested syntax.
compute randnum = rv.uniform(0,1).
sort cases by randnum.
compute ranorder = $casenum.
execute.
recode ranorder (1 thru 6 =1)(7 thru 12=2) (else=3) into mygroup.
value labels mygroup
1 'first group'
2 'second group'
3 'residual'.
Hope this helps.
Art
Art@DrKendall.org
Social Research Consultants
University Park, MD USA
(301) 864-5570
Martin Sherman wrote:
> Dear list: I have 36 subjects from which I want to randomize 12 of
> them into two groups (six in a group). Does anyone know the
> programing that I could use to accomplish this. thanks, martin
>
> Martin F. Sherman, Ph.D. Professor of Psychology Loyola College 222 B
> Beatty Hall 4501 North Charles Street Baltimore, MD 21210
>
> 410 617-2417 (Office) 410 617-5341 (FAX) msherman@loyola.edu
>
|