Why Dividing By N Underestimates the Variance

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 ก.ย. 2024
  • This is the follow up video to:
    Statistics Fundamentals: The Mean, Variance and Standard Deviation
    • Calculating the Mean, ...
    In it, we show exactly why, when we estimate the variance, dividing by 'n' underestimates the value we are interested in. It also describes why we square each term instead of taking the absolute value. The visuals used in this StatQuest make it easy to remember why we should divide by n-1, and this will save us from falling into a very common pitfall.
    If you'd like to support StatQuest, please consider...
    Support StatQuest by buying The StatQuest Illustrated Guide to Machine Learning!!!
    PDF - statquest.gumr...
    Paperback - www.amazon.com...
    Kindle eBook - www.amazon.com...
    Patreon: / statquest
    ...or...
    TH-cam Membership: / @statquest
    ...a cool StatQuest t-shirt or sweatshirt:
    shop.spreadshi...
    ...buying one or two of my songs (or go large and get a whole album!)
    joshuastarmer....
    ...or just donating to StatQuest!
    www.paypal.me/...
    Lastly, if you want to keep up with me as I research and create new StatQuests, follow me on twitter:
    / joshuastarmer
    Corrections:
    3:23 I should have said "To understand why dividing by n underestimates the variation around the population mean".
    3:40 The estimated mean was switched with the population mean.
    #statquest #variance

