Displaying 1 result from an estimated 1 matches for "data_jm".
Did you mean:
data_ac
2010 Mar 15
3
the problem about sample size
..."sample size".
The warning is:
Error in jointModel(fitLME, fitSURV_death, timeVar = "time", method = "piecewise-PH-GH") :
sample sizes in the longitudinal and event processes differ.
According to the suggestion of "missing data",I use the same data set(data_JM) without any missing value.
fitLME <- lme(CD4 ~ time + time:Group_DR, random = ~time | id,data = data_JM);
fitSURV_death <- coxph(Surv(time_fail, death) ~ (Group_DR), data = data_JM, x = TRUE);
summary(fitLME);
Linear mixed-effects model fit by REML
Data: data_JM
AIC BIC...