#lme4 — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #lme4, aggregated by home.social.
-
It always amazes me how much we can explain using mixed-effects models. #Statistics #modeling #lmer #rstats #lme4 #Bioinformatics #DataScience
-
It always amazes me how much we can explain using mixed-effects models.
#Statistics #modeling #lmer #rstats #lme4 #Bioinformatics #DataScience
-
I regard myself as relatively technologically proficient and often an early adopter. Where many within my field would do their analyses in SPSS and write their articles in Word (which is fine), I prefer a workflow with, say, #RStudio and #Quarto, write analyses and text as a single reproducible document, and collaborate with #GitHub. Still, the whole generative AI thing has always... repelled me, and even more so for any kind of work within #academia. But I don’t find it easy to explain exactly what bothers me.
An important aspect of it is the «black box» thing. Scientific work should be transparent and reproducible. Output from an #LLM is anything but.
Another thing is watching colleagues get «coding advice» from an LLM for their statistical analyses that I immediately see will not run. Where, say, #lme4 syntax and #lavaan syntax is mixed up.
Third, I’ve seen horrendous examples where students ask LLMs to find research for them, with the LLM «digging up» one fictitious article after another, with fictitious results, sometimes with actual names of actual researchers, delivered with confidence. Admittedly, that was some while ago.
2/3 -
What model #statistics should one report after using multiple #imputation and #multilevel regressions, and how are they obtained? I'm using the #mice package in #rstats, and #lme4 on each imputed dataset. When pooling results, summary() yields what I need for each model term, but nothing for the whole model. If I didn't impute but deleted listwise, I would normally report AIC, BIC, Loglik. These are all in the mipo object, for each result for each imputed dataset, but they're not pooled. I'm sure I'm missing something here. Does anyone know an example article where such results are presented neatly?
-
Hey #mixedmodel #rstats peeps - anyone know of a package or function that does for #glmmTMB what merTools::predictInterval() does for #lme4? #wantingToMoveEverythingOver
-
I have written a book draft of an introduction to #multilevel modeling, entitled #Multilevel Thinking: https://agrogan1.github.io/multilevel-thinking/. Comments, questions and corrections are appreciated, as are suggestions for a possible publisher.
While applicable to many different software programs, the book is currently centered around the use of #Stata, but I hope to extend it to use of #rstats (#lme4) and #julialang
-
A mixed effects question for you #rstats #lme4 people: Persons are organised in groups for some time. No movement between groups. We have self-ratings of a Trait, and all persons in the group rate all other persons in the same group on a Behavior (but larger n/groups than in the picture). I want to predict Behavior by Trait. My first thought is a linear mixed-effects model with two random terms: Behavior ~ Trait + (1 | Subject) + (1 | Rater) Would that work? This is new territory for me.
-
What's the standard package in Python for doing #MixedEffectsModels instead of #R? I need to use Python unfortunately but want something with #lme4 / #lmer / #brms functionality
-
Our research group is doing a seminar the coming week, and I've been asked to hold a one-hour intro to quantitative diary studies and #multilevel analyses for new #phd students unfamiliar with this way of collecting data. I'd like to highlight benefits, when it's appropriate, show an example using #rstats and #lme4, and start a discussion around how they can do this themselves in their projects.
Does anyone have suggestions for stuff to include, or clever ways to convey it? Resources?
-
Do any of you guys have a good example of application of mixed models, on a publicly available dataset? #rstats #lme4 #lmm #linearMixedModel