All Questions
13 questions with no upvoted or accepted answers
2
votes
0
answers
24
views
How to construct GLMM with differing random effect variance structure by group?
I have a longitudinal dataset with a normally distributed outcome variable, a normally distributed predictor variable, and a binary grouping variable. I am trying to construct a GLMM with differing ...
2
votes
0
answers
162
views
How to estimate variance for identical & fraternal twins with a mixed model
I am using the twins data from OpenMx and am curious to estimate the empirical covariance structure for BMI differences in monozygous and dizygous twins:
...
2
votes
0
answers
295
views
Using lme4 and glmer (logit) to estimate variances of random intercepts
Our data set consists of a matrix with a few thousand respondents (rows), many items of ten surveys (columns), and all 0’s and 1’s for a certain survey answering behaviour (either responding ‘I don’t ...
2
votes
0
answers
452
views
Multiple comparisons for variance structure in R lme fit
How can I compare variances for different levels of a factor in a mixed effect model?
I'm fitting a mixed effects model (in R using the ...
1
vote
1
answer
178
views
Estimation of random intercept and random slope for singleton cluster in multilevel modeling
I am performing some multilevel analyses with the R package lme4.
The study design is longitudinal with the hierachical structure of observations (L1) nested into study participants (L2). I have 215 ...
1
vote
0
answers
26
views
Can slope variance be greater than ICC in lmer results
My question is can variance of the random slope be larger than random intercept variance? And if so, what would it mean in terms of group level variation?
1
vote
0
answers
85
views
Is regression towards the mean happening when we use a control group?
I have a subset of 40000 participants in my study. From those I would like to study those with higher weight longitudinally, and compare them with those with healthy weight.
I observe, that those with ...
1
vote
1
answer
112
views
Run mixed effect model where one fixed effects shows no variation within the random factor levels
I want to run a mixed effect model to test the effect of temperature and SLA on Herbivory. In my case, the random factor is plot since my samples are nested within ...
1
vote
0
answers
288
views
Specify variance structure TOEP(1) in lmer for mixed model
How can I do the following job in R? More specific: how can I define type=toep(1) in R?
...
0
votes
0
answers
29
views
Why does the ICC differ when comparing multilevel models with using log transformations of the outcome variable in R using lme4?
I'm currently working on a multilevel modeling project in R utilizing the lme4 package. The primary aim of the research is to assess the relative importance of between-family and within-family ...
0
votes
0
answers
26
views
Linear mixed models unequeal group variances and model fit
I have data from two groups (divisions) of participants that consider attention lapses. The question is, first, do the number of attention lapses change over the two testings, and second, do the ...
0
votes
0
answers
252
views
How does lme4 calculate residual variance for an LMM?
How does the lmer() function calculate residual variance for an LMM? If I code a model and then try to manually calculate residuals, the variance of the manually ...
0
votes
0
answers
53
views
difference between estmated and empirica variance matrix of lmer random effects
Does anyone know why when I perform a lmer analysis (here using the builtin sleepstudy dataset) the estimated variance matrix of the random effects from VarCorr are so different from the variance of ...