4. proc freq data=course2017 ; BY COURSE_NAME*FEE ; run;
Correct Answer : Get Lastest Questions and Answer : Explanation: Two way frequency: Use the * between two variables. For each category of the course and for various fees across the observation it will be printed. First Variable COURSE_NAME will create rows Second variable FEE will create columns for distinct frequencies You need to use TABLES statement for creating n-way cross tabulation.
Question : Which of the following procedure will generate given output?
Correct Answer : Get Lastest Questions and Answer : Explanation: As we can see in the result it is a cross tabulation of two variables named COURSE_NAME and FEE. Now the only value which is presented is cell percent and other will not be generated. To do this there are various option which can be used using the / in the TABLES statement. A. NOFREQ : Remove frequency values B. NOCOL : Remove Column frequencies C. NOROW: Remove the row level percentage. D. NOPERCENT : Remove percent
Question : You have been asked to create a report in various formats. You have started to write SAS program to generate the reports. How many types of output you can generate using ODS statement?
Correct Answer : Get Lastest Questions and Answer : Explanation: You can write as many ODS statements as you want and create that many output. You need to open the ODS destination for each type of output you want to create.