Transcription of Some Tips and Examples for Using PROC TABULATE
{{id}} {{{paragraph}}}
A,2= B RUN;/*Combinetreatmentname(A/B)withtreat menttotal(N=)*//* ,theyarenotincludedintheotherexamples.* ;BYtitsuhj;RUN;DATA tmtf( );SETds_demo;BYtmtsuhj;LENGTSLABEL$8; ;tmtot+l;IFLJ+ ;START=tmt;LABEL=PUT(tmt,trot.)II~=:.#jM t!jTR~(LEFT(~tot))II,),;OUTPUT;FND;RUN;I *CreatetreatmentformatTMTFf4T*IPROCFOFJI ATCNTLIN=tmtf;RUN;TITLE1 ;TITLE2 UseN,MEAN,STD,MIN,andMAXS tatistics,;TITLE3 inPROCTABULATE,;PROCTABULATEDATA=ds_demo FOFJ4 CSAR= FABFACCCBCEB8 FECABCBBB X;/* ,consultSASmanual,2nded.,page134.*/CLASS trnt;VARagewt;TABLES(age=,Age(years),wt= Weight,)l(N=INI*F= Mean * SD *F= ,Min,*F= ,Max,* ),hnt= Treatment,/RTS=3o;RUN;output:TableExampl e1 UseN,MEAN,STD,MIN,andNAXS tatisticsinPROCTABULATET reatmentA(N=1O)B(N=1O)(years) :UsePROCUNIVARIATEforPre-ProcessingtoCal culateSummaryStatisticsTableShellforExam ple2:ITreatmentIIA(N=)]B(N=)1 Lge(years) #eightN9999\ ,thisexamplealsoaddsafewdatastepsandPROC FORMAT tolineupthestatisticsbythedecimalpoints, :PROCFORMAT;valuecollfmt21=IAge(Years)2= ,Weight,;valuec012fmt1= N 2=,Mean,3= SD 4.
Some Tips and Examples for Using SAS@ PROC TABULATE Pei Lee Tien, ASG Inc., Stamford, CT Tsung-Hua Lin, Ph. D., Sandoz Pharmaceuticals Corporation, East Hanover, NJ
Domain:
Source:
Link to this page:
Please notify us if you found a problem with this document:
{{id}} {{{paragraph}}}
Calculating Statistics Using PROC MEANS, Proc, Producing Clinical Laboratory Shift Tables From, Calculating, Using PROC, Fitting Cox Model Using PROC PHREG, Series Control Charts for Financial, Series Control Charts for Financial Process, Using, The MEANS/SUMMARY Procedure: Doing More, Handling Missing Data by Maximum Likelihood