search for: modellsi_maineff_re

Displaying 4 results from an estimated 4 matches for "modellsi_maineff_re".

2024 May 05
2
lmer error: number of observations <= number of random effects
...en converted to long format with SA in 1 column, LSI in the other, ID in another, and age in another column. I used the code below to run my model using lmer. However, I get the following error. Please let me know how I can solve this error. Please note that I have 50% missing data in SA at age 12. modelLSI_maineff_RE <- lmer(SA ~ Index1* LSI+ (1 + Index1+LSI |ID), data = LSIDATA, control = lmerControl(optimizer ="bobyqa"), REML=TRUE) summary(modelLSI_maineff_RE) Error: number of observations (=1080) <= number of random effects (=1479) for term (1 + Index1 + LSI | ID); the random-effects paramete...
2024 May 05
2
lmer error: number of observations <= number of random effects
...en converted to long format with SA in 1 column, LSI in the other, ID in another, and age in another column. I used the code below to run my model using lmer. However, I get the following error. Please let me know how I can solve this error. Please note that I have 50% missing data in SA at age 12. modelLSI_maineff_RE <- lmer(SA ~ Index1* LSI+ (1 + Index1+LSI |ID), data = LSIDATA, control = lmerControl(optimizer ="bobyqa"), REML=TRUE) summary(modelLSI_maineff_RE) Error: number of observations (=1080) <= number of random effects (=1479) for term (1 + Index1 + LSI | ID); the random-effects paramete...
2024 May 06
0
[R-sig-ME] lmer error: number of observations <= number of random effects
...format with SA in 1 column, LSI in the other, ID in another, and age in > another column. I used the code below to run my model using lmer. However, > I get the following error. Please let me know how I can solve this error. > Please note that I have 50% missing data in SA at age 12. > modelLSI_maineff_RE <- lmer(SA ~ Index1* LSI+ (1 + Index1+LSI |ID), data = > LSIDATA, control = lmerControl(optimizer ="bobyqa"), REML=TRUE) > summary(modelLSI_maineff_RE) > Error: number of observations (=1080) <= number of random effects (=1479) > for term (1 + Index1 + LSI | ID); the ran...
2024 May 06
0
[R] [R-sig-ME] lmer error: number of observations <= number of random effects
...format with SA in 1 column, LSI in the other, ID in another, and age in > another column. I used the code below to run my model using lmer. However, > I get the following error. Please let me know how I can solve this error. > Please note that I have 50% missing data in SA at age 12. > modelLSI_maineff_RE <- lmer(SA ~ Index1* LSI+ (1 + Index1+LSI |ID), data = > LSIDATA, control = lmerControl(optimizer ="bobyqa"), REML=TRUE) > summary(modelLSI_maineff_RE) > Error: number of observations (=1080) <= number of random effects (=1479) > for term (1 + Index1 + LSI | ID); the ran...