Question: Question on statistics and probability Consider the data and print statements, DATA PROB3; DO GROUP = 'A' , B' , C' , D' ; DO

Question on statistics and probability

Question on statistics and probability Consider the data and print statements, DATA

Consider the data and print statements, DATA PROB3; DO GROUP = 'A' , "B' , "C' , "D' ; DO I=1 TO 3; X= (GROUP=' A' ) + 5* (GROUP EQ 'D' ) ; Y=ROUND (10 . 01+2*X) ; Z=X-Y+5; OUTPUT ; END; END ; DROP I; RUN ; PROC PRINT DATA=PROB3; RUN ; a. Provide the SAS output of the above print statement. b. In the above data statement replace X,Y, by: X= (GROUP=' A' ) + 5* (GROUP EQ 'D' ) + RANNOR(7) ; Y=ROUND (10 . 01+2*X) +RANNOR (99) ; Write down the SAS code to perform the two sample t-test for Ho : UD(x) = uc(x) and Ho : HD(y) = uc(y) using WHERE

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 Mathematics Questions!