Regression: Crash Course Statistics #32

Поделиться
HTML-код
  • Опубликовано: 2 окт 2018
  • Today we're going to introduce one of the most flexible statistical tools - the General Linear Model (or GLM). GLMs allow us to create many different models to help describe the world - you see them a lot in science, economics, and politics. Today we're going to build a hypothetical model to look at the relationship between likes and comments on a trending RUclips video using the Regression Model. We'll be introducing other popular models over the next few episodes.
    Crash Course is on Patreon! You can support us directly by signing up at / crashcourse
    Thanks to the following Patrons for their generous monthly contributions that help keep Crash Course free for everyone forever:
    Mark Brouwer, Kenneth F Penttinen, Trevin Beattie, Satya Ridhima Parvathaneni, Erika & Alexa Saur, Glenn Elliott, Justin Zingsheim, Jessica Wode, Eric Prestemon, Kathrin Benoit, Tom Trval, Jason Saslow, Nathan Taylor, Brian Thomas Gossett, Khaled El Shalakany, Indika Siriwardena, SR Foxley, Sam Ferguson, Yasenia Cruz, Eric Koslow, Caleb Weeks, D.A. Noe, Shawn Arnold, Malcolm Callis, Advait Shinde, William McGraw, Andrei Krishkevich, Rachel Bright, Mayumi Maeda, Kathy & Tim Philip, Jirat, Ian Dundore
    --
    Want to find Crash Course elsewhere on the internet?
    Facebook - / youtubecrashcourse
    Twitter - / thecrashcourse
    Tumblr - / thecrashcourse
    Support Crash Course on Patreon: / crashcourse
    CC Kids: / crashcoursekids

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

  • @justynaizabela2495
    @justynaizabela2495 5 лет назад +564

    This series is amazing! I have majored in Statistics and still this series explains everything much better than college classes.

    • @panosshady6168
      @panosshady6168 4 года назад +66

      You majored in statistics? Wow, and here I thought that I hated myself.

  • @Waltham1892
    @Waltham1892 5 лет назад +766

    BRAIN HURT!!!

    • @MasterofPlay7
      @MasterofPlay7 5 лет назад +13

      nah actually I find it very fun, Z test T test F test and anova all has to do with std and variance which has to do with the mean

    • @nikkid4890
      @nikkid4890 4 года назад +6

      @@MasterofPlay7 I also LOVE stats. And this from a person that sold my math text books for toffee at school! Once you get it, it's so much fun!

    • @MasterofPlay7
      @MasterofPlay7 4 года назад +8

      ​@@nikkid4890 yes we human are too dumb, most statistical analysis have to do with a straight line (most models are based on y=ax+b) cuz we can only perceive the relationship through a straight line

  • @NN_2000
    @NN_2000 5 лет назад +170

    Only crash course can make statistics interesting. Thank you for making quality educational videos for free! :D

  • @sarlut
    @sarlut 4 года назад +57

    I swear this series is the reason I am actually doing well in statistics! Wish I had this in my BSC (MSc Student)

  • @klaras5703
    @klaras5703 5 лет назад +148

    the best thing about the video is how the pumpkin and the transformer slowly eat all the candy worms that were on the table during the video

  • @theidiotboy100
    @theidiotboy100 Год назад +8

    I think you guys are the reason people study or stay in school. net positive for humanity. thanks for helping people.

  • @benbernanke4037
    @benbernanke4037 4 года назад +15

    These graphical presentations are so good, especially at 8:30 the didferent sums of square types

  • @RaulPelcastreRealEstate
    @RaulPelcastreRealEstate 4 года назад +42

    She speaks a little too fast for me but clearly explained. I like it.

  • @raposo_debora
    @raposo_debora 4 года назад +59

    This course is sooo good. I'm using the Covid-19 Quaratine to educate myself in Statistics and this Crash Course was THE finding. Thanks a lot!

  • @williamkee6578
    @williamkee6578 4 года назад +3

    This video is absolutely helpful! One single video and I understand the contents from 2 hours class.

  • @alfredgustafsson4708
    @alfredgustafsson4708 4 года назад +30

    This is great, especially the explaination of degrees of freedom. I never really understood it through five years of Economics so thank you.

  • @dondacurator
    @dondacurator 5 лет назад +4

    This right here is the most entertaining and intriguing statistical video Ive ever watched.. it actually made stats fun, thanks for incorporating art and creativity to this piece ,,instead of old and boring numbers presented in a monotonic go to sleep now voice

  • @mayankjacky
    @mayankjacky 7 месяцев назад +1

    It was a very comprehensive, concise and crisp presentation on a complex topic. Kudos to the entire team for an excellent effort.

  • @stankalfon2170
    @stankalfon2170 5 лет назад +5

    Thank you this helped me so much! Will you do a video on multiple regression and econometrics in general? Keep up the good work you guys rock!

  • @TaroQuispe
    @TaroQuispe 4 года назад +2

    You guys rock the house, super clear, super helpful!

  • @ravindukarunarathne507
    @ravindukarunarathne507 4 года назад +1

    So nice, can keep watching for hours.. Well done

  • @Ureallydontknow
    @Ureallydontknow 5 лет назад +2

    this video is top production quality and expert instruction. thank you so much.

  • @Maria-hd4hk
    @Maria-hd4hk 5 лет назад +7

    First minute and a half and i've actually learnt so much

  • @nikkid4890
    @nikkid4890 4 года назад +3

    Wow! You are brilliant. I'm post-grad and needed to refresh. Brilliant

  • @kanitoneko
    @kanitoneko 5 лет назад +264

    How can she keep speaking without inhaling!?

  • @seltsamerjunge3642
    @seltsamerjunge3642 5 лет назад +5

    Interesting. I just factchecked the theory about the comment-to-likes ratio, and it met pretty well: At the time I've written this, there were 41 comments and 391 likes, which is just the value "4000/100" shown in the diagram... As it turned out, this time it's above the regression line, but with an increase in the y-value by less than 35%

  • @Malik-jt8hi
    @Malik-jt8hi 5 лет назад +1

    Thank god for crash course lol, godsend channel to start to learn a topic when I gotta teach my brother about a topic I’ve never learned myself

  • @florentinfrank3671
    @florentinfrank3671 4 года назад +1

    Well done! thanks so much for all the efforts! now i understand better!

  • @OlleLindestad
    @OlleLindestad 5 лет назад +80

    NOTE: This video uses the abbreviation "GLM" incorrectly (or at least very misleadingly) throughout.
    The general linear model is NOT usually what is meant by "GLM". Instead, GLM stands for generaLIZED linear model, which is a special kind of linear model that (among other things) allows for a response variable that is not normally distributed. (Yes, this is extremely confusing. Don't even get me started on the word "linear", which doesn't even mean "straight lines" in this context.)
    Bottom line: substitute simply "linear model" whenever Adrienne says "GLM" in this video, and you'll be fine.

  • @TilleTheo
    @TilleTheo 4 года назад +11

    It was a bit too fast, but very helpfull still! Will watch it a few more times.

  • @greensteve9307
    @greensteve9307 5 лет назад +2

    So much clearer than my uni stats lecture!

  • @expansivegymnast1020
    @expansivegymnast1020 11 месяцев назад

    This series is pointless... until you actually need this stuff for class and then you're thankful to God that it exists. Thanks for everything y'all do!

  • @navroopgill7594
    @navroopgill7594 4 года назад

    Amazing . Thanks for the info shot!

  • @mw79863s
    @mw79863s 5 лет назад +30

    Some unnecessarily confusing parts:
    It would have been helpful to explain that our zero-coefficient line IS the line y='y hat'.
    The point referred to at 7:05 is not highlighted or pointed out (and as it sits far above its distance for SSR it isn't instantly recognizable as connected).
    Positioning of the equations at 8:50 gives strong and erroneous implication that each refers specifically to the diagram above.
    The equation given for F-statistic at 8:58 is then instantly revised as not being correct.
    The correct f-statistic equation is only on screen at 10:07 for a fraction of the time needed to read it - let alone fully digest it.

    • @BastiPROTON
      @BastiPROTON 4 года назад +1

      Exactly! I was so confused the whole time, a lot of it makes little sense if you see this stuff for the first time.

    • @jaceychang5785
      @jaceychang5785 4 года назад

      I think the F-statistic formulas are wrong at both 8:58 and 10:07 ! At 10:07 the denominator and numerator should be reversed!

  • @danieldelacruz7642
    @danieldelacruz7642 5 лет назад +175

    Who needs a regression calculation when you have "add trendline" in Excel?

    • @Tntpker
      @Tntpker 5 лет назад +30

      who still uses excel in 2018 lol. keep up and learn python noob

    • @avinoamr
      @avinoamr 5 лет назад +3

      The folks that want to work at Microsoft or any of it's competitors

    • @alanle18
      @alanle18 5 лет назад +97

      Tntpker excel will forever be used, it has a great balance between learning curve and power. You must feel good about yourself putting strangers down over the internet.

    • @OlleLindestad
      @OlleLindestad 5 лет назад +20

      I mean, that's what "add trendline" does. It does a regression on your data. :D

    • @nytmare3448
      @nytmare3448 5 лет назад

      But a B-spline looks sooo much nicer!!!

  • @dianarinker8429
    @dianarinker8429 Год назад

    what a great explanation!! thank you so much!

  • @dilnoza2168
    @dilnoza2168 5 лет назад

    I Love this channel:) this is very helpful channel

  • @MasterofPlay7
    @MasterofPlay7 5 лет назад

    Wow you opened my brains and I found it statistic is so fun!

  • @HinamiMel
    @HinamiMel Год назад

    every night brings a dream but the day, relentlessly, keeps me awakeee

  • @corinneblair8795
    @corinneblair8795 2 месяца назад

    So good! So helpful! Thank You!!

  • @kanoutema
    @kanoutema 4 года назад

    Bless you guys !

  • @breakinchico
    @breakinchico 4 года назад

    This is Incredible

  • @neilcidial-masrysandagesid7796
    @neilcidial-masrysandagesid7796 5 лет назад

    Insightful. Will read watch.

  • @EconomicalUnicorn
    @EconomicalUnicorn 4 года назад +6

    Did anyone notice how as the video goes on, there are less and less lollies (sweets) near the pumpkin lmao

  • @ramanshaw8922
    @ramanshaw8922 5 лет назад

    good work ..it is really helping.

  • @ZzDC2
    @ZzDC2 5 лет назад +1

    new video yay!

  • @jigarpatel2792
    @jigarpatel2792 5 лет назад

    Great explanation

  • @jimivie
    @jimivie 4 года назад

    100/100 - great video

  • @samsonthelionhearted6873
    @samsonthelionhearted6873 4 года назад +109

    You’re going so fast you lost me a bit.

  • @kcthewanderer
    @kcthewanderer 5 лет назад

    Ooo this is starting to get good...

  • @adamacosta5019
    @adamacosta5019 4 года назад

    So lost I want to cry, but seeing @AstroKatie was a nice pick me up

  • @carlosfloresventuri6452
    @carlosfloresventuri6452 5 лет назад +1

    Thank you so much, this helped me a lot! :D

  • @SaraAB98
    @SaraAB98 3 года назад

    Thank you very much ❤

  • @emilydack2074
    @emilydack2074 5 лет назад

    Bless this video

  • @caioraimundo1609
    @caioraimundo1609 4 года назад

    AMAZING

  • @saivishnutulugu5014
    @saivishnutulugu5014 5 лет назад +3

    Can you go over nonlinear data models(exponential, power, etc) and also Simpson's paradox in the future?

  • @viktorianas
    @viktorianas 4 года назад

    One of the best episodes of the series. Mustaches - 9:22

  • @brodyreingold5992
    @brodyreingold5992 Год назад

    great video

  • @manzurekhoda7013
    @manzurekhoda7013 4 года назад +1

    You should have include nonlinear methods of regression in this video. Anyway, great video.

  • @treelight1707
    @treelight1707 5 лет назад +5

    I finally figured out the issue with this series, why it is so hard to follow. The animations are too much, too fast for statistics. I can barely follow through with the examples, or cannot follow at all. Example: the calculations; you can't remove each line before the next. I would want to see what numbers went where, and it is not that long of a calculation that you need to have space. Other than that, I think everything else is fine. Crash course Economics was awesome btw.

  • @sapandeepsandhu4410
    @sapandeepsandhu4410 Год назад

    love it

  • @mayankjacky
    @mayankjacky 7 месяцев назад

    Thanks

  • @Sagitarria
    @Sagitarria 5 лет назад +2

    For the trick or treat example, would it be appropriate to try a logarithmic transformation?

  • @libbylebyane3681
    @libbylebyane3681 Год назад

    Linear Regression is the building block in Artificial Intelligence predictions

  • @aldorosas1136
    @aldorosas1136 5 лет назад +2

    Very interesting. One comment though. "The regression line is the one straight line that minimizes the sum of the squared distances of each point to the line" (3:50) can be slightly misleading. It seems to suggest the actual distance from each point to the line, which (except for a horizontal line) would not be vertical. It should say, "...minimizes the sum of the squared vertical distances from each point to the line."

  • @circleofideas9549
    @circleofideas9549 4 года назад

    Mam you are so sweet. thankx you teaching us.

  • @tatsianatati8375
    @tatsianatati8375 5 лет назад +9

    Oh my , too fast for me🤯🤯🤯

  • @iamdrscript
    @iamdrscript 5 лет назад

    best explaination ever!!!

  • @alexbe3136
    @alexbe3136 4 года назад

    Easter egg alert: The candies dissapear while the video goes on :)

  • @jeremiahharemza1235
    @jeremiahharemza1235 4 года назад +5

    "I know Kung Fu" - Neo
    "Show me." - Morpheus

  • @PhysqueLab
    @PhysqueLab 5 лет назад +3

    May i ask when the logistic regression video will be uploaded?

  • @bharathreddy4806
    @bharathreddy4806 5 лет назад

    please add content of full machine learning algorithms

  • @berfeito
    @berfeito 5 лет назад +2

    Can anyone recommend an exercise book or a site with practice questions for statistics? I feel like I need to practice it on my own. Cheers.

  • @medslarge
    @medslarge 5 лет назад +9

    Didn’t really understand the degrees freedom part 🤔

  • @cbottube
    @cbottube 5 лет назад +1

    *watches Optimus very closely throughout the video*

  • @likiee
    @likiee 4 года назад

    Math makes me cry

  • @Nshiime
    @Nshiime 5 лет назад

    Hi at 3:51 is it sum of(observed value minus predicted value)^2 or is it sum of(observed value minus average of values observed)^2

  • @demonika2060
    @demonika2060 Год назад +2

    lmao i didn't understand anything

  • @tutukkunoor
    @tutukkunoor 5 лет назад +1

    At 9:33, she says 'The sums of squares for regression (SSR) has one degree of freedom as one degree is consumed in calculating slope of the model line'. How is that o.O

  • @davidcampos1463
    @davidcampos1463 5 лет назад

    You mean it's all of us human being random number generators against RUclipss mechanical algorithms. "Of course you realize, this means war!"

  • @danyypao1824
    @danyypao1824 5 лет назад +4

    Im so lost

  • @sunsusan2739
    @sunsusan2739 4 года назад +1

    I'm confused by the equation at 2:24. Should "increase in likes per comment" be in blue, standing for m instead of x?

  • @kowalityjesus
    @kowalityjesus 5 лет назад +15

    I really appreciate this explanation, but I think you started moving too quick when discussing degrees of freedom. I can't get what you're talking about after listening to it even several times. Specifically the lines she says at 19:13 are completely non-understandable to me. Thanks, though

    • @SyedAriff
      @SyedAriff 5 лет назад +2

      19:13 doesnt exist

  • @siddharththomas5740
    @siddharththomas5740 5 лет назад

    How many more episodes will there be?

  • @NikitaSamourai
    @NikitaSamourai 5 лет назад +3

    i don't understand why the sums of squares for regression has one degree of freedom

    • @NikitaSamourai
      @NikitaSamourai 5 лет назад

      I DONT WANT TO OPEN TABACHNIK AND FIDELL

    • @iefe65
      @iefe65 5 лет назад

      same, I don't get it

    • @cycla
      @cycla 5 лет назад

      Because only 1 independent variable is used to generate the regression

  • @kensaville513
    @kensaville513 8 месяцев назад

    Useful video thanls. it looks like the alpha value used was 0.5. Should this be 0.05?

  • @jennyskene4777
    @jennyskene4777 5 лет назад

    This lady is a great presenter. I wish she was my teacher!

  • @technofeeliak
    @technofeeliak 5 лет назад +8

    Statistics are the ultimate rationalization of life's experiences through math. Unfortunately, the government and other organizations can take this oversimplification to back up their fallacies.

    • @KitsuneSoftware
      @KitsuneSoftware 5 лет назад +1

      Only when their audience doesn't understand the stats. It's like small print in contracts (who reads those?) or those disclaimers in adverts in tiny print or really fast voices. Lessons like these help us to not be fooled.

  • @mpilosov
    @mpilosov 5 лет назад +2

    At 9:43, do you mean “the mean”
    In the null model, we are just using the mean of the data (one independent piece of info) to predict the outcome. You say “slope,” but aren’t we not using slope, i.e. setting it to zero?

    • @mikail5682
      @mikail5682 5 лет назад

      It's at 9:34
      "The sums of squares for regression (SSR) has one degree of freedom, because we are using one piece of independent information to estimate our coefficient, the slope"
      Correct me if I'm wrong, but the sentence has to be "...we are using one piece of independent information to estimate SSR, the mean".
      If this is incorrect, please explain why.

  • @iefe65
    @iefe65 5 лет назад

    I don't get why in 9:35 she says that we only need 1 degree of freedom to calculate the slop. I understand the 98 DF for SSE but I don't get why SSR has only 1 DF

  • @milesbrown1889
    @milesbrown1889 4 года назад

    Did anyone else notice the bell curve in the background and where she sits positions her as being among the average? how funny is that! I’m not showing off my observational skills at all it’s just an observation.

  • @ArjunTheCreator8
    @ArjunTheCreator8 Год назад

    Guess I'm the only one who noticed the gummy worms slowly disappearing...

  • @st0lf
    @st0lf 5 лет назад +1

    This video is really helpful and the explanations are easy to understand. I think however some quiet music might be able to break the tension a bit, especially as the sound effects tend to get repetitive. Some quiet Lo-Fi instrumentals in the background could really help the videos seem even more polished.
    Keep up the good work. ^^

  • @rajdubey4389
    @rajdubey4389 5 лет назад

    SIR PLZ MAKE VIDEOS ON MATHS IF U WANNA CROSS 10M COZ THERES MILLION OF SAME DEMAND

  • @emopeterparker7
    @emopeterparker7 4 года назад

    hi apitong 👋

  • @jaceychang5785
    @jaceychang5785 4 года назад

    The F-statistic formulas are wrong at both 8:58 and 10:07 ! Though the calculation is correct.

  • @missaster1902
    @missaster1902 4 года назад

    You can’t be like that glasses 👓 guy 🥺

  • @higher_haze
    @higher_haze 5 лет назад +1

    I hope Crash Course helps me in college.

  • @actualprogramming
    @actualprogramming 5 лет назад

    Next what? Correlation?

  • @unleashingpotential-psycho9433
    @unleashingpotential-psycho9433 5 лет назад +11

    I remember statistics class in school was very challenging T_T

    • @gardenhead92
      @gardenhead92 5 лет назад +3

      Said like a true psychologist

    • @DPMixing
      @DPMixing 5 лет назад +1

      Well it seems easy when you get to watch entertaining, visually-stimulating videos and not have to be assessed for your application of the concepts with homework and exams...😂😂😂

    • @gnometheory3831
      @gnometheory3831 5 лет назад

      @@DPMixing Yup, I am in AP stats with a 97% and watched this for fun to see how dumbed down it is. The answer: very.

  • @ZzDC2
    @ZzDC2 5 лет назад +5

    I have notes I took pls love this I have watch ed you for so long
    Motor Output: The response that occurs when your Nervous System activates certain parts of your body.
    Key:
    (MC)”word”: if its behind the word then it means it branches from it
    “word”(MC):means is it’s the nervous system or (NS) that it may have branches.
    Central Nervous System(CNS):
    Brain and spinal cord.
    Main control center.
    Peripheral Nervous System(PNS):
    All the nerves that branch off from the brain and spine that allow your CNS to communicate with the rest of your body.
    Works in both directions (PNS)
    Sensory Division(SD):
    Picks up sensory stimuli.
    Motor Division(MD):
    Sends directions from your Brain to Muscles and Glands.
    (MD)Sematic Nervous System(SNS): voluntary
    rules skeletal muscle movement.
    (MD)Autonomic Nervous System(ANS): involuntary
    keeps your heart beating.
    (ANS)Sympathetic Nervous System:
    Mobilizes the body into action
    (ANS)parasympathetic:
    Relaxes the body
    Astrocytes (Nervous System):
    Exchanges materials between neurons and capillaries.
    Microglial Cells(MC):
    Immune defense against invading microorganisms.
    (MC)Satellite Cells:
    Surround and support Neuron cell bodies.
    (MC)Schwan Cells:
    Produce an insulating barrier called by Myelin Sheath.
    Crazy facts about neurons:
    1.They are the longest-lived cells in the human body.
    2.They are irreplaceable.
    3.They have huge appetites

    • @ZzDC2
      @ZzDC2 5 лет назад

      please love/pin this :)I love your vids a lot especially the heart and lungs genres.

    • @Tntpker
      @Tntpker 5 лет назад +4

      wtf lol?

    • @ZzDC2
      @ZzDC2 5 лет назад

      what?

  • @Abhalerao96
    @Abhalerao96 5 лет назад

    OPTIMUS!!! You're distracting me!

  • @sungkim1397
    @sungkim1397 5 лет назад +1

    I am lost +_+

  • @lagh
    @lagh 4 года назад +1

    Just use SPSS 😂

  • @alexdetoxx2633
    @alexdetoxx2633 4 года назад

    why youtube doesn't have heart button?