What is the harmonic mean?

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 ก.ย. 2022
  • The harmonic mean has been causing a stir in the r/datascience subreddit recently. In this video I explain what the harmonic mean is and when it is appropriate to use it. I then work through the job interview question from Reddit, solving it first with a numeric approach, then with the harmonic mean.
    Question: "You travelled half of the distance with a speed 30km/h, and the other half - 50km/h. What is the average speed?
    My SkillShare courses: (includes a 1 month free trial)
    Getting started with R skl.sh/3cyKwzi
    How to Write an Academic Journal Article skl.sh/3hpm3i0
    How to read an academic paper skl.sh/3wO9Skp
    Introduction to Flipped Classroom Teaching skl.sh/3TBK7jw
    Connect with me:
    🐥 My Twitter - / drlyndonwalker
    💻 My Website - www.drlyndonwalker.com
    Join my Facebook Community - / drlyndonwalker

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

  • @therandomizedassasin
    @therandomizedassasin 8 หลายเดือนก่อน +3

    Really useful! Helped with my CFA level 1 exam

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

    There is another useful case for it.
    You can compute the 'virtual' musical perfect 4th of two notes. If i take the HM of C3 and C4 for example, i get F3. Coincidentally (maybe not?), i get G3 (the perfect 5th) if i take the HM of C3 and C5. 🤔

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

    This was amazing! Thank you so much!

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

    Very well explained 😊 Thanks a lot!

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

    Really good explanation Thank you!

  • @ava_chavoshi
    @ava_chavoshi 4 หลายเดือนก่อน +1

    Thank you! ☺

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

    Harmonic mean is how mathematicians do diss tracks.

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

    Very clear video! I do have one question though: why exactly does this work? Is the harmonic mean always equal to the arithmetic mean after factoring in ratios? And does that work for any ratios or is this a specific case where it happens to give the same answer?

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

      You might look at the proofs and references in this:
      A PROOF OF THE ARITHMETIC MEAN-GEOMETRIC MEAN-HARMONIC ... rgmia.org/papers/v2n1/v2n1-10.pdf

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

    Another useful case for it is an evaluation metric in machine learning called f1_score

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

      Great example. Wikipedia gives a good summary: en.wikipedia.org/wiki/F-score