资源描述:
《Advanced Features of PROC TABULATE》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、Hands-onWorkshopsAdvancedFeaturesofPROCTABULATEThomasJ.WinnJr.,TexasStateComptroller'sOffice,Austin,TexasABSTRACTistheSAS®System’simplementationofTPL(TableProducingLanguage),whichwasdevelopedattheU.S.BureauThehands-onworkshopassociatedwiththispaperwillprovideofLaborSta
2、tisticsduringthe1970’s,forgeneratingtabularparticipantswithpracticalinformationregardingsomereportsofdescriptivestatisticsinvolvingemploymentdata.advancedfeaturesofPROCTABULATE.ItwillincludeaPROCTABULATEismorepowerfulforproducingtabulationsreviewofthebasicsyntaxforPROC
3、TABULATE.ItalsowillthanPROCFREQ,anditisamoreflexiblestatisticalreportcovermethodsforcustomizingtheappearanceoftableswriterthanPROCMEANS.generatedbyPROCTABULATE(formatting,modifyingtableoutliningcharacters,removingseparatorlines,changingBasicSyntaxforPROCTABULATEheading
4、s,andchangingthewidthofcells),forusingPROCTABULATEtocomputeandtodisplaypercentagesandotherAgeneralformforaPROCTABULATEstepis:quotients,andforusingPROCTABULATEfordisplayingstatisticalresults.PROCTABULATE;CLASSclass-variable-list;VARanalysis-variable-list;DA
5、TAUSEDFOREXAMPLESTABLE<row-expression,>column-expression;ThispaperwillutilizeacertainSASdatafile,PRDSALE,fromBYvariable-1theRelease7.00SASHELPdatalibrary,aswellasaSASdata<…variable-n>;filecreatedb
6、ythefollowingSASDATAstep(representingaFORMATvariable-list-1format-1hypotheticalusedcardealer’scurrentinventoryofSaturn<…variable-list-nformat-n>;automobiles):FREQvariable;KEYLABELkeyword-1=‘description-1’DATASATURN;<…keyword-n=“description-n’>;LENGTHCOLOR$10TRANSM$9;LA
7、BELvariable-1=‘label-1’<…variable-n=‘label-n’>;INPUTYEARMODEL$PRICEMILEAGEWEIGHTvariable;COLOR$TRANSM$AC;TITLE‘text’;DATALINES;96SC21247523705whiteautomatic1ThePROCTABULATEstatementinvokestheprocedureand96SL2848855460blackmanual1specifiescertainoptions.Themostcommonly-
8、usedoptions99SL1140073015dark_greenautomatic0are:DATA=SAS-data-file,whichspecifiesthedatasettobe96SL21104844480purple