Explaining Variance Explained in Mixed Models

  Рет қаралды 13,481

Quant Psych

Quant Psych

3 жыл бұрын

Learning Objectives:
#1. Understand what variance explained means
#2. Why variance explained is more complicated for mixed models
#3. Be able to use model.comparison in flexplot
This video is part of my multivariate playlist: This is part of a playlist on multivariate statistics: • Multivariate Statistics
Here are other videos about mixed models:
• Mixed Models, Hierarch...
• Mixed Model Notation -...

Пікірлер: 26
@FilippoGianburrasca
@FilippoGianburrasca 5 ай бұрын
7:53 you ran the model at line 56 but then you commented it like it was the model at line 60, which you didn't run (if I'm not mistaken)
@firuzerehimova6355
@firuzerehimova6355 Жыл бұрын
you are a supeeer annoying but also addictive teacher thanks x
@QuantPsych
@QuantPsych 4 ай бұрын
umm....thanks?
@rachitsingh98
@rachitsingh98 2 жыл бұрын
Thanks for the nice explanation, Dustin! When I tried to follow this approach I was not shown the R-squared change values. Could this be because I was using the "glmer.nb" function and that the R2 calculation is tricky in that case?
@julitwiga
@julitwiga 2 жыл бұрын
I'm running RStudio 2021.09.2 Build 382 "Ghost Orchid" Release for Mac OS, and flexplot 0.13.3 and I get the following message when I run the baseline you mention in this video: Error in reformulate(paste0("(", vapply(findbars(f), deparse1, ""), ")"), : unused argument (env = environment(f)). Any thoughts?
@vietbio1
@vietbio1 2 жыл бұрын
Hi, I got Error "$ operator not defined for this S4 class" when I try compare.fits function. How can I fix that?
@dann4179
@dann4179 2 жыл бұрын
What does it mean the ghost.line black line in the compare.fits you are doing ?
@pranavjain9799
@pranavjain9799 Жыл бұрын
Thank you so much. Teachers often just skip over what "variance explained" mean. Also, at 1:58, I think you mean't to say "Because they are heavier"
@FilippoGianburrasca
@FilippoGianburrasca 5 ай бұрын
* fatter
@elliothoward-spink2120
@elliothoward-spink2120 Жыл бұрын
model.comparison() from the RRPP package wont let me use an lmer object - do you know why? it says 'Objects must be lm.rrpp fits' :-(
@eyadha1
@eyadha1 Жыл бұрын
Thank you very much. Can you make a video abot sample size in mixed effects models? thank you
@FilippoGianburrasca
@FilippoGianburrasca 5 ай бұрын
8:40 why it doesn't report also the improvement in the slope variance (i.e. how each cluster slope differs from the grand slope)?
@helenadamson6709
@helenadamson6709 3 жыл бұрын
Your videos are so helpful - and enjoyable - but ... " package ‘flexplot’ is not available (for R version 4.0.2)"
@QuantPsych
@QuantPsych 3 жыл бұрын
It must be installed from github: install.packages("devtools") devtools::install_github("dustinfife/flexplot")
@zimmejoc
@zimmejoc Жыл бұрын
Hi all. I'm running Flexplot version 0.19.1 so quite a bit newer than what Dustin is running here. If you DO NOT have the r squared change output, you'll need to detach the lmerTest package. At least when I detached lmerTest, I got the r squared change output.
@taranaferdous2858
@taranaferdous2858 14 күн бұрын
I do not see the felxplot in r package. Is it removed?
@QuantPsych
@QuantPsych 12 күн бұрын
No, you have to install from github.
@ajaydhungana1921
@ajaydhungana1921 2 жыл бұрын
Hi..can you make short video on how REML estimates variance components in mixed model.. i mean whats goes inside of REML. hoe does it treats the data sets..Thanks...SUbscribed your channel.
@tatjanajak
@tatjanajak 3 жыл бұрын
I can't load data(math) in R. It gives the message: object 'math' not found.
@tatjanajak
@tatjanajak 3 жыл бұрын
Sorry, i take this back. The math data is the part of the flexplot project. Just needed to install it properly.
@QuantPsych
@QuantPsych 3 жыл бұрын
Glad you figured it out!
@SYRAH5
@SYRAH5 2 жыл бұрын
Voice is not syncronized
@rachelkeszycki6838
@rachelkeszycki6838 3 жыл бұрын
Hi, when I use model.comparison for this example, it prints everything except for the $r_squared_change section. Do you know why this may be?
@QuantPsych
@QuantPsych 2 жыл бұрын
Sorry! It's fixed in the most recent iteration of flexplot. devtools::install_github("dustinfife/flexplot", ref="development")
@yutingcui2485
@yutingcui2485 2 жыл бұрын
@@QuantPsych So sorry, I got the same print in using model.comparison function, the results didn't show R2 change. How do solve it?
@dann4179
@dann4179 2 жыл бұрын
What does it mean the ghost.line black line in the compare.fits you are doing ?
Testing normality is pointless. Do this instead
22:57
Quant Psych
Рет қаралды 7 М.
A teacher captured the cutest moment at the nursery #shorts
00:33
Fabiosa Stories
Рет қаралды 55 МЛН
Stay on your way 🛤️✨
00:34
A4
Рет қаралды 26 МЛН
КАК ДУМАЕТЕ КТО ВЫЙГРАЕТ😂
00:29
МЯТНАЯ ФАНТА
Рет қаралды 10 МЛН
Mixed Model Notation - A Simple Explanation
20:42
Quant Psych
Рет қаралды 24 М.
Fixed and random effects with Tom Reader
8:09
University of Nottingham
Рет қаралды 187 М.
Using Flexplot for Mixed Models
22:08
Quant Psych
Рет қаралды 9 М.
Are nonparametric statistics useless?
13:57
Quant Psych
Рет қаралды 2,9 М.
All Learning Algorithms Explained in 14 Minutes
14:10
CinemaGuess
Рет қаралды 207 М.
(Simplified) Linear Mixed Model in R with lme()
26:17
LiquidBrain Bioinformatics
Рет қаралды 66 М.
Choosing a Statistical Test for Your IB Biology IA
9:58
Daniel M
Рет қаралды 789 М.
A teacher captured the cutest moment at the nursery #shorts
00:33
Fabiosa Stories
Рет қаралды 55 МЛН