You have five subjects in a placebo group and five in a drug group. One way to structure your data is like this: (a) Write an INPUT statement to read these data, assuming you have one or more spaces...


You have five subjects in a placebo group and five in a drug group. One way to structure your data is like this:


(a) Write an INPUT statement to read these data, assuming you have one or more spaces between the group designation and the score.


(b) Suppose you prefer to arrange your values on two lines like this:


Write an TNPUT statement for this arrangement.


(c) This time, the five scores for the placebo group are on the first line, and the five scores for the drug group are on another, like this:


Write a DATA step to read these data. Be sure the data set contains a GROUP as well as a SCORE variable.


(d) Modify the program in part (c) so that each of the 10 subjects has a subject number from 1to 10.



May 18, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here