Question: Sketch the output resulting from executing the following SAS program. Describe in your own words the flow of operations in the data step in creating

Sketch the output resulting from executing the following SAS program.

Describe in your own words the flow of operations in the data step in creating this data set.

data two;

input Score @@;

if Score > 70 then do;

Adjust = "y";

Index = Score -70;

end;

else if Score < 70 then do;

Adjust = "n";

end;

datalines;

67 69 70 72 75 .

;

proc print data=two; run;

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 Categorical Data Analysis Questions!