All Questions
22 questions
3
votes
2
answers
125
views
Mixed effects models with only categorical data?
This is my first time trying to run any type of mixed effects models. I have a dataset where I was instructed to use some form of mixed effect modeling (lme4 package) to see if functional traits of my ...
7
votes
1
answer
263
views
General Linear Mixed Model: How do I fix 'Rescale variables? Model is nearly unidentifiable' error on glmer
I'm trying to fit a generalized linear mixed model (GLMM), but I'm getting a persistent error. I'm looking at the relationship between weather (continuous variables: rainfall, maxtemp, and mintemp) ...
2
votes
1
answer
299
views
Confidence interval for GLMM
I am conducting a GLMM for my bachelors thesis and I am wondering, how I can calculate and whether it is common to report confidence intervals for the models' estimates.
This is the model I fitted on ...
1
vote
2
answers
288
views
Model selection for glmer in R
I am trying to make a model for the different amount of species caught in different traps in 3 different locations on 3 height levels, along with 3 transects per location (resulting in 9 traps per ...
7
votes
2
answers
154
views
How can I get a best model? An exploratory LMM
I'd like to inquire about the linear mixed model and its application to my dataset. The dataset comprises a dependent variable (DV) denoted as V, alongside three ...
3
votes
1
answer
72
views
What to do when the residuals of a general LMM are non normal and a generlized LMM will not build, when is it just too non-normal?
I've been having no luck building a general LMM. The residuals are not normally distributed, they follow somewhat of a leptokurtic distribution and homoskedacity is also present. Using log ...
3
votes
1
answer
64
views
Model diagnosis in GLMM model of binary outcome variable
I am trying to do a research article on morbidity, which is categorical, i.e., yes or no. I also consider fixed and random effects, given that all of the fixed effect covariates are categorical. Here ...
1
vote
1
answer
91
views
How to specify a linear mixed model (LMM) for a repeated measures design with two categorical predictors and one continuous?
I would appreciate some help figuring whether a linear mixed model (LMM) is a good choice for my data.
My experiment is a 3 (neurostimulation target) X 2 (task block) repeated measures design that ...
2
votes
2
answers
442
views
Is it bad to have large random effect variance when fixed effect estimates are small?
I'm running a generalized linear mixed models (GLMM) and am comparing the Laplace approximation to the Gauss-Hermite Quadrature. I have three predictor variables (fixed effects) and each is a number ...
2
votes
0
answers
59
views
Faster version of lme4 for logistic regression 3-level multilevel model in R with 2 million data points
I'm running a 3-level multilevel model in R with binary outcomes and survival analysis with over 2 million data points. The lme4 package takes 12 hours to run one ...
1
vote
1
answer
4k
views
Reporting results from a GLMER
I have conducted a generalized linear mixed model (GLMM). For the output, see below. Normally (when reporting results from an ANOVA), I write something like this: $F(1, 116) = 6.09$, $p = .015$, $η2 = ...
0
votes
0
answers
38
views
Combining two fixed factors in one factor
I have a question about a mixed model I'm running.
The formula is the following:
DV ~ Combined * Sex * Arousal + (1 + Combined | Subject) + (1 | Item)
My question ...
2
votes
1
answer
160
views
Model failing to converge with LMER
I want to predict the relationship between the number of groups a person belongs to and their overall well-being (totalwell). However, I would like to consider the possibility that a person could ...
2
votes
1
answer
3k
views
How do I use the glmer function properly with my data in R
I have a set of around 23k rows of data. It is a set of animal movement lengths (dist), going from 0 to several thousand, with the majority being around 50 to 100. The data doesn't have a normal ...
0
votes
1
answer
261
views
Linear mixed effect model with years as random effect
I have to set up an LMM with just one independent variable and there is both monthly and yearly variation. I aim to get fixed effects coefficients (slope and intercept) for each month and year given ...
3
votes
1
answer
128
views
Converting lme4 syntax in lmm equation
I have computed a model with the lme4 package with the following syntax:
y ~ time*treatment*covariate + (1|subject)
The ...
2
votes
1
answer
172
views
Can I do multiple binomial tests seperately of each other?
in the experiment the subjects had to choose between answer A and answer B in 3 different settings. The question is, if there is a significant preference for answer A in any of the settings.
Can I ...
1
vote
1
answer
2k
views
glmer.nb does not converge when one variable is included in the model
I encountered an issue when using glmer.nb() to model my data. First I used fitdistr to tell me which distribution fits my data.
...
7
votes
1
answer
6k
views
Specifying model in glmer() - interaction terms
I am running a generalised mixed effects model, of family logistic regression, using function glmer().
I am predicting likelihood of response (0/1) and my fixed effects to explore in my final model ...
4
votes
2
answers
1k
views
Use Poisson or Linear Regression for Longitudinal Data?
I want to fit a regression with repeated measurements
Outcome:number of cigarettes smoked in the jth month (j=1,2,3)
The outcome variable DOES NOT follow a normal distribution. The outcome values ...
0
votes
0
answers
67
views
Generalized linear (logit) mixed-effects model with the random (crossed) effects drawn from a bivariate normal distribution
I am trying to implement a generalized mixed-effects model specified as:
Dependent variable $y = \log(\frac{p}{1 - p})$ where $p$ is a quantity measured for a pair of individuals ($i$ and $j$).
$E(...
3
votes
2
answers
2k
views
Regression Modelling of Linear, Exponential, and Power Curves in R [closed]
Please note this is cross-posted: https://stackoverflow.com/questions/57982488/regression-modelling-of-linear-exponential-and-power-curves-in-r
I am trying to model reaction time (and other) data ...