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 (March 2008, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 26 Mar 2008 08:35:34 -0700
Reply-To:     Doaa <d_faik@HOTMAIL.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Doaa <d_faik@HOTMAIL.COM>
Subject:      saving and opening data sets
Comments: To:
Content-Type: text/plain; charset=ISO-8859-1

i made a program on proc iml that generate a data from a multivariate normal distribution, that i will use in simulation study iwant to generate about 1000 data sets. i made it by loop statment but my problem now how to save each data set with a separeate name and how to reopen these data sets again . i think it is done by a loop but i don't know how to do it.please replay as sson as possible my code was PROC IML; do Replicate=1 to 10; seed=12345; p=3; n=40; h=((n-1)**2/n)* betainv(0.05,(p/2),((n-p-1)/2)); m={1 4 2}; s={ 1 .4 .16, .4 1 .4, .16 .4 1}; u=ROOT(s); x=J(n,1,1)*m + NORMAL(J(n,p,seed))*u; end; run; quit;

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