Checking assumptions of the linear model

Поділитися
Вставка
  • Опубліковано 18 гру 2024

КОМЕНТАРІ • 22

  • @Roberuto-san
    @Roberuto-san 2 роки тому +8

    This was the best explation over this topic I had. Thank you so much.

  • @JoshCamacho
    @JoshCamacho 7 місяців тому

    THANK YOU! I was doing some googling to try and better understand what this chart was trying to explain in R and this video is exactly what I needed.

    • @DrewTyre
      @DrewTyre  7 місяців тому +1

      Glad it was helpful!

  • @romie948
    @romie948 Рік тому +1

    Wow it's all so clear now, thank you so so much ^-^

  • @Ismailfoda-h2v
    @Ismailfoda-h2v 4 місяці тому

    Excellent explanation !!

  • @Ismailfoda-h2v
    @Ismailfoda-h2v 4 місяці тому

    excellent explanation !!

  • @diegocarmona4431
    @diegocarmona4431 Рік тому +1

    Good video my man

  • @lisabergen6444
    @lisabergen6444 Місяць тому +1

    Hello. I was wondering how to check the assumption that errors are independent. I believe that uve explained all the other assumptions checking with the (very clear explanation by the way, very helpful), except for the independence of the errors. Or have i misunderstood that? Thank you.

    • @DrewTyre
      @DrewTyre  3 дні тому

      You're correct, that assumption is not checked by the graphical methods described. In general, testing that assumption is much more difficult. In many cases it's easier to verify by the logic of the sampling process used to collect the data. In the sample data I used each data point represents a single horseshoe crab. So the independence assumption means we assume that the size of one horseshoe crab is not affected by the size of another crab in the sample. That seems reasonable as long as we've collected the crabs randomly from some large population.

  • @gk9356
    @gk9356 2 роки тому

    Great video. Thank you for the clear explanation!!!

  • @JamesSmith-kk1yc
    @JamesSmith-kk1yc 3 роки тому

    Clear and succinct presentation. This was helpful for me. Thanks!

  • @vivekd6297
    @vivekd6297 2 роки тому

    Neatly Explained! Thank you Drew :)

  • @divinaryf3703
    @divinaryf3703 3 місяці тому

    Amazing explanation (from an ecology student). :)

  • @luca7x689
    @luca7x689 3 роки тому

    Great explanation. Thank You.

  • @sariponnet4033
    @sariponnet4033 3 роки тому

    nice video!

  • @GregoryAstill44821
    @GregoryAstill44821 2 роки тому

    Edited: Thank you for this walk through. I just want to get your opinion on how you view the assumptions underlying regression methods. Compared to my field [applied econometrics], would you expect the assumptions to be violated to some degree as applied in ecological statistics? Is the hope of the applied [statistician] that the model is a good-enough approximation of the process that generated the observed data? How does one distinguish that good-enough threshold? Finally, does removing outliers to attain better measured deviations increase the risk of overfitting?

    • @DrewTyre
      @DrewTyre  2 роки тому +1

      Quote from George Box: "all models are wrong, but some of them are useful" -- wrong in the sense that the assumptions are nearly always false to some degree. I'm not familiar with much from econometrics, but what little I do know suggests that the data sets tend to be larger than in ecology, which helps a lot. Econometric data suffer from less "observation error". Distinguishing the "good enough" threshold is a matter of judgement, and you get better with experience. One way to develop a good "eye" is to simulate data and fit the model -- the data meets the assumptions exactly and you get to see what the residuals "should" look like. As far as removing outliers goes, there are many published methods for testing for outliers. Sometimes removing a data point improves the current model, sometimes not. It's another area where experience, and subject matter knowledge, makes a big difference. Depending on "how" the outlier is removed, you may get a biased estimate as well. I would say it's an area where expert statistical help is a good idea.

  • @ridwanshittu617
    @ridwanshittu617 3 роки тому

    Very helpful, thank you

  • @rubyanneolbinado95
    @rubyanneolbinado95 8 місяців тому

    Hello. I'm so confused. Why is R studio producing different results while using the same call. 😢

    • @DrewTyre
      @DrewTyre  7 місяців тому

      I'm sorry you're having difficulty with your work. There are many reasons why you might run the same code and get different results. This isn't really a great forum for fixing issues like that, unfortunately. I suggest you look for help at forum.posit.co, stackoverflow.com (search for questioned tagged 'R') or stats.stackexchange.com.

  • @Shervin0o
    @Shervin0o 3 роки тому

    Any chance of getting access to the code used to generate the plots used in this video? Thanks!

    • @DrewTyre
      @DrewTyre  3 роки тому +3

      Ugh. Reproducibility fail! I reproduced those figures over at my blog: drewtyre.rbind.io/post/checking-assumptions/ hth.