Learning
Base SAS,
Advanced SAS,
Proc SQl,
ODS,
SAS in financial industry,
Clinical trials,
SAS Macros,
SAS BI,
SAS on Unix,
SAS on Mainframe,
SAS interview Questions and Answers,
SAS Tips and Techniques,
SAS Resources,
SAS Certification questions...
visit http://sastechies.blogspot.com
11. SAS Techies 2009 11/13/09 Assign a SAS or user-defined format to the item FORMAT= Associate a statistic with an analysis variable statistic Specify a style element (for the Output Delivery System) for the report item STYLE= Specify a numeric variable whose values weight the value of the analysis variable WEIGHT= Define the width of the column in which PROC REPORT displays the report item WIDTH= Define the item, which must be a data set variable, as an across variable ACROSS Define the item, which must be a data set variable, as an analysis variable ANALYSIS Define the item as a computed variable COMPUTED Define the item, which must be a data set variable, as a display variable DISPLAY Define the item, which must be a data set variable, as a group variable GROUP Define the item, which must be a data set variable, as an order variable ORDER
24. SAS Techies 2009 options nodate pageno= 1 linesize= 80 pagesize= 60 source; proc printto log=‘c:emp.txt'; run ; data numbers; input x y z; datalines; 14.2 25.2 96.8 10.8 51.6 96.8 ; proc printto print='output-file' new; run ; proc print data=numbers; title 'Listing of NUMBERS Data Set'; run ; 11/13/09
25.
26. SAS Techies 2009 options nodate pageno= 1 linesize= 80 pagesize= 60 ; data elect; input Candidate $ 1 - 11 District 13 Vote 15 - 18 Years 20 ; datalines; Cardella 1 1689 8 Latham 1 1005 2 Smith 1 1406 0 Walker 1 846 0 ; proc rank data=elect out=results ties=low descending; by district; var vote years; ranks VoteRank YearsRank; run ; 11/13/09