Multiple random effects in a linear mixed model with nlme and lme4
问题 I would like to study differences in fat between 2 visits with a linear mixed effects model. So everything would start as lme(fat~ , now... for the coefficients, I have some that will change from visit 1 to visit 2, as they are hypertension status, diabetis status, bmi, waist circunference, smoking_status etc. And other variables that won't change from visit 1 to visit 2, as they are gender or ethnicity. Note that the following variables are dummy ( hypertension status, diabetis status,