Question: Using the data set Graduate in the STATS library, compute one-way frequencies for the variables Gender, Study, and Graduate. Omit cumulative statistics and suppress all

Using the data set Graduate in the STATS library, compute one-way frequencies for the variables Gender, Study, and Graduate. Omit cumulative statistics and suppress all plots.

Using the data set Graduate in the STATS library, produce a table with Graduate on the column dimension and Study on the row dimension. Request the chi-square statistic and the relative risk.

Repeat exercise 2, but use formats to rearrange the columns so that Yes comes before No. Also rearrange the rows so that the top row is Above Average and the second row is Below Average. (Note that the values of Graduate are already in the correct order.) The relative risk (Col 1) is now the risk of graduating if you study hard. (Hints: You need to write a format for the variable Graduate. You also need to add the ORDER=formatted option on PROC FREQ.)

Here is an example of what your table should look like:

Using the data set Cars in the SASHELP library, create a two-way table with the variable Cylinders on the column dimension and Type on the row dimension. Omit all plots and statistics. After you run the task, create a filter to limit the number of cylinders to 4, 6, or 8.

Using the data set Fish in the SASHELP library, generate a frequency list for the variable Species in decreasing order of frequency. The PROC FREQ option that you need to include is ORDER=Freq.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!