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 (April 2007, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Mon, 9 Apr 2007 22:20:09 -0700
Reply-To:     David L Cassell <davidlcassell@MSN.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         David L Cassell <davidlcassell@MSN.COM>
Subject:      Re: Split sample
In-Reply-To:  <200704092205.l39JED7k029304@mailgw.cc.uga.edu>
Content-Type: text/plain; format=flowed

art297@NETSCAPE.NET replied: >-------- >On Mon, 9 Apr 2007 17:53:22 -0400, mcolowasth@YAHOO.CO.UK wrote: > > >Hi all, > > > >I want to split my sample into 5 or 6 equal groups. How can I do this in > >SAS? > > > >Thanks a lot

> >I think that proc surveyselect can also do what you want. Take a look at >http://xrl.us/vo3b > >HTH, >Art

Actually, PROC SURVEYSELECT will *not* do this. Not without lots of steps and auxiliary fiddling. It *will* split a data set into two groups, marked SELECTED=0 and SELECTED=1 in the data set, and you can control the sampling rate in that. So you could do this iteratively with PROC SURVEYSELECT, which would be icky.

HTCT, David -- David L. Cassell mathematical statistician Design Pathways 3115 NW Norwood Pl. Corvallis OR 97330

_________________________________________________________________ Mortgage refinance is Hot. *Terms. Get a 5.375%* fix rate. Check savings https://www2.nextag.com/goto.jsp?product=100000035&url=%2fst.jsp&tm=y&search=mortgage_text_links_88_h2bbb&disc=y&vers=925&s=4056&p=5117


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