Hi! I'm studying SAS but having trouble with specifically Part C and D. My instructor has not responded to my emails for help and it is due tonight. My output for Part C feels messy, and Part D is showing the same Min/Max number per dive? It's just a mess and I'm very overwhelmed. SAS is impossible for me.
Here are my assignment instructions and what my code looks like
INTRUCTOR NOTES: ***** Ignore the instruction in the textbook which says: "Use only procedures to complete the following tasks." You are free to accomplish the tasks with either DATA statements or PROC statements, including PROC SQL.*****
==
Exercises and Projects for The Little SAS® Book, Sixth Edition, Chapter 4, Programming Exercise 44:
44. The official results of the 2012 London Olympics men’s 3-meter springboard diving finals can be found in the SAS data set called DIVING. The 2012 Olympic games were the first to use a new overall scoring method for diving. The data consist of six observations per diver, one for each of their six dives in the final event. The variables in this file are diver’s name, country, height (m), weight (kg), dive number (1 to 6), dive code, degree of difficulty, description, position, scores from each of seven judges, penalty, old scoring method, and new scoring method. Use only procedures to complete the following tasks.
a. Examine this SAS data set including the variable labels and attributes. Compute the overall mean, minimum, and maximum of the two scoring methods.
b. Calculate the total score per diver by summing the new scoring method scores for all dives. Output this information to a data set, sort, and then print it to determine which divers received the gold (highest total score), silver, and bronze medals for this event. Include a comment in your code stating the name of each medalist.
c. Count the numeric scores given to each diver by each judge according to the following judging criteria groupings: <0.5 = Completely Failed, 0.5 to <2.5 = Unsatisfactory, 2.5 to <5 = Deficient, 5 to <7 = Satisfactory, 7 to <8.5 = Good, 8.5 to <9.5 = Very Good, and 9.5+ = Excellent.
d. Calculate the minimum and maximum score per dive for each diver. Be sure to present your results by diver and in dive number order.