Date: Fri, 25 Jun 2004 14:02:38 -0400
Reply-To: "Fehd, Ronald J. (PHPPO)" <RJF2@CDC.GOV>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Fehd, Ronald J. (PHPPO)" <RJF2@CDC.GOV>
Subject: Re: arrangements of indistinguishable objects?
Content-Type: text/plain; charset="us-ascii"
> From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On
> Suppose I have 6 objects, 3 of type A and 3 of type B, and
> would like to arrange them randomly. I would like to make an
> array of all the possible arrangements. So for example one
> element of the array might be AABBAB. Can anyone suggest an
> easy way of doing this? I was thinking of tweaking the code
> http://www.id.unizh.ch/software/unix/statmath/sas/sasdoc/stat/
chap50/sec
t23.htm but being a SAS newbie I wasn't sure how to go about it - any
suggestions would be appreciated.
round flat thing with hole in the middle:
been threaded here many times before:
check our most excellent archives:
http://www.listserv.uga.edu/archives/sas-l.html
search for: combination or permutation
subject contains:
author's address:
since:
until:
Ron Fehd the macro maven CDC Atlanta GA USA RJF2@cdc.gov
|