193k views
0 votes
Which report is created from the following PROC FREQ step?

proc freq data= ;
where Cylinders in (4,6) and Type in ('Sedan','SUV');
tables Type*Cylinders / nocol norow crosslist;
run;

User Sinval
by
7.3k points

1 Answer

4 votes

Final answer:

The PROC FREQ step in the SAS software will create a frequency report of vehicle 'Type' (Sedan/SUV) and 'Cylinders' (4/6), without displaying column or row percentages and in a list format.

Step-by-step explanation:

The student's question concerns the creation of a report from a specific PROC FREQ step in SAS software. The PROC FREQ step is used to generate frequency tables for categorical variables. In this case, the report that will be created will show the frequency of the different combinations of the 'Type' of vehicle (limited to 'Sedan' and 'SUV') and the number of 'Cylinders' (limited to 4 and 6). Since the 'nocol' and 'norow' options are specified, no column or row percentages will be displayed. The 'crosslist' option will format the output as a simple list of combinations rather than the default matrix format. Here is a step-by-step explanation:

  1. The 'proc freq' procedure is initiated to analyze the specified data.
  2. The 'where' statement filters the data to include only records where 'Cylinders' are 4 or 6 and 'Type' is 'Sedan' or 'SUV'.
  3. The 'tables' statement specifies that a cross-tabulation of 'Type' by 'Cylinders' is to be created.
  4. The options 'nocol', 'norow', and 'crosslist' control the format of the output.
  5. The process is executed when the 'run;' statement is reached, generating the final report.
User Sei Satzparad
by
8.4k points