Some Tips and Examples for Using PROC TABULATE
A,2= B RUN;/*Combinetreatmentname(A/B)withtreat menttotal(N=)*//* ,theyarenotincludedintheotherexamples.* ;BYtitsuhj;RUN;DATAtmtf( );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,andMAXStatistics,;TITL E3 inPROCTABULATE,;PROCTABULATEDATA=ds_demo FOFJ4CSAR= FABFACCCBCEB8FECABCBBB 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 e1UseN,MEAN,STD,MIN,andNAXStatisticsinPR OCTABULATETreatmentA(N=1O)B(N=1O)(years) :UsePROCUNIVARIATEforPre-ProcessingtoCal culateSummaryStatisticsTableShellforExam ple2:ITreatmentIIA(N=)]B(N=)1Lge(years) #eightN9999\ ,thisexamplealsoaddsafewdatastepsandPROC FORMATtolineupthestatisticsbythedecimalp oints, :PROCFO
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
Download Some Tips and Examples for Using PROC TABULATE
Information
Domain:
Source:
Link to this page:
Please notify us if you found a problem with this document:
Related search queries
Using, 226 Moving Data and Results Between SAS, Hill-Rom, Using SAS, To Move Data between Servers, Advanced Tips and Techniques with PROC, Tips, Tricks: Using SAS/GRAPH Effectively, Tricks: Using SAS/GRAPH® Effectively, Tips for Handling and Creating Special Characters, Some, Getting Started with ArcGIS, Working with categorical data with