In the case when there's a categorical variable (unordered factor) in a linear model or lmer formula the function uses the first factor level as the ' ...
In the case when there's a categorical variable (unordered factor) in a linear model or lmer formula the function uses the first factor level as the ' ...
I use the iris dataset in R as the example below. The random intercept and slope are shown below. That means the intercept is -0.49549054 (fixed ...
I ran this code which gives this output: Questions: conf.low and high, as well predicted_hi and lo, don't give results compatible with "comp ...
Unfortunately, I had convergence (and singularity) issues when calculating my GLMM analysis models in R. When I tried it in SPSS, I got no such warnin ...
I am looping an lmer function over 20+ y variables, with 159 rows of observations. When I run an lmer function inside the loop, denominator degrees of ...
I ran this MLM model and I used "lmertest" to get the repeated measure anova table: How can I save the RM ANOVA table in APA style? I tried to ...
I am trying to run the following model: But I keep getting the error: This error is also occurring with other reproducible example (data) that I ...
I use lmer to fit my model, but also need to add a column with fitted values to the initial dataset. I assume that my data has some missing values, so ...
I know that I could use lm(a ~ (b + c + d)^2) in order to get all possible two-way interactions in a model, but I need only the interactions with a si ...
I am trying to export a table with the results of a mixed ANOVA that I ran with lme4. This is the model. I want to export the ANOVA statistics plus re ...
I am currently running a mixed effects model using lmer in which random slopes and correlated random intercepts are estimated. After fitting the model ...
I'm trying to apply the lme function to my data, but the model gives follow message: dput for data, copy from https://pastebin.com/tv3NvChR (too la ...
I finally gave up and admitted I need help. I have this data set with 3 different groups, measured at 2 time points and 49 outcome variables. I would ...
I am trying to calculate the null model as follows: null <- lmer(Binomialvariable ~ 1 + (1|ID), data=data, REML=F) and I get the following err ...
I know I can calculate models' estimates by hand, but I'm sure there's a way to get all model estimates for all categorical levels automatically. Sinc ...
I fitted two GLMM models (full models below), one with a Poisson distribution (number of eggs) and the other with binomial distribution (number of sur ...
Hello stackoverflow community! I am new to mixed-effects modelling (MEM) or mixed-models. In order to gain a better understanding of MEM, I decided to ...
I would like to investigate the variation of eye size among species and among type using linear mixed model. However, I am a little bit confuse to det ...
I am using a lmer model (https://fhernanb.github.io/libro_modelos_mixtos/pac-lme4.html) to model the price elasticity of different products in differe ...
I have an assignment in mixed effect models, but there is little to none information regarding the "lmer" output. The data used in the assignment rega ...