Hello, dear friend, you can consult us at any time if you have any questions, add WeChat: daixieit


Stat 6225, Assignment #3

 

Overall Objectives:

As a follow-up analysis of the BMACS data, we would like to extend the linear mixed- effects models of Assignment #1 to nonparametric models for the post-HIV CD4 percent. For the purpose of illustration, we would like to simplify the analysis by only considering smoking status  (always smokers, never smokers).  The other two covariates, age at HIV infection and CD4 cell percent before HIV infection, are possibly important, but will not be considered due to the shortage of time.

Specic Analysis for Model Construction:

In the following,  you need to present the mathematical expressions of your models and assumptions, and provide justifications and possible scientific interpretations of your modeling approach. For analysis and justifications, you need to show present your estimates as well as their 95% CIs (this can be computed using the resampling bootstrap method). Similar to the two earlier assignments, the results here can be computed using the standard R mixed-effects model package, such as lme4. Please present your R code and output, and tabulate your results and write down the explanation of your findings.

1. First, without covariates, we consider some simple piece-wise linear mixed-effects mod- els of post-infection CD4 as a function of time since HIV-infection. Suppose that we pick two interior knots at t = 2, 4 years after HIV infection.  Give your final chosen model, and estimates and 95% CI’s for the fixed effects under the following three scenarios:

1.1 local constant fit, i.e.  using the basis functions B1(t) = 1[s<2] , B2(t) = 1[2_s<4] and B3(t) = 1[4_s], with random-effects for each of the basis functions;

1.2 local linear fit without assuming continuity at the knots,  i.e.   three separate straight lines  at t  <  2,  2  ≤  t  <  4  and 4  ≤  t,  with random-effects for the intercepts only;

1.3 local linear fit with continuity at the knots, i.e., using B1(t) =  1, B2(t) = t, B3(t) = (t − 2)+  and B4(t) = (t − 4)+, with random-effects for each of the basis functions.

1.4 What are your interpretations and clinical conclusions from the results obtained in #1.1, #1.2 and #1.3?

2. Extend the analysis in #1 by including smoking status as the covariate. In this case, you will consider the varying-coefficient mixed-effects models of the form

Yt(t) = β0 (t) + b0t(t) + β1 (t) Xt(t) + b1t(t) Xt(t) + c(t),

where Xt(t) is the smoking status, b0t(t) and b1t(t) are subject-specific deviation curves and c(t) is the independent measurement error.  Give your final chosen model, and estimates and 95% CI’s for the fixed effects under the following three scenarios:


 

2.1 local constant fit using the basis functions in #1.1 for β0 (t), b0t(t), β 1 (t) and b1t(t);

2.2 local linear fit without assuming continuity at the knots for β0 (t), b0t(t), β 1 (t) and b1t(t), i.e., using the basis functions as in #1.2;

2.3 local linear fit with continuity at the knots for β0 (t), b0t(t), β 1 (t) and b1t(t), i.e., using the basis functions as in #1.3.

2.4 What are your interpretations and clinical conclusions about the effects of smok- ing status obtained in #2.1, #2.2 and #2.3?