Question: 1. Install SAS or find a version that you can use. Type your information in the following format: Name VNumber Date Be sure it is


1. Install SAS or find a version that you can use. Type your information in the following format: Name VNumber Date Be sure it is as a comment in the code. Take screenshot of the page and upload it as one of the files. 2. A researcher interested in impulsivity scores for patients in a clinical trial. The trial is conducted at 3 sites, Cleveland (C). Minnesota (M), and Raleigh (R) and the participants Sex (M or F), Age and whether or not they received the Placebo (P) or the treatment Zynipheron (Z) are all recorded. The SampleID contains all of this information and can be decoded as C100072MZ corresponds to Cleveland site, Male who recieved Zynipheron. In addition the researchers recorded Initial impulsivity score before treatment (Score1), Score one week after beginning treatment (Score2), two weeks after beginning treatment (Score3). The researcher has not entered the data into a computer and sends you the picture.. Tasks: 1. Use a DATA step with the DATALINES statement to put the data into SAS. (40 pts) 2. Create two subsets of the data one for Treatment or not. (10 pts) 3. Create two subsets of the data one for Male and one for Female. (10 pts) 4. Find basic summaries of each glucose variable for each of the five datasets. (20 pts) 5. Use PROC TTEST to determine if the treatment causes statistically different mean responses for blood glucose. Note this will involve three analyses, one at each time point. Be sure to state the hypothesis, test statistic, decision rule, and conclusion for each the analyses in the comments. Test using significance level alpha = 0.035.(40 pts) 6. Use PROC TTEST to determine gender influences the mean response for each glucose measurement. Again state the hypothesis, test statistic, decision rule and conclusion for each of the analyses in the comments. Test using alpha = 0.045. (40pts). 7. Does it appear the assumptions for the tests are met? Test the assumptions and put the results in the comments. (20 pts). Be sure to comment your code well. Only the code will be uploaded. 20 points will correspond to how well the code is commented. You must save and submit your code using this naming convention "Proj#_Firstname_Lastname.sas" (5 points). Age Score1 M10005|MZ Age Score2 27 35 Score 3 23 33 29 24 32 27 32 33 26 23 30 32 41 25 25 SampleID 28 M100055 FP 44 34 M100057MP 48 31 M100079 FZ 42 25 RIOD059 FP 21 34 Rioo064F Z 38 28 C100074 FZ 32 27 C100089 MP 26 34 M100094MP 29 31 M100097FZ 27 M100006 MZ 24 Riool II FZ 28 R100112 MZ 46 25 M100114 MZ 41 25 C100 175 FP 45 35 C100182 FP 22 31 Clou188 M Z 47 30 Cloo198M Z 42 24 C100209 MP 49 C100247FZ 26 27 R100264 FZ 26 B100279 FZ 43 24 R100345 MP 44 36 R100489 MZ 50 23 C100 FP 23 31 22 33 32 27 29 27 26 26 24 27 27 30 3) 30 25 25 33 28 25 26 22 30 26 22 25 30 21 33 24 30 27 30
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