ความคิดเห็น • 621

  • @statquest
    @statquest  4 ปีที่แล้ว +10

    Corrections:
    3:23 I should have said "To understand why dividing by n underestimates the variation around the population mean".
    3:40 The estimated mean was switched with the population mean.
    Support StatQuest by buying my book The StatQuest Illustrated Guide to Machine Learning or a Study Guide or Merch!!! statquest.org/statquest-store/

    • @Viralvlogvideos
      @Viralvlogvideos 4 ปีที่แล้ว

      BAM BUM hahah

    • @mayurihazarika6550
      @mayurihazarika6550 ปีที่แล้ว +2

      Please Give Video on degrees of freedom please🙇

    • @m3c4nyku43
      @m3c4nyku43 ปีที่แล้ว +2

      At around 8:35, you should've used asterisk '*' character instead of 'x' character for multiplication. I was a bit confused and thought you wrote 2*(x-v)*x-1 instead of 2*(x-v)*(-1). Great video by the way!

    • @statquest
      @statquest  ปีที่แล้ว +3

      @@m3c4nyku43 noted

  • @paulpaschert6215
    @paulpaschert6215 5 ปีที่แล้ว +281

    is there some sort of award we can give this guy? please?!

    • @statquest
      @statquest  5 ปีที่แล้ว +21

      :)

    • @jacobmoore8734
      @jacobmoore8734 5 ปีที่แล้ว +27

      I think we're encouraged to purchase a double dam t-shirt or sweatshirt, which is more of a financial incentive than an award but who doesn't like getting paid to be awesome? I'll probably pick one up this weekend

    • @statquest
      @statquest  5 ปีที่แล้ว +10

      @@jacobmoore8734 Thanks! :)

    • @paulpaschert6215
      @paulpaschert6215 5 ปีที่แล้ว +19

      @@jacobmoore8734 award + t-shirt = double bam! just ordered my own shirt. gonna wear it to my statistics test in 2 weeks

    • @karankartik1327
      @karankartik1327 3 ปีที่แล้ว

      Really, your way is too unique. one of the best

  • @arun5351
    @arun5351 4 ปีที่แล้ว +67

    Amazing Josh!!
    I can't imagine how much hard work goes into simplifying the complex statistics concepts and coming up with these amazing videos. And on top of that your ingenious ideas of adding humor and musical creativity, taking the content to another level.
    If there was an Oscar for tutoring you'd be the undisputed winner.
    BAMMM !!- simply the best educator on TH-cam....

  • @ksrajavel
    @ksrajavel 4 ปีที่แล้ว +13

    Came to this video for "Why Dividing By N Underestimates the Variance" but got to know why absolute values are not used in Variance calculation. Literally cried, Prof. Josh.. Kudos to you. You are supporting me to understand the topics in statistics. I will support you regularly after I get a job soon. And I'm sure your teachings are required for many of the upcoming students in the coming decades. In India we have a concept called "Guru Kulam", and I see you as my guru (Not the term commonly known in the western world, this is more about respect)

    • @statquest
      @statquest  4 ปีที่แล้ว +4

      Thank you so much!!! It means a lot to me.

  • @arbanafal
    @arbanafal 5 ปีที่แล้ว +18

    I have nothing but admiration; this is the clearest explanation that I've seen so far that does not shy away from the underlying math, yet still keeping it understandable for those with minimal math background. I feel like a bit of a fool when I see the contrast between my own attempts to explain this correction factor and your explanation.

    • @statquest
      @statquest  5 ปีที่แล้ว +1

      I'm glad you like the video so much. Thanks! :)

  • @punktdotcom
    @punktdotcom 4 ปีที่แล้ว +5

    I rather get a clear and understanding explanation with "BAMS" like i'm five, than a 50 pages long explanation with words like "trivial" and abbreviations (q.e.d) and just feel depressed and left clueless. And an other very important thing: Only if you *really* understood the topic, you can explain it with easy words. Very well done, Josh! Thank you very much!

    • @statquest
      @statquest  4 ปีที่แล้ว +2

      Thank you very much!!!! :)

  • @dimiw5435
    @dimiw5435 4 ปีที่แล้ว +1

    the best accessible explanation I can find in the whole internet for this mystery. then just as I was about to say "aha! you missed out something!" towards the end of the video, you seemed to have read my mind and "p.s. if you are wondering why n-1 and not 0.5 or 2 .... " you are so so spot-on!

    • @statquest
      @statquest  4 ปีที่แล้ว

      Thank you very much! :)

    • @naysannaderi5135
      @naysannaderi5135 4 ปีที่แล้ว +1

      @@statquest I agree - best explanation i have found and i'm sharing this video with all my students. THANK YOU! So.... any chance that next video is coming out soon? (or has come out already?)

    • @statquest
      @statquest  4 ปีที่แล้ว +1

      @@naysannaderi5135 I hope the next video will come out soon. Possibly in the next 4 months or so. I hope!

  • @libertarianPinoy
    @libertarianPinoy 5 ปีที่แล้ว +11

    Kids today are so lucky they can review their stats online like this with great teachers.

  • @wowZhenek
    @wowZhenek 3 ปีที่แล้ว +2

    Yet another video from this channel that leaves me speechless. I've never really understood this concept until I've watched your video. Thank you very much, again.

    • @statquest
      @statquest  3 ปีที่แล้ว

      Wow, thank you!

  • @achannel9598
    @achannel9598 2 ปีที่แล้ว +2

    came from calculating the mean, variance and SD video. Did not expect a proof for why variance = x-bar. This is a really good in depth video i've ever watched for statistics. Thank you very much.

  • @jsc3417
    @jsc3417 4 ปีที่แล้ว +3

    Thank you, 10 years of confusion made clear by this 15 mins of video.

    • @statquest
      @statquest  4 ปีที่แล้ว +1

      Hooray! I'm glad the video was helpful. :)

  • @namanjain8939
    @namanjain8939 5 ปีที่แล้ว +40

    I searched for this on a number of online resources, some mentioned "n" while others "n-1", leaving me confused. This is the best possible explanation to the problem you made it really easy for us to understand. Thanks a lot !!! Bammmm subscribed and shared with friends.

    • @statquest
      @statquest  5 ปีที่แล้ว +5

      Awesome!!! Thank you very much for subscribing and sharing my videos with your friends. :)

  • @Ana-wx8jm
    @Ana-wx8jm 4 ปีที่แล้ว +2

    I click the like button before I watch it because I'm always sure I'll love it! Thanks so much for making this series. You'll never know how helpful it has been in my life

    • @statquest
      @statquest  4 ปีที่แล้ว +1

      Hooray!!! Thank you very much! :)

  • @killua9369
    @killua9369 2 ปีที่แล้ว +2

    I have always hated statistics but I just today found this channel and this guy explains everything elegantly! ❤😊

    • @statquest
      @statquest  2 ปีที่แล้ว +1

      Wow, thank you!

  • @cristianleoni6852
    @cristianleoni6852 4 ปีที่แล้ว +2

    Amazing explanation of why we use the square of the errors instead of the absolute value! I always asked myself that and all the teachers said it was just to give a bigger weight to the errors! We need the statquest on expected value!

    • @statquest
      @statquest  4 ปีที่แล้ว

      Thanks! I'm working on the expected value, but it still might be a few months before it's ready.

    • @theblinkingbrownie4654
      @theblinkingbrownie4654 8 หลายเดือนก่อน

      I think for even n there wouldn't even be a minimum point, rather a flat line between the 2 middle samples

  • @anujlahoty8022
    @anujlahoty8022 5 ปีที่แล้ว +7

    Awesome and the best video with most simplified explaination.

    • @statquest
      @statquest  5 ปีที่แล้ว

      Thank you! :)

  • @lelamakharadze727
    @lelamakharadze727 5 ปีที่แล้ว +26

    "Future is nooow, BAM " - #LOL #respect #welldone #thanks

    • @statquest
      @statquest  5 ปีที่แล้ว

      Thank you! :)

  • @Igor-vb1hv
    @Igor-vb1hv 4 ปีที่แล้ว +6

    Thanks for explanation!
    I understand that differences between the SAMPLE data and the sample mean are smaller than the differences between the SAMPLE data and the population mean. BUT! We are not interested in the difference between the SAMPLE data and the population mean, rather we are looking for the difference between the TRUE POPULATION data and the population mean (the population variance). And it's not clear why this value would be larger.
    I mean sample data is centered around sample mean the same way population data is centered around population mean. Comparing sample data with population mean feels to be misleading.

    • @statquest
      @statquest  4 ปีที่แล้ว

      The best estimate we can do is the estimate of the variance around the sample mean, which is probably an underestimate, but not always. So this is the best we can do.

  • @magtazeum4071
    @magtazeum4071 2 ปีที่แล้ว +1

    8:22 `the way he said "Whaat" is so cute.. I'm in love

  • @yildizkoca8878
    @yildizkoca8878 5 หลายเดือนก่อน +1

    This video is such a gem! Thanks for explaining the root of this concept which is not easy to find even in statistics books.

    • @statquest
      @statquest  5 หลายเดือนก่อน

      Glad it was helpful!

  • @Michael-zn4oq
    @Michael-zn4oq 4 ปีที่แล้ว +2

    Thank you so much for the clear and simple explanation. This is an example for when showing the proof is better than only trying to give an intuition.

  • @Drugio24
    @Drugio24 5 ปีที่แล้ว +4

    this is literally what I was trying to get a clear understanding on in the last few days? what are the chances? no seriously what are the chances?

    • @statquest
      @statquest  5 ปีที่แล้ว +1

      That's awesome! :)

  • @rajarshibasak347
    @rajarshibasak347 2 หลายเดือนก่อน +1

    Aah! Finally end. What a excellent work by you!! Statquest rocks ❤.. Thank you sir. You helped a lot in my carrier ❤.

    • @statquest
      @statquest  2 หลายเดือนก่อน

      Thanks!

  • @coldbrewed8308
    @coldbrewed8308 7 หลายเดือนก่อน +3

    Oh no... I'm falling deeper and deeper into this rabbit hole

    • @statquest
      @statquest  7 หลายเดือนก่อน

      :)

  • @ARM26878
    @ARM26878 2 ปีที่แล้ว

    BAM! I have not seen this concept explained better anywhere else ever. Have you gotten around to making the follow-up video on 'expected values' ? Can't thank you enough for your channel

    • @statquest
      @statquest  2 ปีที่แล้ว

      I've got the video on expected values th-cam.com/video/KLs_7b7SKi4/w-d-xo.html and th-cam.com/video/OSPr6G6Ka-U/w-d-xo.html , but there are still a few steps to go after that... :(

  • @keysky_1622
    @keysky_1622 5 ปีที่แล้ว +6

    wow that n-1 has something to do with E(X)? Im waiting for it!

  • @nizarch22
    @nizarch22 3 ปีที่แล้ว +1

    I don't even remember what I was confused about in particular, but I remember feeling very happy to see this video. Will revisit this in the following days. Psst, you're a gem ;)

    • @statquest
      @statquest  3 ปีที่แล้ว

      Thank you very much! :)

  • @scuti7073
    @scuti7073 2 ปีที่แล้ว +1

    Man, I always thought that statistics doesn’t make any sense at all and that people should just blindly chug into weird formulas without questioning, but this was absolutely mind opening. Not even khan academy could explain the proof!

  • @morenomartinovic4385
    @morenomartinovic4385 4 ปีที่แล้ว +1

    I'm eagerly awaiting the expected values quest! Thank you so much for making these videos, I love watching them before sleep.

    • @statquest
      @statquest  4 ปีที่แล้ว

      Awesome! It's on the to-do list, but it might not be done for awhile. :(

    • @morenomartinovic4385
      @morenomartinovic4385 4 ปีที่แล้ว +1

      @@statquest That's cool, take your time to keep making awesome videos. I still have loads of your videos on my to-watch list!

  • @Ujjwalchhabra1
    @Ujjwalchhabra1 4 ปีที่แล้ว +3

    You left in a cliff hanger of expected values :((
    Love your videos tho, thanks for these!

    • @statquest
      @statquest  4 ปีที่แล้ว +2

      I'm working on it, but everything I do takes longer than I would like. :)

  • @vkvkvkvk
    @vkvkvkvk 5 ปีที่แล้ว +38

    baaammm! subscribed.

  • @tippyandfriend
    @tippyandfriend 5 ปีที่แล้ว +4

    This is excellent, I am looking forward to the next one.

  • @OdysseusKingofIthaca-o4n
    @OdysseusKingofIthaca-o4n 3 หลายเดือนก่อน +1

    Thank you St Josh for this illuminating explanation :)

    • @statquest
      @statquest  3 หลายเดือนก่อน

      My pleasure!

  • @lyrachang950
    @lyrachang950 10 หลายเดือนก่อน

    im currently learning data analytics and trying to figure out ab testing and bam! here i am! thank you so much for making statistics fun and easy to understand! double bam!

    • @statquest
      @statquest  10 หลายเดือนก่อน

      Happy to help!

  • @marinasha2949
    @marinasha2949 ปีที่แล้ว +1

    Good job Josh!! Waiting for StatQuest on Expected Values! I am the one wondering why not dividing by 'n-0.5' or 'n-2'

  • @christopherchen4920
    @christopherchen4920 3 ปีที่แล้ว +1

    The most impressive explanation I've ever seen.

  • @alexandermedina4950
    @alexandermedina4950 3 ปีที่แล้ว +1

    I can only have love for these videos, thank you Josh and all the team if you have any.

    • @statquest
      @statquest  3 ปีที่แล้ว

      Thank you! It's just me doing all this.

  • @MrBlissTube
    @MrBlissTube 4 ปีที่แล้ว +3

    Great video!
    Where is the one about Expected Values?
    I cannot wait with such a cliffhanger! GoT finale can wait...

    • @statquest
      @statquest  4 ปีที่แล้ว +1

      Very funny! Yes, I have my work to do. I hope to get to expected values before too long.

    • @MrBlissTube
      @MrBlissTube 4 ปีที่แล้ว +1

      @@statquest Thanks a lot for responding! ... and sorry, as I noticed after reading more comments, that you had already answered this question many times. Quest on!

  • @ThalesBrunoM
    @ThalesBrunoM 4 ปีที่แล้ว +4

    8:21 -> I will watch a thousand times and I will laugh out loud a thousand times 😂

  • @mukhtarbimurat5106
    @mukhtarbimurat5106 ปีที่แล้ว +1

    Greatest explanation so far!

  • @iAmTheSquidThing
    @iAmTheSquidThing 4 ปีที่แล้ว +3

    This intuitively makes more sense to me now. If I take a sample, the sample mean may end up being larger or smaller than the population mean. But the sample variance can never be larger than the population variance, it might be equal to it, but most probably it will be smaller.

    • @statquest
      @statquest  4 ปีที่แล้ว

      That's exactly right. :)

    • @wobwobvoid420
      @wobwobvoid420 ปีที่แล้ว

      I think you have to be a little bit careful with what you mean by "sample variance" and "population variance". As long as you're comparing an estimated population variance using the sample data and actual population mean vs an estimated population variance using the sample data and sample mean. But, comparing the estimated population variance using the sample data and sample mean vs the actual population variance (all data and actual population mean) doesn't have the guarantee that sample variance will be lower than population variance.

  • @NuclearSpinach
    @NuclearSpinach 3 ปีที่แล้ว +4

    "The future is now" I'm dying

  • @mansoorbaig9232
    @mansoorbaig9232 4 ปีที่แล้ว +1

    This is awesome explanation. Waiting for quest on 'Expected Values'....BAM!

    • @statquest
      @statquest  4 ปีที่แล้ว +1

      Me too. Hopefully I can get to it soon.

  • @dver7349
    @dver7349 ปีที่แล้ว +1

    Super interesting! Thanks for your work!

  • @ROTOBAfilms
    @ROTOBAfilms ปีที่แล้ว +1

    You are a very great teacher, i like your coaching style, keep going on!

    • @statquest
      @statquest  ปีที่แล้ว +1

      Thank you! 😃

  • @haugstve
    @haugstve 5 ปีที่แล้ว +3

    Nice! PS. Small typo at 8:42, you say -1 but write x-1.

    • @statquest
      @statquest  5 ปีที่แล้ว +2

      That 'x' is a "times" symbol. So it's "times -1", not "x - 1"

    • @ginopeduto4264
      @ginopeduto4264 4 ปีที่แล้ว

      @@statquest thx I was confused too - by the way - your videos among the very best one can find!!! Thank you so much!!!

  • @truewarrior911
    @truewarrior911 ปีที่แล้ว +1

    I literally watch your videos for fun.

  • @stevemungai3542
    @stevemungai3542 2 ปีที่แล้ว

    The minute you mentioned derivatives, my mind shut down!

    • @statquest
      @statquest  2 ปีที่แล้ว

      :( They sound fancy, but they aren't that bad. If you want to learn more about them, see: th-cam.com/video/wl1myxrtQHQ/w-d-xo.html

  • @exoticcoder5365
    @exoticcoder5365 ปีที่แล้ว +1

    15:46 it’s the god moment 👏🏻👏🏻👏🏻👏🏻

  • @rajkumarguptafx3907
    @rajkumarguptafx3907 3 หลายเดือนก่อน +1

    Your Voice is magical 🌹🌹🌹

    • @statquest
      @statquest  3 หลายเดือนก่อน

      Thank you!

  • @shouryanand456
    @shouryanand456 4 ปีที่แล้ว +1

    I wish you were my stats teacher!! Amazing job!!!

    • @statquest
      @statquest  4 ปีที่แล้ว

      Thank you! :)

    • @shouryanand456
      @shouryanand456 4 ปีที่แล้ว

      @@statquest really waiting for the expected value video to get explanation of n-1. When can we expect it?

    • @statquest
      @statquest  4 ปีที่แล้ว

      @@shouryanand456 Unfortunately, it might be a while. I've got a full plate until after the summer.

  • @ginopeduto4264
    @ginopeduto4264 4 ปีที่แล้ว +1

    THX!!! Looking forward for the STATQUEST on expected Values ;))))

  • @samarthpatil2599
    @samarthpatil2599 3 ปีที่แล้ว +1

    Loved the video. But didn't understand something clearly. The variance is the least around the calculated mean. But that is only when the data x remains the same right? How can you compare it with the population variance which has a lot more data points and the summation is therefore different?

    • @statquest
      @statquest  3 ปีที่แล้ว +1

      We are not comparing it to the population variance. We are simply comparing the variance of the data calculated around the sample mean compared to the variance of the data calculated around the population mean.

  • @hafidhrendyanto2690
    @hafidhrendyanto2690 2 ปีที่แล้ว +1

    Amazing video!
    I think that you should teach another subject. Maybe MathQuest? That would be amazing!

    • @statquest
      @statquest  2 ปีที่แล้ว +1

      Maybe one day!

  • @suvadipkundu152
    @suvadipkundu152 5 ปีที่แล้ว

    Perhaps an idiotic question, but one that has troubled my conscience for a few years now :); so here goes... why do we not divide the sum of squares by n**2 or (n-1)**2 for that matter, when arriving at the variance... for me, mean and std deviation (square root of variance) are of the same order, introducing the division by Square Root of the sample size somehow gives an impression that the std. deviation follows a different order .... where am I going wrong?
    An awesome collection BTW... the explanations and the songs are absolutely priceless :)

    • @statquest
      @statquest  5 ปีที่แล้ว

      Ultimately it has to do with something called "Expected Values" and I'll hopefully be able to do a video on that soon.

  • @fernandomendoza9372
    @fernandomendoza9372 4 ปีที่แล้ว +1

    Este pibe tiene futuro.

    • @statquest
      @statquest  4 ปีที่แล้ว

      Muchas gracias! :)

  • @MirrorNeuron
    @MirrorNeuron 10 หลายเดือนก่อน

    Hi Josh, where did you study about it, is it from Bessel's correction or Karl Pearson. I am interested to ready a bit about the history behind it. Can you please suggest a book or paper where the original discovery was made. Thanks in advance.

    • @statquest
      @statquest  10 หลายเดือนก่อน

      The idea for this came from Bessel's correction.

  • @a950721
    @a950721 4 ปีที่แล้ว

    Sorry I am still getting confused. At 5:29, in the inequality, both left hand side and right hand side are using the same n, which is the number of samples.
    You argued that the right hand side is greater so that we need to make the left hand side larger by dividing n-1.
    However, the right hand side is not the actual population variance. The actual population variance should be using a much larger n to calculate.
    What we are doing here is to estimate the population variance but not the right hand side.
    Thinking to this point, all the linkage seems broken. How can I relate the right hand side to the population variance?
    It is true that the inequality holds. But it does not mean also the population variance is always greater than the left hand side.
    Thanks for your videos. They inspire me and teach me a lot.

    • @statquest
      @statquest  4 ปีที่แล้ว

      Sometimes we know the population mean, but don't know the variance, so we sill have to estimate it. That is what is going on on the right side of the equation.

  • @Lsazeh
    @Lsazeh 2 ปีที่แล้ว +1

    Thanks so much for the explanation, super clear as always

    • @statquest
      @statquest  2 ปีที่แล้ว

      Glad it was helpful!

  • @ipmankus
    @ipmankus 4 ปีที่แล้ว +1

    Very nice explanation, god bless you josh!

    • @statquest
      @statquest  4 ปีที่แล้ว

      Thank you! :)

  • @Deepak-uv8du
    @Deepak-uv8du 3 ปีที่แล้ว

    Can you provide the slides for all the statistics videos you used to explain the concepts

    • @statquest
      @statquest  3 ปีที่แล้ว

      I have PDF study guides for some of my videos here: statquest.org/studyguides/

  • @zinnijha7556
    @zinnijha7556 2 ปีที่แล้ว +1

    Awesome and Thank you!

  • @ankitvyas9013
    @ankitvyas9013 ปีที่แล้ว +1

    This is gold.

  • @rishikeshpillay2732
    @rishikeshpillay2732 3 ปีที่แล้ว

    I think there is little problem here @8:47 where we use chain rule .......where that x-1 come I know -1 is derivative of -v but why there is x and where it goes later.
    By the way nice explanation .

    • @statquest
      @statquest  3 ปีที่แล้ว +1

      The little 'x' means "times" and the big "X" is a variable. Sorry for the confusion.

    • @rishikeshpillay2732
      @rishikeshpillay2732 3 ปีที่แล้ว +1

      @@statquest Thank You so much for explanation .I get it now.

  • @tiekauntan3264
    @tiekauntan3264 4 ปีที่แล้ว

    From 2:38 to 2:40, the symbol for estimated mean was switched to population mean. Great video anyway

    • @statquest
      @statquest  4 ปีที่แล้ว

      Ooops. That's a typo. Thanks for pointing that out. I've updated the pinned comment with it.

  • @inkevinsshoes4690
    @inkevinsshoes4690 3 ปีที่แล้ว

    Great video! Which book did you get this explanation from?

    • @statquest
      @statquest  3 ปีที่แล้ว

      Ummm....I just did the math.

  • @lambdamax
    @lambdamax 4 ปีที่แล้ว

    Is the statquest for expected values not out yet?

  • @claudelorrain-bouchard6941
    @claudelorrain-bouchard6941 2 ปีที่แล้ว +1

    dang... why did I end up watching cool as ice (starring vanilla ice) instead of statquest!

  • @ziya5811
    @ziya5811 2 หลายเดือนก่อน

    I need basic statistics lessons for data science. Is this playlist right for me?

    • @statquest
      @statquest  2 หลายเดือนก่อน

      I believe so.

  • @soumyav7811
    @soumyav7811 2 ปีที่แล้ว

    Since sample mean is less than population mean, why don't we divide sample mean by (n-1) to inflate it? That way it will match population mean. And perhaps correction in sample SD may not be required? Just a thought

    • @statquest
      @statquest  2 ปีที่แล้ว

      The sample mean is not always less than the population mean. About half of the time it is greater than the population mean. However, the sample mean will aways be closer to the data and have a smaller standard deviation.

  • @sanketbadhe3572
    @sanketbadhe3572 5 ปีที่แล้ว

    Hey Josh, thanks for another nice video. I understand that dividing by N underestimates the population variance. But, why we are dividing with n-1 and not with n-2 or n-3, etc.

    • @statquest
      @statquest  5 ปีที่แล้ว

      That has to do with expected values, which will be the subject of another StatQuest.

    • @sanketbadhe3572
      @sanketbadhe3572 5 ปีที่แล้ว

      @@statquest Great!

  • @mleon12
    @mleon12 2 ปีที่แล้ว +1

    Thanks!

    • @statquest
      @statquest  2 ปีที่แล้ว

      Wow!!! Thank you so much for supporting StatQuest!!! :)

  • @yajan6650
    @yajan6650 3 ปีที่แล้ว +1

    This is Amazing! BAM!!

  • @pfever
    @pfever 5 ปีที่แล้ว +1

    I'm wondering why -1 T.T~~~ I can't wait for the statquest about expected value! haha it hasn't come out yet, right?

    • @statquest
      @statquest  5 ปีที่แล้ว

      Not yet. :(

    • @the-karabin
      @the-karabin 3 ปีที่แล้ว

      @@statquest Has it come out in the meantime? I watched your live session on the expected value but it wasn't in there yet

    • @statquest
      @statquest  3 ปีที่แล้ว

      @@the-karabin Not yet. I'm working on neural networks right now.

  • @miracbarsusta1834
    @miracbarsusta1834 4 ปีที่แล้ว +2

    mind blown!

  • @vincenzo4259
    @vincenzo4259 2 ปีที่แล้ว +1

    Thanks

  • @anandrathi871
    @anandrathi871 4 ปีที่แล้ว

    I do understand the way yo calculate min variance
    But @ 14:54 How did you conclude in that "Thus valus around sample mean is always less than population mean" ?

    • @statquest
      @statquest  4 ปีที่แล้ว

      Because the sample mean is the value that minimizes the variance, any other value will give you a larger variance.

  • @MimicIsaac
    @MimicIsaac 2 ปีที่แล้ว +1

    BAM! Thank you !

  • @alishashingade4456
    @alishashingade4456 3 ปีที่แล้ว +1

    You are so awesome ! Thank you Josh :)

    • @statquest
      @statquest  3 ปีที่แล้ว +1

      Thank you! :)

  • @Viralvlogvideos
    @Viralvlogvideos 4 ปีที่แล้ว +1

    nice song 0:04

  • @kavitmehta9143
    @kavitmehta9143 4 ปีที่แล้ว

    Here you are considering that estimated mean will always be less than the true/population mean correct? if yes then how can you just consider that?

    • @statquest
      @statquest  4 ปีที่แล้ว +2

      No, I'm not assuming that the estimated mean will always be less than the true/population mean. All I'm assuming is that it will be different from the true/population mean.

  • @spiritualityandscience
    @spiritualityandscience 3 ปีที่แล้ว +1

    Perfect !!! thanks for posting.

  • @Kornackifs
    @Kornackifs 7 หลายเดือนก่อน

    1:47
    Draw it on the graph how
    Are you talking about that curvy line around the histogram?

    • @statquest
      @statquest  7 หลายเดือนก่อน

      The red line with arrows on each end represents the population standard deviation.

    • @Kornackifs
      @Kornackifs 7 หลายเดือนก่อน +1

      @@statquest yeah thanks alot that's what i meant

  • @rishabhnayar7216
    @rishabhnayar7216 2 ปีที่แล้ว

    I don't understand 1 thing - In the actual standard deviation we are trying to measure what we are trying to get is sigma[(x-mu)^2]/n. In this the 'n' is the total population size right? Whereas in the sample that we take, the n is just the sample 'n' right? So didn't really understand how we could be comparing the variance with the same n. (For the actual standard deviation the min value will be gotten over the entire population at the actual mean itself right?) I mean are we making an apples to apples comparison?

    • @statquest
      @statquest  2 ปีที่แล้ว

      In both cases, 'n' is the size of the sample, not the size of the population. It could be that we just "know" or "assume" the population mean equals something (like 0).

  • @andersonbessa9044
    @andersonbessa9044 5 ปีที่แล้ว +1

    Your videos are so helpful

  • @elenieXQ
    @elenieXQ 4 ปีที่แล้ว +1

    thank you and this is very helpful!!

    • @statquest
      @statquest  4 ปีที่แล้ว

      I'm so glad!

  • @ymlow91
    @ymlow91 4 ปีที่แล้ว +1

    I still dont really understand why showing V = X bar at minimal variance leads on to the conclusion that we always underestimate the population mean by dividing by n

    • @statquest
      @statquest  4 ปีที่แล้ว

      What part of the video is confusing? Can you specify a minute and second time point?

  • @mahboobalam5689
    @mahboobalam5689 5 ปีที่แล้ว +1

    Great as always! Thanks Prof.

    • @statquest
      @statquest  5 ปีที่แล้ว

      Thanks! :)

    • @mahboobalam5689
      @mahboobalam5689 5 ปีที่แล้ว

      @@statquest I know that you have some videos on quantiles on your channel. I was wondering if you could think about the possibility for a video on quantile regression and its implication possiblities in genetics, especially in population genetics. I have found some resources on youtube and through online which mainly focuses on social sciences. Anayways, thank you again.

  • @sushantaggarwal8856
    @sushantaggarwal8856 4 ปีที่แล้ว

    Awesome! But why not divide by (n-2) or (n-0.5) or (n-10). Why (n-1) only?

  • @epicgamermanofdoomandstuff9001
    @epicgamermanofdoomandstuff9001 10 วันที่ผ่านมา +1

    tysm

    • @statquest
      @statquest  9 วันที่ผ่านมา

      Bam! :)

  • @sukursukur3617
    @sukursukur3617 4 ปีที่แล้ว

    Sir,
    How did you learn the things that you explain? From good teachers or by yourself by trying to derive what you are curious about?
    Curiosity the background of any knowledge is a privilege.

    • @statquest
      @statquest  4 ปีที่แล้ว +1

      I just try to figure things out on my own. I've had people inspire me, but not many good teachers.

  • @Viralvlogvideos
    @Viralvlogvideos 4 ปีที่แล้ว +1

    i wish u was my math teacher , your awesome BAM BUM

    • @statquest
      @statquest  4 ปีที่แล้ว +1

      Thanks! :)

    • @Viralvlogvideos
      @Viralvlogvideos 4 ปีที่แล้ว

      @@statquest can u please make tutorials on deep learning and also tensor

    • @statquest
      @statquest  4 ปีที่แล้ว

      @@Viralvlogvideos I'm working on them.

    • @Viralvlogvideos
      @Viralvlogvideos 4 ปีที่แล้ว +1

      @@statquest thanks your awesome :)

  • @KPT_001
    @KPT_001 2 ปีที่แล้ว +1

    You save me!!!! ( cfa learner

  • @ps_v.2.3.20
    @ps_v.2.3.20 8 หลายเดือนก่อน

    16:38 , it's not resolved in the expected values video. How to know that prof.

    • @statquest
      @statquest  8 หลายเดือนก่อน

      Unfortunately I haven't had time to do the follow up video. The best I can do is give you this link for now: online.stat.psu.edu/stat415/lesson/1/1.3

    • @ps_v.2.3.20
      @ps_v.2.3.20 8 หลายเดือนก่อน +1

      @@statquest thanks for immediate response prof.😊

  • @xinyuan6649
    @xinyuan6649 4 ปีที่แล้ว

    Coming from 'CLT', Can we have t-shirts with the double-bam saying "Even if you aren't Normal, the average is Normal" ?

    • @statquest
      @statquest  4 ปีที่แล้ว

      That's such a good idea!!! I'll see what I can do. :)

  • @julianstanley9516
    @julianstanley9516 5 ปีที่แล้ว

    Thanks for the great video! This was a super straightforward proof that /n will underestimate the variance, but I don’t think I caught why to use (n-1). Why not 8/9n? Or n-1.28362? Or n^(999/1000)? Is there a mathematical reason why (n-1) is standard?

    • @julianstanley9516
      @julianstanley9516 5 ปีที่แล้ว

      Update: oh, it’s a degrees of freedom thing, I guess? I remember talking about those back in Biostats. I never fully understood them then. Time to go google around.

    • @statquest
      @statquest  5 ปีที่แล้ว +1

      I'm glad you like the video. Dividing my n-1 is actually an expected value thing. I mention this at the end of the video ( at 16:35 ) and I'll do a video on that in the future. By the way, I'm sorry for the confusion on the subject matter. I tried to avoid confusion by naming this video "Why dividing by 'n' underestimates the variance" instead of "Why we divide by 'n-1' when estimating variance", but the difference is probably subtle.

    • @julianstanley9516
      @julianstanley9516 5 ปีที่แล้ว +1

      @@statquest Oh, "you'll just have to wait for the statquest on expected values". I must have not been paying close enough attention at the end of the video. Thanks for putting up with silly comments, Josh. Looking forward to the next video, and thanks again for all your work on these! :)

  • @rrrprogram8667
    @rrrprogram8667 5 ปีที่แล้ว +1

    MEGAAAA BAMMMM for the futureee

  • @CarlosCardenas-pq4cq
    @CarlosCardenas-pq4cq 3 ปีที่แล้ว

    I think that is a little error in minute 8:48, great videos. have a good day.

    • @statquest
      @statquest  3 ปีที่แล้ว

      I just checked and it looks ok to me, but I've seen it so many times I could be blind to the problem. Can you tell me what you think the error is?

    • @CarlosCardenas-pq4cq
      @CarlosCardenas-pq4cq 3 ปีที่แล้ว

      @@statquest You give an explanation that the derivative of (x-v) is -1 but in the moment when I saw 2(x)x-1/n made me feel a little confused but the final is ok. have a great day

    • @statquest
      @statquest  3 ปีที่แล้ว

      @@CarlosCardenas-pq4cq I see. Yes, that little 'x' is supposed to be a "times" symbol. However, I can see how it also looks like the variable 'X'.

    • @CarlosCardenas-pq4cq
      @CarlosCardenas-pq4cq 3 ปีที่แล้ว +1

      @@statquest Ok, I can see the difference of 'X' and 'x', thanks a lot of I love your videos

  • @pradeepkumar-ew1ze
    @pradeepkumar-ew1ze 3 ปีที่แล้ว

    If you just watched statistics playlist #5 video, start from 3:21 :)

  • @luselbach
    @luselbach 2 ปีที่แล้ว +1

    The future is now. BAM!