PDF4PRO ⚡AMP

Modern search engine that looking for books and documents around the web

Example: bankruptcy

Some Tips and Examples for Using PROC TABULATE

Back to document page

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, :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

  Using, Tips, Example, Some, Some tips and examples for using, Some tips and examples for using sas

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:

Spam in document Broken preview Other abuse

Related search queries