This preview shows page 1. Sign up to view the full content.
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
This note was uploaded on 11/21/2011 for the course PUBH 6420 taught by Professor Greggrandis during the Fall '11 term at University of Florida.
- Fall '11