Explaining Variance Explained in Mixed Models

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

  • @firuzerehimova6355
    @firuzerehimova6355 Жыл бұрын

    you are a supeeer annoying but also addictive teacher thanks x

  • @QuantPsych

    @QuantPsych

    4 ай бұрын

    umm....thanks?

  • @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

  • @julitwiga
    @julitwiga2 жыл бұрын

    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?

  • @rachitsingh98
    @rachitsingh982 жыл бұрын

    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?

  • @vietbio1
    @vietbio12 жыл бұрын

    Hi, I got Error "$ operator not defined for this S4 class" when I try compare.fits function. How can I fix that?

  • @dann4179
    @dann41792 жыл бұрын

    What does it mean the ghost.line black line in the compare.fits you are doing ?

  • @FilippoGianburrasca
    @FilippoGianburrasca5 ай бұрын

    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)

  • @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
    @FilippoGianburrasca5 ай бұрын

    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)?

  • @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
    @taranaferdous285810 күн бұрын

    I do not see the felxplot in r package. Is it removed?

  • @QuantPsych

    @QuantPsych

    9 күн бұрын

    No, you have to install from github.

  • @helenadamson6709
    @helenadamson67093 жыл бұрын

    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")

  • @ajaydhungana1921
    @ajaydhungana19212 жыл бұрын

    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
    @tatjanajak3 жыл бұрын

    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
    @SYRAH52 жыл бұрын

    Voice is not syncronized

  • @rachelkeszycki6838
    @rachelkeszycki68383 жыл бұрын

    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
    @dann41792 жыл бұрын

    What does it mean the ghost.line black line in the compare.fits you are doing ?