Run the program here to create a temporary sas data set


1. Run the program here to create a temporary SAS data set called School:
data school;
input Age Quiz : $1. Midterm Final;
/* Add you statements here */
datalines;
12 A 92 95
12 B 88 88
13 C 78 75
13 A 92 93
12 F 55 62
13 B 88 82
;

Using IF and ELSE IF statements, compute two new variables as follows: Grade (numeric), with a value of 6 if Age is 12 and a value of 8 if Age is 13.

The quiz grades have numerical equivalents as follows: A = 95, B = 85, C = 75, D = 70, and F = 65. Using this information, compute a course grade (Course) as a weighted average of the Quiz (20%), Midterm (30%) and Final (50%).

2. Using the SAS data set Hosp, use PROC PRINT to list observations for Subject values of 5, 100, 150, and 200. Do this twice, once using OR operators and once using the IN operator.
Note: Subject is a numeric variable.

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Run the program here to create a temporary sas data set
Reference No:- TGS0106673

Expected delivery within 24 Hours