Unformatted text preview: major. d. Use PROC MEANS to compute summary statistics for exam 1 and exam 2. What is the average score for each exam? e. Go back into the DATA step and add one variable named final which is the average of exam1 and exam2. The line of code for this is: final = (exam1 + exam2)/2; f. Use PROC PRINT to verify the new variables were computed correctly. g. Use PROC MEANS to compute summary statistics for the final grade. h. Save your program to your computer. Give it the name exercise1. It will automatically have a .sas extension. i. Exit SAS after your have saved your program. Then enter SAS again and bring in the program that you saved....
View Full Document
- Fall '11
- editor, PROC PRINT, SAS Practice Exercise, 2 001 002 003 004 005 006 M