Explaining linear regression

Поделиться
HTML-код
  • Опубликовано: 10 окт 2024
  • Explaining basic interpretations to linear regression and how to do a hypothesis test with it
    Stay updated with the channel and some stuff I make!
    👉 verynormal.sub...
    👉 very-normal.se...
    To try Shortform for a free trial, visit shortform.com/..., and you'll receive an additional 20% discounted annual subscription.

Комментарии • 22

  • @berjonah110
    @berjonah110 4 дня назад +12

    The name "Least Squares Regression" comes from the fact that the OLS estimators are the solution to a minimization problem. The objective for this minimization is the sum of the squared error. So minimizing this sum gives the smallest (least) squared error.
    In fact most of the more advanced ML models are based on an extension of linear regression. Most of these don't have an analytic solution like ordinary least squares, but we can solve for the parameters using gradient descent (or variations).

  • @Unaimend
    @Unaimend 4 дня назад +11

    💙. Thanks again for your nice videos :) Will you also make one about multiple linear regression? I am particular interested in the necessary preconditions for those models, like, for example homorscedacity.
    EDIT: I should probably wait with those questions until I finish the video

    • @memelord4639
      @memelord4639 4 дня назад +4

      you are in luck, i found the video it’s the one you clicked on!

    • @Unaimend
      @Unaimend 4 дня назад +2

      @@memelord4639 Indeeds, a lucky day 😅

  • @Mystic2122
    @Mystic2122 3 дня назад +4

    GOAT yt channel

  • @AtticusRex-t6g
    @AtticusRex-t6g 3 дня назад +1

    This is a great teaching aid for linear regression. One thing though: in your formulation of the normal equations the X is transposed; it should be (X X^T)^{-1} X Y if you're solving X^T \beta = Y.

  • @johannbauer2863
    @johannbauer2863 4 дня назад +9

    7:24 every other relation, that's monotonically increasing: am I a joke to you?

  • @KinomaroMakhosini
    @KinomaroMakhosini 4 дня назад

    Very fun stuff, next Extra sum of squares and coefficients of partial determination?

  • @andrej5027
    @andrej5027 3 дня назад

    Thanks so much !!!!

  • @Eloss69
    @Eloss69 4 дня назад +1

    Reading about the bases of least squares lately, trying to understand what motivates some researchers to modeling the noise with Gaussian Processes (context of Bayesian Regression). Does anyone has any insight?
    Nice video coming at the right time !

  • @briskioO
    @briskioO 3 дня назад

    Nice lil intro to regression. Got hit with hat matrices in my linear regression class last week and I nearly perished.

  • @Matthew-eb3di
    @Matthew-eb3di 4 дня назад

    MY FAVORITE STATS CHANNEL RELEASED A VIDEO ON MY FAVORITE TECHNIQUE

  • @culturemanoftheages
    @culturemanoftheages 3 дня назад +1

    10:31 I think you missed a subscript "i" on the X

  • @tangyzhangy
    @tangyzhangy 4 дня назад

    Cool video

  • @drdca8263
    @drdca8263 4 дня назад +1

    7:24 : that something is strictly monotonic doesn’t imply that it is linear though…
    Edit: oh, someone else already commented this

    • @very-normal
      @very-normal  4 дня назад +2

      ngl monotonic was not what I had in mind when I said that line, but I can see why people would think that, my b

    • @kventinho
      @kventinho 2 дня назад

      can you explain? does this mean the word "linear" doesn't refer to that at all?

    • @very-normal
      @very-normal  2 дня назад +1

      I didn’t realize that “the more the merrier” could technically also imply other monotonic increasing relationships. To be more correct, I should have said something along the lines of “another step produces the same change in the outcome”

    • @victorh2056
      @victorh2056 День назад +1

      ​@@kventinho
      Monotonic functions are those which only ever go one direction (up or down in 2D) or go parallel to the horizontal axis.
      So, you can imagine a regular constant function is monotonic, a linear function as well, but other functions also display such properties like e^x, log(x), x^2 (0;+ inf), sqrt(x) and so on.
      They were just pointing that out as these functions could better describe a monotonic increase depending on the data at hand.

  • @EkShunya
    @EkShunya 4 дня назад

    what tools u use to make these videos , they are really pretty?

    • @very-normal
      @very-normal  4 дня назад +5

      Thanks! Final Cut Pro for editing, Figma for design, manim for math notation and plots. These cover pretty much 95% of my workflow

  • @vinicius_martinelli
    @vinicius_martinelli 4 дня назад