Question: Exercise 3 . The following data sets contain BMI measurements for the baseline, 3 months, and 9 months, for the intervention and control group patients.
Exercise The following data sets contain BMI measurements for the baseline, months, and months, for the intervention and control group patients.
data int;
input ID$ GROUP$ BMIbase BMImos BMImos;
cards;
int
int
int
int
int
int
int
int
int
;
data cnt;
input ID$ GROUP$ BMIbase BMImos BMImos;
cards;
cnt
cnt
cnt
cnt
cnt
cnt
;
a Concatenate the data sets and compute the change in BMI between the baseline and months. Your output should look like this:
Obs ID GROUP BMIbase BMImos BMImos BMIchange
int
int
int
int
int
int
int
int
int
cnt
cnt
cnt
cnt
cnt
cnt
b Remove the intervention group patients whose BMI decreased by less than points and also the control group patients whose BMI increased over time. Your output should look like this:
Obs ID GROUP BMIbase BMImos BMImos
int
int
int
int
cnt
cnt
cnt
cnt
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
