Skip to main content
2 votes

How can I compute a repeated measurement ANOVA with a mixed model?

Here we have an an experiment involving 20 subjects, each measured under two factors: Factor A (7 levels) and Factor B (3 levels). This results in 21 measurements per subject. Model Specification The ...
Robert Long's user avatar
2 votes

Why is correlation obtained from nlme different from Pearson correlation?

The correlation values provided by the lme function for your mixed model represent the correlations between the estimated coefficients (slopes) of the model. These ...
Robert Long's user avatar
2 votes

Advice on mixed effect model formula for R's lme4

The approach to using mixed effects modeling with zipcode as a grouping variable for random intercepts to account for the nested structure of the data is ...
Robert Long's user avatar
1 vote
Accepted

Multilevel Modeling in Linear Mixed Models versus Generalized Linear Mixed Models

When dealing with mixed models or multilevel models for different types of outcome variables, the choice between Linear Mixed Models (LMM) and Generalised Linear Mixed Models (GLMM) depends ...
Robert Long's user avatar
1 vote

Issue with REML likelihood--logdet terms cancel

The issue is that the second term does not reduce to $\sum_{i=1}^m \log\det(X^T(\sigma^2I + \gamma ZZ^T)X$ as we can't separate the logdet because of the $X^T$ and $X$ sandwiching. It should be $\log\...
Alex's user avatar
  • 210
1 vote

lmer - how to report results and group differences?

This seems to be more of a programming question. You can specify the desired values of the (continuous) covariate: ...
Roland's user avatar
  • 6,721
1 vote

Repeated measures within and between conditions

Given the interest in examining the effects of conditions on EEG responses across multiple channels and time segments, we can consider both multivariable and multivariate approaches. For the avoidance ...
Robert Long's user avatar
1 vote

False convergence warning message in lmer

Answering to help reduce the amount of old unanswered questions. I think there has to be some autocorrelation between each 30 seconds unit of analyis and need to include it in my model but do not ...
Robert Long's user avatar
1 vote

Formulating a mixed model with nested fixed and random effects

Answering this to help reduce the amount of unanswered questions. If I understand correctly, Batch and Day are crossed factors. ...
Robert Long's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible