Skip to main content
Advice
0 votes
2 replies
50 views

I'm learning how to run latent class mixed models using the r lcmm package and am struggling to interpret the estimates. I've read this paper by Proust-Lima et al as best I can, but am still missing ...
JWilliman's user avatar
  • 3,973
0 votes
0 answers
26 views

I am using a gamma response in glmer() from lme4. Some rows in my data set represents averages from n_i observations, while most observations just are individual measurements. My idea was to ...
Yung Gud's user avatar
Advice
0 votes
2 replies
52 views

I am using a gamma response in glmer() from lme4. Some rows in my data set represents averages from n_i observations, while most observations just are individual measurements. My idea was to ...
Yung Gud's user avatar
0 votes
0 answers
85 views

I have a mixed model that includes three different variables: Treatment, Stimulation, and DRG, as well as a random effect with DRG nested under a group ((1|Group/DRG)). I am looking to assess how each ...
Emily Tran's user avatar
Best practices
1 vote
1 replies
99 views

I'm trying to calculate a sample size for a phychological study where the purpose of the study is to see if patients can maintain a score at baseline during 3 follow up measurements. The mean baseline ...
Ando's user avatar
  • 35
-3 votes
1 answer
42 views

I just want to ask whether the function mmec is deprecated in the latest version? because when I am trying to use it, its displaying (could not find function "mmec") message. It is ...
Muhammad Kamran's user avatar
0 votes
1 answer
30 views

I am working on a project that needs glmm.hp for a mixed effects logistic regression. I noticed that when I fit models that do not have too many terms, everything runs fine. When I put in all the ...
swihart's user avatar
  • 2,736
0 votes
1 answer
38 views

library(glmm.hp) library(partR2) library(lme4) data(biomass) mod <- lmer(Biomass~(1 | Population) + Year + Temperature + Precipitation + SpeciesDiversity, data=biomass) glmm.hp(mod)...
swihart's user avatar
  • 2,736
2 votes
1 answer
164 views

Suppose I have the following model: library(glmmTMB) Owls <- transform( Owls, Nest = reorder(Nest, NegPerChick), NCalls = SiblingNegotiation, FT = FoodTreatment ) fit_zipoisson <- ...
robertspierre's user avatar
2 votes
1 answer
100 views

I’m trying to fit a joint longitudinal–survival model using the JM package. My longitudinal part is a random-slope model with nlme::lme, and my survival part is a Cox model with survival::coxph. When ...
Javier Hernando's user avatar
1 vote
0 answers
34 views

I am trying to run a power analysis for a new experiment using simr, based on data from a similar previous experiment. The original experiment was a forced choice task (so `answer' is either 0 or 1, ...
Any's user avatar
  • 85
0 votes
0 answers
90 views

I'm trying to fit a linear mixed-effects model with lme() from the nlme package to analyze repeated measures. The model runs fine on the full dataset, but after filtering by sex, I get the following ...
Javier Hernando's user avatar
2 votes
1 answer
101 views

I want to build a nested linear mixed effect model using lmerTest package. The predictors are gender, student, school and neighborhood, and outcome is score. The gender and student will be taken for ...
Phoebe's user avatar
  • 511
0 votes
1 answer
55 views

The two variables of my basic lmer() model... lmer(SCPRE ~ LANGUAGE * ORDER + (1|PID) + (1 + |WORD), data = XP_DATA) ...have three levels each: LANGUAGE: English, Italian, Spanish ORDER: A, B, C ...
asderad's user avatar
  • 13
4 votes
1 answer
100 views

I have a dataset with 125 animals across 3 sites and 100500 observations. Both show up properly when looking at the structure of the data but when I run the model with an updated data frame (I added a ...
Leyna Stemle's user avatar

15 30 50 per page
1
2 3 4 5
93