Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1. (8 points) In a study, 37 patients were assigned to one of two weightlifting programs. In the first program (treatment 1), the number of
1. (8 points) In a study, 37 patients were assigned to one of two weightlifting programs. In the first program (treatment 1), the number of repetitions was increased as subjects became stronger. In the second program (treatment 2), the number of repetitions was fixed but the amount of weight was increased as subjects became stronger. Measures of strength were taken at baseline (day 0), and on days 2, 4, 6, B, 10, and 12. The data are in the file exercise.txt, which you can download from Blackboard. Each row of the data set contains the following nine variables: ID Treatment Y1 Y2 Y3 Y4 Y5 Y5 Y? The categorical variable Treatment is coded 1 = Program 1 (increase number of repetitions), 2 = Program 2 (increase amount of weight). 1) On a single graph, construct a time plot that displays the mean strength versus time (in days) for the two treatment groups. Describe the general characteristics of the time trends for the two exercise programs. 2) Fit a model with randomly varying intercepts and slopes (write down your model), and allow the mean values of the intercept and slope to depend on treatment group (i.e., include main effect of treatment, a linear time trend, and a treatment by linear time trend interaction as fixed effects). (a) What is the estimated variance of the random intercepts? (b) What is the estimated variance of the random slopes? (c) What is the estimated correlation between the random intercepts and slopes? ((1) Give an interpretation to the magnitude of the estimated variance of the random intercepts. For example, "approximately 95% of subjects have baseline measures of strength between a and b" (calculate the limits of the interval between a and b). (e) Give an interpretation to the magnitude of the estimated variance of the random slopes. 3) Is a model with only randomly varying intercepts defensible? Explain? 4) What are the mean intercept and slope in the two exercise programs. 5) Based on the previous analysis, interpret the effect of treatment on changes in strength. Does your analysis suggest a difference between the two groups? 6) What is the estimate of Var(Yi1 |bi)? What is the estimate of Var(Yu)? Explain the difference. 7) Using any standard linear regression procedure, obtain the ordinary least squares (01. S) estimates of the intercept and slope from the regression of strength on time (in days) for subject 24 (ID=24). That is, restrict the analysis to data on subject 24 only and estimate that subject's intercept and slope
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered 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