What is the difference between Proc tabulate and Proc print
Answers were Sorted based on User's Feedback
Answer / ranjith.m
The PRINT procedure: prints the observations in a SAS data
set, using all or some of the variables. You can create a
variety of reports ranging from a simple listing to a
highly customized report .
The Tabulate procedure : used to print tabular type of
Reports
and we can find descriptive statistics.
| Is This Answer Correct ? | 11 Yes | 1 No |
Answer / pavan
proc print is used to print the observations in the output
proc tabulate is used to print the observations in table
form
as rows and colums
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / sheetal
proc print produces list report output. Proc Tabulate print
crosstabulation report output.
| Is This Answer Correct ? | 3 Yes | 0 No |
Proc tabulates out puts the aggregate values in table
whereas
Proc print used to print the data of a dataset into an out
put window
| Is This Answer Correct ? | 3 Yes | 1 No |
What is SAS?
why is sas considered self-documenting? : Sas programming
What is a method to debug and test your SAS program?
why is sas data integration studio important? : Sas-di
How will you use the WHO Drug Dictionary for Reporting Clinical Trials?
Explain what Proc glm does?
/* This is example of age caluculate wihtout to display perfect days and years in output window */ data age; retain dob "12jun2003"d now "24may2011"d; age1=now-dob; age=(now-dob)/365.25; years=int(age); days1=round((age-years)*365.25); months=month(now)-1; if days1 gt 30 and months in(12,10,8,6,4,2)then do; month1=days1/30.4375; month=int(days1/30.4375); if day(now)=1 then days=1; else days=round((month1-month)*30.4375)+1; drop days1 month1 month; end; else if days1 gt 30 and months in (1,3,5,7,9,11)then do; month1=days1/30.4375; month=int(days1/30.4375); if day(now)=1 then days=1; else days=round((month1-month) *30.4375); drop days1 month1 month; end; drop age age1; proc print data=age; format dob now date.; run;
What are the uses of sas?
Have you ever linked SAS code? If so, describe the link and any required statements used to either process the code or the step itself.
how to import HTML files into SAS datasets?
How to convert .xls file into CSV format?
what are the methods that you would employ to fine tune your SQL extract process using SAS/Access or Proc SQL?