Skip to main content
4 votes
Accepted

lme4 Inconsistency

The important part of Robert Longs answer was because group is coded uniquely across district ...
Lukas Lohse's user avatar
  • 2,852
3 votes

Validating Model Setup for Differential Abundance Analysis Using ANCOM-BC in R

Model Configuration and Random Effects: The main challenge you're facing with the (Trimester | subject) model stems from the complexity and number of parameters ...
Robert Long's user avatar
  • 64.1k
3 votes

Bootstrap confidence and prediction intervals of mixed effect model predictions

The re.form argument in mixed-effects model predictions, including those performed with bootMer, dictates how random effects are ...
Robert Long's user avatar
  • 64.1k
2 votes

Regression Modelling using lme4 in R

I would like to model the effect of temperature on the daily movement patterns of the animals using a regression model in lme4 The model: ...
Robert Long's user avatar
  • 64.1k
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
  • 64.1k
2 votes
Accepted

lmer - How to interpret correlation between Random Factors?

The strong negative correlation of the random intercept and slope means that, on average, subjects with a higher intercept have a lower slope, and vice versa. This may be an actual feature of the ...
Frans Rodenburg's user avatar
2 votes

Use "Year" as a Factor or a Continuous Variable in a GAMM with Autocorrelation for Modeling Beetle Counts?

Year as a continuous variable makes sense, if you expect a long term trend in one or the other direction. (Given climate change or other ecological changes acting over long time scales, this can be ...
PuzzledBiologist'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
  • 64.1k
1 vote
Accepted

Model comparison or beta coefficient of full model?

It's true that a comparison between two nested models is often exactly equivalent to testing the null hypothesis about a particular coefficient (e.g. $\beta_1 = 0$), in which case it is usually more ...
Ben Bolker's user avatar
  • 44.5k
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,736
1 vote

Why do dynamic panel data models with random effects yield different effects depending on the R package (plm vs lme4)?

The problem seems to be your model specification. If you have a lagged dependent as predictor in your model, it can be problematic to estimate a random effect (or fixed effect) as well. See https://...
BenP's user avatar
  • 1,838
1 vote

Testing the effect of a continious IV on DV, in order to explain group differences

In my view you overinterpret the difference between "significant" and "not significant". Note that an insignificant result does not mean that the null hypothesis is true, i.e., ...
Christian Hennig'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
  • 64.1k

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