Question
can you please help me with this using R ? Was the average change in weight among those given Drug A significantly different from the
can you please help me with this using R ?
Was the average change in weight among those given Drug A significantly different from the average change in weight among those given Drug B, based on these data? Report your reject / do not reject decision and the p-value on which it was based.
subjID | age | initWeight | intervention | mo6Weight |
101 | 23 | 75 | Control | 87 |
102 | 22 | 94 | DrugB | 69 |
103 | 23 | 105 | Control | 67 |
104 | 25 | 89 | Control | 83 |
105 | 24 | 64 | DrugA | 81 |
106 | 24 | 71 | Control | 71 |
107 | 23 | 69 | Control | 82 |
108 | 26 | 84 | DrugB | 59 |
109 | 25 | 95 | DrugA | 75 |
110 | 22 | 76 | DrugA | 80 |
111 | 20 | 86 | DrugB | 58 |
112 | 23 | 75 | DrugA | 76 |
113 | 20 | 75 | DrugB | 80 |
114 | 22 | 68 | Control | 67 |
115 | 21 | 75 | DrugA | 73 |
116 | 22 | 83 | Control | 82 |
117 | 22 | 89 | DrugB | 104 |
118 | 25 | 93 | DrugA | 65 |
119 | 24 | 92 | DrugB | 69 |
120 | 26 | 75 | DrugA | 86 |
121 | 24 | 96 | DrugB | 71 |
122 | 25 | 91 | DrugB | 69 |
123 | 25 | 71 | DrugA | 76 |
124 | 25 | 99 | DrugA | 59 |
125 | 25 | 73 | Control | 71 |
126 | 22 | 72 | Control | 82 |
127 | 24 | 80 | DrugA | 75 |
128 | 20 | 81 | DrugA | 64 |
129 | 23 | 90 | DrugA | 77 |
130 | 24 | 72 | Control | 81 |
131 | 21 | 92 | Control | 63 |
132 | 24 | 63 | DrugB | 81 |
133 | 24 | 75 | Control | 78 |
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started