Using Flexplot for Mixed Models

  Рет қаралды 10,092

Quant Psych

Quant Psych

Күн бұрын

Пікірлер: 36
@maxduvall9055
@maxduvall9055 Жыл бұрын
1:26 "BAM! You haven't seen this", he says while covering up the estimates we cannot see... Good one, Dr. Fife, you got us.
@allisonholevoet1328
@allisonholevoet1328 Жыл бұрын
Wow. Thank you for this. While the rest of the team is out eating dinner, I'm in bed early watching your videos instead of Netflix. :) Keep up the great content.
@QuantPsych
@QuantPsych 7 ай бұрын
I'm better than netflix!?!?!?! That's high praise :)
@TheBjjninja
@TheBjjninja Жыл бұрын
I love flexplot! Nice, Dr. Dustin.
@Rockmonanov
@Rockmonanov Жыл бұрын
Not sure if this means anything to you: "Error in model$model : $ operator not defined for this S4 class", I just keep getting that anytime I use compare.fits for anything, everything else works though.
@vornamenachname7650
@vornamenachname7650 Жыл бұрын
Hi I also had the problem. I think I found the reason: you cannot library/require lmerTest when using flexplot or it will interfere somehow
@Rockmonanov
@Rockmonanov Жыл бұрын
@@vornamenachname7650 great! I thought it might have something to do with one package interfering with another. Thanks!
@ghaiszriki7912
@ghaiszriki7912 Жыл бұрын
Hi (: Thaks a million man, I am almost no more scared by mixed models
@hm.91
@hm.91 7 ай бұрын
Best mixed models video everrrr
@QuantPsych
@QuantPsych 7 ай бұрын
Glad you think so!
@Supertajt
@Supertajt 2 жыл бұрын
Thank you so much for your videos! Can you do a video where you explain how you would report an LMM in a table for publication?
@QuantPsych
@QuantPsych 2 жыл бұрын
Good idea!
@daitoc08
@daitoc08 2 жыл бұрын
Thanks very much!
@高谷歌-s9s
@高谷歌-s9s 2 жыл бұрын
Hi, I'm dong a similar analysis. My model is: model
@QuantPsych
@QuantPsych 2 жыл бұрын
Please report on github.com/dustinfife/flexplot
@AlceaRose
@AlceaRose Жыл бұрын
I have the same problem; did you manage to fix it somehow ?
@amberjones6306
@amberjones6306 Ай бұрын
@@QuantPsych I am still having this problem is there any update?
@amberjones6306
@amberjones6306 Ай бұрын
model=lmer(darkness~ anger+ emotional_bonds + + (anger + emotional_bonds|jedi_id), + data=d) Warning message: In checkConv(attr(opt, "derivs"), opt$par, ctrl = control$checkConv, : Model failed to converge with max|grad| = 0.0248317 (tol = 0.002, component 1) > estimates(model) Error in str2lang(x) : :1:15: unexpected ')' 1: darkness~1+(1|)
@brazilfootball
@brazilfootball 2 жыл бұрын
Does Flexplot not work well with models built from the glmmTMB package? I get this error: Error in if (n1 < nrow(data) | n2 < nrow(data)) { : argument is of length zero
@QuantPsych
@QuantPsych 2 жыл бұрын
Probably not. I wish flexplot automatically worked with all types of models, but unfortunately, there's too much flexibility in how others can store model information. You can add it as a feature request on github: github.com/dustinfife/flexplot
@jessewallace-webb4475
@jessewallace-webb4475 Жыл бұрын
Thank you for creating this amazing feature! Is it going to be available in jamovi at some point too?
@reddotmusic6251
@reddotmusic6251 Жыл бұрын
Thanks for these videos, they really help me a lot! I have one question (it's not the main topic of this video but I've not seen a good explanation for it also in other videos): why does it make sense to model sth as a fixed AND random effect ? Would appreciate an answer:). Keep up the great work, big fan!
@evanvaldes610
@evanvaldes610 Жыл бұрын
What would you recommend If I am running into convergence issues with a specific model, and I reduce the model to the point where it does converge, but model comparisons show that the more complex albeit convergence issues model is the better explaining/fitting model. How do I go about understanding that inconsistency/is it common? This is the warning: Warning: Model failed to converge with max|grad| = 0.00348609 (tol = 0.002, component 1)
@TheBjjninja
@TheBjjninja Жыл бұрын
I'd probably use some statistical tests on the residuals to make a decision and weigh what the purpose of the model is used for also. If the residuals look better on a simpler model and I'm using the model for inference purpose and the AIC metrics look only very slightly better on a more complicated model, then I'd probably use the simpler model. If you are the using the model to make predictions, then of course use the complicated model.
@ryanoleary2928
@ryanoleary2928 Жыл бұрын
Thank you for all your videos! I was wondering, could you cover how to do linear contrasts within a mixed model?
@ryanoleary2928
@ryanoleary2928 2 жыл бұрын
This is great. Does flex plot work for bayesian models?
@QuantPsych
@QuantPsych 2 жыл бұрын
It might, but hasn't been fully tested.
@MegaSesamStrasse
@MegaSesamStrasse 2 жыл бұрын
Is there also a way to plot the residuals of the random effects with flexplot? As far as I know, these should be also normaly distributed.
@QuantPsych
@QuantPsych 2 жыл бұрын
Yes. visualize(model, plot="residuals")
@YH-tx5qz
@YH-tx5qz 2 жыл бұрын
Would you do mean-centering before running mixed model analysis?
@QuantPsych
@QuantPsych 2 жыл бұрын
It's often a good idea. It depends on how you want to interpret the parameters.
@gonzalodiazamor5494
@gonzalodiazamor5494 2 жыл бұрын
I am not able to download and load the library of flexplots :S If someone has had the same issue please contact me. Thanks
@QuantPsych
@QuantPsych 2 жыл бұрын
You can post on issue on github (github.com/dustinfife/flexplot). Be sure to state what kind of error message you're receiving.
@gonzalodiazamor5494
@gonzalodiazamor5494 2 жыл бұрын
@@QuantPsych Thank you very much! Now is working, it was my fault sorry! btw, great work!! really cool and interesting. Thank you very much!!
@dagmaraskova2458
@dagmaraskova2458 Жыл бұрын
I luv u :D
Using lme4 in R for Mixed Models
15:06
Quant Psych
Рет қаралды 2,5 М.
Mixed Model Analysis: Real Example
18:21
Quant Psych
Рет қаралды 9 М.
Wait for it 😂
00:19
ILYA BORZOV
Рет қаралды 10 МЛН
Elza love to eat chiken🍗⚡ #dog #pets
00:17
ElzaDog
Рет қаралды 17 МЛН
Fake watermelon by Secret Vlog
00:16
Secret Vlog
Рет қаралды 36 МЛН
When u fight over the armrest
00:41
Adam W
Рет қаралды 4,5 МЛН
Understanding Generalized Linear Models (Logistic, Poisson, etc.)
20:19
Applied Multilevel Models (Nov. 2022) Part 1
1:00:17
UMISR
Рет қаралды 2,8 М.
What statistics teachers get wrong!
28:48
Quant Psych
Рет қаралды 10 М.
THIS is the foundation of statistics!
16:38
Quant Psych
Рет қаралды 5 М.
It's lonely being a statistician :(
19:53
Quant Psych
Рет қаралды 2,7 М.
This Single Rule Underpins All Of Physics
32:44
Veritasium
Рет қаралды 3,9 МЛН
Mixed Effects Models for Longitudinal Data
17:58
Keith Lohse
Рет қаралды 16 М.
(Simplified) Linear Mixed Model in R with lme()
26:17
LiquidBrain Bioinformatics
Рет қаралды 72 М.
All Learning Algorithms Explained in 14 Minutes
14:10
CinemaGuess
Рет қаралды 264 М.
Wait for it 😂
00:19
ILYA BORZOV
Рет қаралды 10 МЛН