If you can't explain something simply and clearly you don't truly understand it. This guy truly understands statistics. A lot people, including most teachers I would venture, have become proficient at statistics without a genuine understanding of what they are doing. Thx for this.
I have worked at several top research institutes across Europe and the UK, and most aren't even proficient at statistics. Or rather, they've been brainwashed into thinking the arithmetic mean is somehow more important/special than the geometric mean or any other kind of statistic. It results in the publication of statistics everyone knows you should have but no one really knows what to do with it.
Accurate. never really understood the concept of GM or HM and this guy comes along! Could not be more interested in stats now. Thank you @zedstatistics
@@cannaroe1213 This is so because most statistics professors can calculate an arithmetic mean but have no clue what it actually means! :-) It should be called "level term", not arithmetic mean because it has nothing to do with the middle of anything.
@@cannaroe1213 This is the understanding that even I came onto on encountering his videos from a senior of mine who said that this would be beneficial for me
I'm two years too late to the party. But I'd like to put up my answer anyway. A superb video btw. Really appreciate it. I'll do it in 2 steps. Step 1: Find the average speed for stage 1. Since the two activities (the climb and the descent) are of the same distance but at different speeds, the average speed for stage 1 must be the harmonic mean of two speeds. Average speed (stage 1) = 2 / (1/10 + 1/50) = 16.67 km/h. Step 2: Find the average speed between stage 1 and stage 2. Since stage 1 and stage 2 involve the same amount of time (both are 30 minutes long), the average speed would be the arithmetic mean. Average speed (stage 1 & 2) = (16.67 + 40) / 2 = 28.33 km/h. I'm sure others already came up with the perfect answer long ago. Still, I wanted to try myself. Thanks a ton for the examples. They really put all the different types of means in perspective.
And another 4 months later, here I am. I was driving, so I just estimated 50/3 to be around 17 (30/3 = 10 + 21/3 (switched 20 to 21 to simplify) = 7 to save time and avoid crashing my car while using a calculator) and ended up with 28.5. Thanks for the clear explanation so I could check my process! I’m a musician but somehow had yet to mess with harmonic means. I think it’s my new favorite thing! I watched another video earlier today and had used % weighting to solve the problem before watching the end and realizing it was much simpler to use the harmonic mean. This was my first time actually trying it.
I really are the best statistic teacher EVER! How deep you go in explaining everything is finally making me understand... I´ve been so lost because I didn´t have the foundation for the understanding! Both the lectures + how you talk and describe = perfect in every way! I really hope that I will finally pass my statistics esam this Saturday!
You don't have to use harmonic mean, a weighted mean is also possible: On stage one, since uphill distance equals downhill distance (same hill) - the times spent on every part can be found using the equation: 10X=50(30-X) which gives X=25. The next stage is just a weighted mean: (10*25+50*5+40*30)/60=28.33
But we can't assume the distance uphill is the same as the distance downhill, can we? The slopes of the hill may vary. I'm aware I'm one year late tho lol
Such a great video! Square-rooting finally clicked for me, because I always think of it as returning a single number, but it's actually returning 2 numbers, or 3 for cube-root, but because all the numbers/dimensions are the same we just refer to the product as a single number. Applying that to ROI was great! Maybe at 14:04 it would help some people to know 1 Hertz is 1 thing per second, so that's where the ratio is coming from, the fact that you are talking about 2 dimensional frequencies, oscillations in time, but referring to it as a single number. Harmonic was explained so well i wish i could subscribe twice!
We will find harmonic mean of two activities of stage one and then we will find arithmetic mean for both the stages. so, harmonic mean of stage one = 2/(1/10+1/50)= 16.67. Now the arithmetic mean for both the stages = (16.67+40)/2=28.33 His average speed is 28.33 Km/h. btw, great video i was confused why we use geo mean. You were excellent.
Can we combine 02 stages in one because the stage 1 & 2 have the same time 30 minutes without rest or something else. Hence we only find the harmonic mean of 3 activities = 3/(1/10+1/50+1/40) = 20.68 ?
first stage: we have fixed distance, so harmonic mean for km/h: (1/10)+(1/20) = 16.66 1stage + 2nd stage: we have a fixed time, so arithmetic mean for km/h: (16.66 + 40) / 2 = 28.33
Stage 1 - HM = 2/(1/10+1/50) = 50/3 ≈ 16.66 Overall Average - AM = (HM + 40) / 2 = 20 + 25/3 = 85/3 ≈ 28.33 units are in kmph Edit for checking: let x = time taken to ride uphill in hours since downhill took 5 times faster than uphill, then 0.5-x=x/5 -> x=25/60 (25mins) Total Distance = 10x + 50(0.5-x) + 40*0.5 = 25/6 + 25/6 + 20 = 85/3 ≈ 28.33 Total Time = 0.5 + 0.5 = 1 (1 hour) Average Speed ≈ 28.33 / 1 ≈ 28.33
hmmm, ok, but i dont see how knowing the average speed is of any use. the same way i dont see how knowing the average shoe size helps sell more shoes. they are there 1 day and out of stock 99 days. useless.
Challenge question: What is the average speed over the whole track? Ans. 28.33 km/h Stage 1.- 30 mins - up-hill 10km/h, down-hill 40km/h, which means, equal distance traveled in a different time, therefore use harmonic mean. Stage 2.- 30 mins - 40km/h, equal time as stage 1, so use the arithmetic mean between them. average of stage 1: ( (1/10 + 1/50) / 2 )^-1 = 16.66 km/h average of stage 1 and stage 2: (16.66 + 40) / 2 = 28.33 km/h
Great video. Short enough for an intro, but long enough for some very helpful details. I came across your video after recently having seen a question along the lines of "Ben takes 2 hours and 12 minutes to dig a hole, Bob beats him and digs the same hole in 1 hour and 50 minutes, how long would they have taken to dig the hole together in joint effort?" which involves basically half of the harmonic mean, in this case, and that got me interested. It also reminded me of the fact that runners often use "pace", which is min/km, rather than, say speed in km/h. So a pace of 6 would be 10 km/h, and a pace of 8 would be 7.5 km/h. Essentially, since one is having to take the reciprocal in order to add the speeds before one flips it back into pace with another reciprocal, these types of questions of "resultative times in combined effort" are related to the harmonic mean. Oddly though, I have to remark that with musical notes and their frequencies, at least with well-tempered tuning like the piano, where let us say A = 440 Hz and the frequencies of each semitone higher is the precursor frequency multiplied by 12th root of 2 which is around 1.0595 or 5.95% higher, this entails that finding the frequency of the notes in between two notes involves the geometric mean. So whereas the arithmetic mean of the 440 Hz A and the 880 Hz A would be an E of 660, which is "too high" because it is a natural fifth away from the low A and only a natural fourth away from the high A, nicely shown by it being 7 semitones away from the low note and 5 semitones away from the high note, if you want the D# or E flat that's 6 semitones away (a tritone) from both, you can take the geometric mean of sqrt( 440 x 880 ) and you will get exactly 440 times sqrt(2), which is around 622.25 Hz. (Of course, with waves and music being what they are, A-E-A (Strauss's Zarathustra) will always sound great, and like "the middle" because it's consonant and A - D# - A (Holst's Planets, Mars) will always sound scary because its a tritone and dissonant, but such is the odd design of the keyboard, and tempered tuning is mathematically always a "compromise" of sorts.
In the first part, the mean is across 2 equal distances (n = 2). So, ((1/10)(1/50)/2)^-1 = 16.67 The mean along the first and second part is across equal time, so it is not GM but AM so (16.67+40)/2 = 28.33
Correct me if I'm wrong, but isnt the challenge problem flawed? In stage one, we cannot assume the distance uphill equals the distance downhill- we know only that the sum of the time taken to go uphill is 0.5hrs ie: t1+t2=0.5, and that 10t1 + 50(0.5-t1)= total distance travelled in stage one denoted by D1. There's no way to link any component of D1 to other bits of information given. Therefore, there are 2 degree of freedom (ie: (t1 or t2) and a component of D1): there's no unique solution.
It’s not weighted yet, as you’re actually going at an average speed of 16.67 km/h for a total of 36 minutes (when the down hill ride is included) in contrast to the 30 minutes ride at 40 km/h. Hence, if you add the proper weight (by using factor [36/30 =] 1.2 for the first stage), you can afterwards take the arithmetic mean of both values by deviding the sum by 2.2 (instead of just two). That get’s you a result of [(stage1*1.2+stage2)/2.2 =] 27.27… km/h. ;)
thanks. i didnt think i'd learn something new, but i did. and i loved the question in the end. the key is recognizing that the first part of the problem didnt specify how much time were spent cycling the two different speeds, but it was given to you how much distance were spent cycling the two different speeds, so use the harmonic mean!
Stage 1 Time taken- 30mins Hill climb- 10km/hr Descent- 40 km/ hr So average speed in stage 1= Harmonic mean of both the different speeds of stage 1 2/6/50 = 2×50/6 = 16.666 Stage 2 Time taken- 30 mins Speed- 40km/hr Now which means Stage 1 average speed is 16.666 km/hr And stage 2 average speed is 40 km/hr Average speed of the both stages combines = Arithmetic mean of stage 1 speed and stage 2 speed 40+16.6666= 56.666 and then Divided by 2 bcoz ( see formula ) =56.666/2 = 28.333( final ans )
This Question is very interesting and clever, because I believe that the entire calculation method to get answer involves usage of all 3 types of mean we learned here....here we go, Step 1....We need to do Harmonic mean between ascent & descent values of stage one ride (because the distance is same, rate may differ) Step 2....We need to Geometric mean between (Step 1 answer value) & Stage 2 value....because, the distance and time are different. Step 3....Simple Arithmetic Mean between values of Step 1 & Step 2 I really not bother to know correct answer value, rather to know, how to understand this question and method of calculating it practically.....Any other thoughts ?? Justin, pls correct me if my understanding is not correct.
@3:16 The mean in a normal density function should really be called a *median*, not an arithmetic mean because in the distribution itself, this value corresponds to a frequency that is most likely, but definitely not the mean. To convince yourself of this fact, find the average value (using calculus) of the frequencies between one standard deviation, that is, -1 to 1 (if normalised). You will observe that there are two arithmetic means and they are not located at the median. The phrase arithmetic mean is not a very well thought out concept. A better expression would be "level term" because that's what you do when you calculate and arithmetic mean - you redistribute the values so that they are all equal. This is why it makes no sense to find a level term for the height of a sample of people: what? are you going to chop them up and then glue them all back together again in such a way that they are all of the same height? We can know beforehand whether it makes sense to calculate a level term or not. Simply this: A level term only makes sense if redistribution makes sense. It should be called "level term", not arithmetic mean because it has nothing to do with the *middle of anything*
30 min @10km/hr. That’s 5 km in 30 min. 5km back @50km/hr. 5 km in 6 min. 30 min @40km/hr. 20 km in 30 min. Total distance 30 km Total time 66 min Avg speed (30/66)*60=27.272727.... Km/hr
With the harmonic mean, I am a financial stats students at uni and just getting my head around functions. I understand mean standard deviation, variance deducting mean from values and square roots, but I cant understand why (1/3 + 1/2)/2 becomes 2/(5/6) then 12/5 I can calculate it as 2.4 on a calculator, but I don't understand those fractions. I am only 3 weeks into Statistics, so algebra functions are just being learned for me
Challenge question: its been answered by many people but i would like to add another way. It is also possible to get the distance of the hill and time taken both uphill and downhill easily by solving distance/time equals speed equation. The answer comes out to hill being 4.17km each way and taking 25min uphill and 5min downhill. We still get the same final speed of 28.33.
Seems like we know to use a geometric mean, when the effects of each step effect the next step. Like the Tesla example. In these cases, summation isn't the right tool.
Does Stage 1 work ONLY if the hill is SYMMETERIC, assuming SAME DISTANCE uphill and downhill? Also, what if Stage 2 was NOT 30 minutes (the same amount of TIME as Stage 1)? Then we can't use arithmetic mean. So what then?
It appears harmonic mean only works if the numerator in the rate or ratio is the same across the values. In the above example, the cycling speeds up and down the hill are given as 10 km/h and 50 km/h respectively. We could determine the average speed using the harmonic mean formula only because the distance covered both ways is the same. Should the distance be different, and the speeds be the same as provided above, we may not use the harmonic mean formula to determine the average speed, it appears.
Distance crossed: 25/60 min * 10 km + 5/60 min * 50 km + 30/60 min * 40 km = 28.33 km. Since the travel was 1h, it was 28.33 km/h. Is this right? How would I resolve it using harmonic mean? or any other mean?
first of all stage 1 we have to find arithmetic mean of both 10 km/h and 50 km/h so the value of them well be 29.7 km/h then we can make a triangle with side 1 =10 km/h side 2 =50 km/h side 3 =29.7 km/h then we find the Geometric mean of stage 1 which is 24.264 km/h so we can make a Harmonic mean of both stages which is 30.441 km/h
Stage 1 will be calculated as pr HM -- 16.66 km/hr Stage 2 is 40 km/hr But he is travelling different distance in two stages so i think final avg will be (total distance/total time) which i am getting as Total dist = 5+5+20=30 km Total time= 30 + 6+30 = 66 mins= 1.1 hr So ag speed = 30/1.1 = 27.27 km/hr
Thank you for your video! Question regarding Geometric Mean. Why use Geometric Mean over just taking the average of 10%,20%, and 30%? Is there a benefit to using Geometric mean?
If your investment earned 5% this year, 8% last year and 11% the year before, what is the average yearly rate of interest across the entire life of your investment? :)
Arithmetic mean doesn't consider the effect of compounding (of the investment over time). But Geometric mean does. Say you made a profit of 10% in year 1, loss of 20% (or, -20%) in year 2 and a 10% profit in year 3 on a $1000 you had invested at the very beginning. Looking at how the investment changed over the years, Investment at the beginning of year 1 = $1000 At the end of year 1 = 1000 + 1000 * 0.10 = 1000 * (1 + 0.1) = 1000 * 1.1 = $1100 At the end of year 2 = 1100 + 1100 * (-0.2) = 1100 * (1 - 0.2) = 1100 * 0.8 = $880 At the end of year 3 = 880 + 880 * (0.1) = 880 * 1.1 = $968 The arithmetic mean for the rate of return is = [0.1 + (-0.2) + 0.1] / 3 = 0 The geometric mean for the same is = cubeRoot(1.1 * 0.8 * 1.1) = 0.989 Had the average rate of return actually been zero, the investment at the end of year 3 would have been $1000 itself (same as your initial investment), which is not the case. The geometric rate of return being 0.989 signifies that there was a (1 - 0.989) * 100 = 1.1% loss on average which caused the $1000 to end up at $968. Now from what I understand, since arithmetic mean is always greater than or equal to the geometric mean, it could be used by businesses to deceive unknowing investors showing them a higher rate of return on their sales.
Hi, great video, thanks so much. I'm curious, has anyone observed the connection between these three means and special relativity before? Each mean when applied to light paths between points derives a fundamental kinematic concept (proper length/time, time, length), but I haven't seen this explained anywhere! This video helped clarify these means for me, so much thanks!
well im not sure about this but the expected value is the weighted arithmetic mean in the context of distributions and random variables. for example: the expected value for 10 rolls of a fair die is 35, this will always be the case for 10 rolls. suppose after rolling the die 10 ties, you got the values (1,4,2,1,5,3,6,2,3,5) the weighted arithmetic mean for this sample is 3.2, this will be different for each combination of values.
First stage: harmonic mean to 10km/h and 50km/h = (sum(1/10 + 1/50) /2)^-1 = 16.66km/h Second stage: harmonic mean to firststage and second = (sum(1/16.66 + 1/40) /2)^-1 = **23.52 km/h**
Hormonic Mean 8:59 : 3Km/hr freestyle 2Km/hr backstroke Find avg speed 3 Km complete in 1 hour freestyle 1 Km complete in ?? (1 Km × 1 hour) / 3 Km 1 / 3 hour required complete 1 km in freestyle 2 Km complete in 1 hour backstroke 1 Km complete in ?? (1 Km × 1 hour) / 2 Km 1 / 2 hour required complete 1 km in backstroke So freestyle plus backstroke total 1 Km plus 1 Km total 2 Km For 2 Km it takes 1/3 hour freestyle plus 1/2 hour backstroke =( 2 + 3)/ 3×2=5/6 hour 5/6 hour covers 2 Km 1 hour covers ??? (1 hour × 2Km)÷ (5/6 hour) 12/5 Km covers 1 hour (12/5 ) Km per hour this is average speed In formula Total Km / in one hour Total Km ( considering each lap 1 km) / (total hour for 1 Km for each lap)
import numpy as np marks = np.array([65, 81, 78, 76]) weights = np.array([0.2, 0.3, 0.25, 0.25]) # Example weighted weighted_average = np.average(marks, weights=weights) print(f"Georgia's weighted average mark is: {weighted_average}")
here is my try you have speed for both the climbing and decent of the hill.....10km/h & 50km/h you also have the total time taken on the hill....30min you have the speed on the flat ground 40km/h and the total time on the flat ground 30min to find the average speed you find the total distance covered over the span of the total time taken which is 1hr don't assume that the distance of climbing the hill is equal to the decent distance so, find the geometric mean of the speeds on the hill which is approximately...22.36km/h now the total distance of the hill is....11.18km the distance of the flat ground is.....(D*T).....(40km/h * 0.5hrs)....20km average speed is (11.18+20)/1= 31.18km/h
Sir I have one doubt sir in harmonic mean Harmonic Mean Query Example: we travel 60 km at 60 km/h, than another 20 km at 20 km/h, what is our average speed? Harmonic mean = 2/( 1/60 + 1/20 ) = 30 km/h Check: the 60 km at 60 km/h takes 60 minutes, the 20 km at 20 km/h takes 60 minutes, so the total 80 km takes 120 minutes, which is 40 km per hour which one is rigth ?
Remember this, mate. You compute the harmonic mean when you travel the same distance at two different speeds. You cannot work out the harmonic mean in your example because the distances are different (60km at 60km/h; then 20km at 20km/h). The harmonic mean of 30km/h, as you've computed, would apply to the situation where you travel 60km at 60km/h; then another 60km at 20km/h.
It’s 27.27km/h, right? I mean, that would be my conclusion from taking the total distance covered (30 km) divided by the total amount of time (66 min = 1.1 h).
@@HDell1994 take the harmonic mean of the speeds during the climb and the descent. For the sake of simplicity, we assume that the climb and descent are equal in distance ( since the height of a hill doesn't really change depending on whether you're going up or down) so the climb and decent can be thought of as the laps in the swimmer example. Now obviously the cyclist will be spending more time at 10km/h compared to 50km/h. Taking the harmonic mean gives you 16.6km/h which is closer to 10 than 50
@@ahmadnomanalnoor5986 Ah I see now. I have to apply the harmonic mean 2 / (1/50 + 1/10). So within the 30 min. trip, more time is spent riding up the hill than is spent riding down for the cyclist. Thanks mate!
1st stage distance: s/10+s/50=0.5 (half an hour) => s = 25/6 km. 2st stage distance: s/40 = 0.5 => s= 20 km The total distance is 20+(25/6)*2, the total time spent is 60 minutes. So the average speed is 28.33. Not very elegant, I know.
If you can't explain something simply and clearly you don't truly understand it. This guy truly understands statistics. A lot people, including most teachers I would venture, have become proficient at statistics without a genuine understanding of what they are doing. Thx for this.
I have worked at several top research institutes across Europe and the UK, and most aren't even proficient at statistics. Or rather, they've been brainwashed into thinking the arithmetic mean is somehow more important/special than the geometric mean or any other kind of statistic. It results in the publication of statistics everyone knows you should have but no one really knows what to do with it.
Accurate. never really understood the concept of GM or HM and this guy comes along! Could not be more interested in stats now. Thank you @zedstatistics
@@cannaroe1213 This is so because most statistics professors can calculate an arithmetic mean but have no clue what it actually means! :-) It should be called "level term", not arithmetic mean because it has nothing to do with the middle of anything.
@@cannaroe1213 This is the understanding that even I came onto on encountering his videos from a senior of mine who said that this would be beneficial for me
I'm two years too late to the party. But I'd like to put up my answer anyway. A superb video btw. Really appreciate it.
I'll do it in 2 steps.
Step 1: Find the average speed for stage 1.
Since the two activities (the climb and the descent) are of the same distance but at different speeds, the average speed for stage 1 must be the harmonic mean of two speeds.
Average speed (stage 1) = 2 / (1/10 + 1/50) = 16.67 km/h.
Step 2: Find the average speed between stage 1 and stage 2.
Since stage 1 and stage 2 involve the same amount of time (both are 30 minutes long), the average speed would be the arithmetic mean.
Average speed (stage 1 & 2) = (16.67 + 40) / 2 = 28.33 km/h.
I'm sure others already came up with the perfect answer long ago. Still, I wanted to try myself.
Thanks a ton for the examples. They really put all the different types of means in perspective.
well, I'm 2 years behind you and came to check my answer and it is similar to yours.
you are never too late!
And another 4 months later, here I am. I was driving, so I just estimated 50/3 to be around 17 (30/3 = 10 + 21/3 (switched 20 to 21 to simplify) = 7 to save time and avoid crashing my car while using a calculator) and ended up with 28.5. Thanks for the clear explanation so I could check my process! I’m a musician but somehow had yet to mess with harmonic means. I think it’s my new favorite thing! I watched another video earlier today and had used % weighting to solve the problem before watching the end and realizing it was much simpler to use the harmonic mean. This was my first time actually trying it.
@@pocketsoundsmusic7379 add another 12 days
How do you know the hill is SYMMETRIC? It just says it takes 30 minutes. THERE IS NO DISTANCE for the HILL.
@@TheAncientColossus think simply, he could have just go up and come down using the exact same path. It's just an example.
I really are the best statistic teacher EVER! How deep you go in explaining everything is finally making me understand... I´ve been so lost because I didn´t have the foundation for the understanding!
Both the lectures + how you talk and describe = perfect in every way!
I really hope that I will finally pass my statistics esam this Saturday!
You don't have to use harmonic mean, a weighted mean is also possible:
On stage one, since uphill distance equals downhill distance (same hill) - the times spent on every part can be found using the equation:
10X=50(30-X) which gives X=25.
The next stage is just a weighted mean:
(10*25+50*5+40*30)/60=28.33
Very nice, thank you.
But we can't assume the distance uphill is the same as the distance downhill, can we? The slopes of the hill may vary.
I'm aware I'm one year late tho lol
totally wrong
@@virgiliomurilloochoa2884totally unhelpful
Thank you for this viewpoint, it was helpful 👍🏾
Such a great video! Square-rooting finally clicked for me, because I always think of it as returning a single number, but it's actually returning 2 numbers, or 3 for cube-root, but because all the numbers/dimensions are the same we just refer to the product as a single number. Applying that to ROI was great! Maybe at 14:04 it would help some people to know 1 Hertz is 1 thing per second, so that's where the ratio is coming from, the fact that you are talking about 2 dimensional frequencies, oscillations in time, but referring to it as a single number. Harmonic was explained so well i wish i could subscribe twice!
We will find harmonic mean of two activities of stage one and then we will find arithmetic mean for both the stages.
so, harmonic mean of stage one = 2/(1/10+1/50)= 16.67. Now the arithmetic mean for both the stages = (16.67+40)/2=28.33
His average speed is 28.33 Km/h.
btw, great video i was confused why we use geo mean. You were excellent.
Thanks mate.... I was wondering, if I was wrong.
Yess
Can we combine 02 stages in one because the stage 1 & 2 have the same time 30 minutes without rest or something else. Hence we only find the harmonic mean of 3 activities = 3/(1/10+1/50+1/40) = 20.68 ?
@ That's what I did! to me, it makes no sense to calculate the arithmetic mean
Is this assuming that he descends the same distance he's climbed?
i cant thank you enough for this series. Your explanation is literally so on point it couldn't be anymore perfect than this!
first stage: we have fixed distance, so harmonic mean for km/h:
(1/10)+(1/20) = 16.66
1stage + 2nd stage: we have a fixed time, so arithmetic mean for km/h:
(16.66 + 40) / 2 = 28.33
yup, that's the right answer, mine is same.
except, the descent speed is 50kmh not 20, so the answer is 26.67
@@sjleon not true. the answer is 28.33. Check your work again.
@@sjleon I think it was just a typo on his part. If you do the math out with 1/50 instead of 1/20, you get 28.33
@@JonnyBurkholder you are right..............i was confused ......where he got 1/20..........
Stage 1 - HM = 2/(1/10+1/50) = 50/3 ≈ 16.66
Overall Average - AM = (HM + 40) / 2 = 20 + 25/3 = 85/3 ≈ 28.33
units are in kmph
Edit for checking:
let x = time taken to ride uphill in hours
since downhill took 5 times faster than uphill, then 0.5-x=x/5 -> x=25/60 (25mins)
Total Distance = 10x + 50(0.5-x) + 40*0.5 = 25/6 + 25/6 + 20 = 85/3 ≈ 28.33
Total Time = 0.5 + 0.5 = 1 (1 hour)
Average Speed ≈ 28.33 / 1 ≈ 28.33
hmmm, ok, but i dont see how knowing the average speed is of any use.
the same way i dont see how knowing the average shoe size helps sell more shoes.
they are there 1 day and out of stock 99 days. useless.
The best statistics teacher ever! You break down complex topics into simple terms that can easily be understood.
Challenge question: What is the average speed over the whole track? Ans. 28.33 km/h
Stage 1.- 30 mins - up-hill 10km/h, down-hill 40km/h, which means, equal distance traveled in a different time, therefore use harmonic mean.
Stage 2.- 30 mins - 40km/h, equal time as stage 1, so use the arithmetic mean between them.
average of stage 1: ( (1/10 + 1/50) / 2 )^-1 = 16.66 km/h
average of stage 1 and stage 2: (16.66 + 40) / 2 = 28.33 km/h
Thank You for your explanation
Simple example, simple sentences, crystal clear.
There is one more is there Root Mean Square Value(RMS)
Great video. Short enough for an intro, but long enough for some very helpful details. I came across your video after recently having seen a question along the lines of "Ben takes 2 hours and 12 minutes to dig a hole, Bob beats him and digs the same hole in 1 hour and 50 minutes, how long would they have taken to dig the hole together in joint effort?" which involves basically half of the harmonic mean, in this case, and that got me interested. It also reminded me of the fact that runners often use "pace", which is min/km, rather than, say speed in km/h. So a pace of 6 would be 10 km/h, and a pace of 8 would be 7.5 km/h. Essentially, since one is having to take the reciprocal in order to add the speeds before one flips it back into pace with another reciprocal, these types of questions of "resultative times in combined effort" are related to the harmonic mean. Oddly though, I have to remark that with musical notes and their frequencies, at least with well-tempered tuning like the piano, where let us say A = 440 Hz and the frequencies of each semitone higher is the precursor frequency multiplied by 12th root of 2 which is around 1.0595 or 5.95% higher, this entails that finding the frequency of the notes in between two notes involves the geometric mean. So whereas the arithmetic mean of the 440 Hz A and the 880 Hz A would be an E of 660, which is "too high" because it is a natural fifth away from the low A and only a natural fourth away from the high A, nicely shown by it being 7 semitones away from the low note and 5 semitones away from the high note, if you want the D# or E flat that's 6 semitones away (a tritone) from both, you can take the geometric mean of sqrt( 440 x 880 ) and you will get exactly 440 times sqrt(2), which is around 622.25 Hz. (Of course, with waves and music being what they are, A-E-A (Strauss's Zarathustra) will always sound great, and like "the middle" because it's consonant and A - D# - A (Holst's Planets, Mars) will always sound scary because its a tritone and dissonant, but such is the odd design of the keyboard, and tempered tuning is mathematically always a "compromise" of sorts.
Brilliant! Thank you so much. I felt dumb because I was unable to solve the final question but I understood the solution in the comments.
Thankyou for bringing conceptual clarity
In the first part, the mean is across 2 equal distances (n = 2). So, ((1/10)(1/50)/2)^-1 = 16.67
The mean along the first and second part is across equal time, so it is not GM but AM so (16.67+40)/2 = 28.33
First time I really understand harmonic mean, thank you! Your way of inverting it (twice) really helps with the understanding.
Correct me if I'm wrong, but isnt the challenge problem flawed? In stage one, we cannot assume the distance uphill equals the distance downhill- we know only that the sum of the time taken to go uphill is 0.5hrs ie: t1+t2=0.5, and that 10t1 + 50(0.5-t1)= total distance travelled in stage one denoted by D1. There's no way to link any component of D1 to other bits of information given. Therefore, there are 2 degree of freedom (ie: (t1 or t2) and a component of D1): there's no unique solution.
Best video on this subject!
Greetings from Eastern Arabia
Harmonic Mean for Stage One = 16.6km/h, Stage two mean is fix to 40km/h. I then computed the arithmetic mean: *28.3 km/h* is this correct?
I got the same answer. Is it right?
I got the same answer 28.3km/h
It’s not weighted yet, as you’re actually going at an average speed of 16.67 km/h for a total of 36 minutes (when the down hill ride is included) in contrast to the 30 minutes ride at 40 km/h. Hence, if you add the proper weight (by using factor [36/30 =] 1.2 for the first stage), you can afterwards take the arithmetic mean of both values by deviding the sum by 2.2 (instead of just two). That get’s you a result of [(stage1*1.2+stage2)/2.2 =] 27.27… km/h. ;)
@@winstonsmith3373 are you sure the 30mins don't include the downhill? It seems like it's total
yes to all those who got 28.3
A gift that is exceptional and truly educational. Thank you.
thanks. i didnt think i'd learn something new, but i did. and i loved the question in the end. the key is recognizing that the first part of the problem didnt specify how much time were spent cycling the two different speeds, but it was given to you how much distance were spent cycling the two different speeds, so use the harmonic mean!
I sent this video to a friend of mine and captioned: The best introductory video on stat means I've seen.
Stage 1
Time taken- 30mins
Hill climb- 10km/hr
Descent- 40 km/ hr
So average speed in stage 1=
Harmonic mean of both the different speeds of stage 1
2/6/50 =
2×50/6 = 16.666
Stage 2
Time taken- 30 mins
Speed- 40km/hr
Now which means
Stage 1 average speed is 16.666 km/hr
And stage 2 average speed is 40 km/hr
Average speed of the both stages combines =
Arithmetic mean of stage 1 speed and stage 2 speed
40+16.6666= 56.666 and then
Divided by 2 bcoz ( see formula )
=56.666/2 = 28.333( final ans )
8:51 hi ims not able to understand the logic behind removing that one,,I’m also confused about how we bring in the one in the first place..
This Question is very interesting and clever, because I believe that the entire calculation method to get answer involves usage of all 3 types of mean we learned here....here we go,
Step 1....We need to do Harmonic mean between ascent & descent values of stage one ride (because the distance is same, rate may differ)
Step 2....We need to Geometric mean between (Step 1 answer value) & Stage 2 value....because, the distance and time are different.
Step 3....Simple Arithmetic Mean between values of Step 1 & Step 2
I really not bother to know correct answer value, rather to know, how to understand this question and method of calculating it practically.....Any other thoughts ?? Justin, pls correct me if my understanding is not correct.
close, but not quite.you don't actually need to use the geometric mean here.
Probably obvious to most or all, for tossing it out there anyway. If using the GEOMEAN formula in excel, DON'T consider year 0 in the range.
I was oblivious of the difference between these three terms, but after watching this, I clearly understand each one of them. Thank you so much!
This is the best explanation of harmonic mean I've seen on Yt. Thanks alot, it really has cleared my concept .
@3:16 The mean in a normal density function should really be called a *median*, not an arithmetic mean because in the distribution itself, this value corresponds to a frequency that is most likely, but definitely not the mean. To convince yourself of this fact, find the average value (using calculus) of the frequencies between one standard deviation, that is, -1 to 1 (if normalised). You will observe that there are two arithmetic means and they are not located at the median.
The phrase arithmetic mean is not a very well thought out concept. A better expression would be "level term" because that's what you do when you calculate and arithmetic mean - you redistribute the values so that they are all equal. This is why it makes no sense to find a level term for the height of a sample of people: what? are you going to chop them up and then glue them all back together again in such a way that they are all of the same height? We can know beforehand whether it makes sense to calculate a level term or not. Simply this: A level term only makes sense if redistribution makes sense.
It should be called "level term", not arithmetic mean because it has nothing to do with the *middle of anything*
30 min @10km/hr. That’s 5 km in 30 min.
5km back @50km/hr. 5 km in 6 min.
30 min @40km/hr. 20 km in 30 min.
Total distance 30 km
Total time 66 min
Avg speed (30/66)*60=27.272727.... Km/hr
stage 1 is 30mins total, yours is 36 mins
Brilliant! Straight to the point of the content and backup with beautiful explanation and example!!
Exceptional explanation for a lifetime
With the harmonic mean, I am a financial stats students at uni and just getting my head around functions. I understand mean standard deviation, variance deducting mean from values and square roots, but I cant understand why (1/3 + 1/2)/2 becomes 2/(5/6) then 12/5
I can calculate it as 2.4 on a calculator, but I don't understand those fractions. I am only 3 weeks into Statistics, so algebra functions are just being learned for me
Your accent makes me feel I'm a student of Mathematical Institute, University of Oxford :) love it!
I just can't thank you enough! Either you are the best at explaining this or I woke up smarter today. I think it is the former.
could be cool for measuring ml model improvement over the course of either epochs or time during training
Great challenge activity. Great twist. This is very interesting
What an amazing explanation of geometric mean!
Really genius in the clear explanation
Appreciating the detailed definitions thanks.
Wonderful video - thanks! Never heard of harmonic mean before... I got the result 36.7 km/h as average speed.
That was exactly what i needed, thank you.
What does n mean in the harmonic mean? How many times you went swimming?
Cool explanation of a geometric mean meaning.
Thank you for the brilliant explanation
Challenge question: its been answered by many people but i would like to add another way. It is also possible to get the distance of the hill and time taken both uphill and downhill easily by solving distance/time equals speed equation. The answer comes out to hill being 4.17km each way and taking 25min uphill and 5min downhill. We still get the same final speed of 28.33.
Beautiful explanation, thank you!
Seems like we know to use a geometric mean, when the effects of each step effect the next step. Like the Tesla example. In these cases, summation isn't the right tool.
Wow, very clearly explained!
Does Stage 1 work ONLY if the hill is SYMMETERIC, assuming SAME DISTANCE uphill and downhill?
Also, what if Stage 2 was NOT 30 minutes (the same amount of TIME as Stage 1)? Then we can't use arithmetic mean. So what then?
It appears harmonic mean only works if the numerator in the rate or ratio is the same across the values. In the above example, the cycling speeds up and down the hill are given as 10 km/h and 50 km/h respectively. We could determine the average speed using the harmonic mean formula only because the distance covered both ways is the same. Should the distance be different, and the speeds be the same as provided above, we may not use the harmonic mean formula to determine the average speed, it appears.
Distance crossed: 25/60 min * 10 km + 5/60 min * 50 km + 30/60 min * 40 km = 28.33 km.
Since the travel was 1h, it was 28.33 km/h.
Is this right?
How would I resolve it using harmonic mean? or any other mean?
Excellent, again an above Average video but the challenge was a bit Mean (28.3 km/hr).
Thanks so much for this man
Thanks a lot I found it very useful and explanation with real time example are quite good and impressive
first of all
stage 1 we have to find arithmetic mean of both 10 km/h and 50 km/h so the value of them well be 29.7 km/h then we can make a triangle with
side 1 =10 km/h
side 2 =50 km/h
side 3 =29.7 km/h
then we find the Geometric mean of stage 1 which is 24.264 km/h
so we can make a Harmonic mean of both stages which is 30.441 km/h
How much your tesla stock worth now?
Enjoyed the way you teach. Thnaks
Stage 1 will be calculated as pr HM -- 16.66 km/hr
Stage 2 is 40 km/hr
But he is travelling different distance in two stages so i think final avg will be (total distance/total time) which i am getting as
Total dist = 5+5+20=30 km
Total time= 30 + 6+30 = 66 mins= 1.1 hr
So ag speed = 30/1.1 = 27.27 km/hr
X
Thank you for your video! Question regarding Geometric Mean. Why use Geometric Mean over just taking the average of 10%,20%, and 30%? Is there a benefit to using Geometric mean?
If your investment earned 5% this year, 8% last year and 11% the year before, what is the average yearly rate of interest across the entire life of your investment? :)
@@zedstatistics what????
@@zedstatistics isn't that effective interest
@@zedstatistics 7.9%
Arithmetic mean doesn't consider the effect of compounding (of the investment over time). But Geometric mean does.
Say you made a profit of 10% in year 1, loss of 20% (or, -20%) in year 2 and a 10% profit in year 3 on a $1000 you had invested at the very beginning.
Looking at how the investment changed over the years,
Investment at the beginning of year 1 = $1000
At the end of year 1 = 1000 + 1000 * 0.10 = 1000 * (1 + 0.1) = 1000 * 1.1 = $1100
At the end of year 2 = 1100 + 1100 * (-0.2) = 1100 * (1 - 0.2) = 1100 * 0.8 = $880
At the end of year 3 = 880 + 880 * (0.1) = 880 * 1.1 = $968
The arithmetic mean for the rate of return is = [0.1 + (-0.2) + 0.1] / 3 = 0
The geometric mean for the same is = cubeRoot(1.1 * 0.8 * 1.1) = 0.989
Had the average rate of return actually been zero, the investment at the end of year 3 would have been $1000 itself (same as your initial investment), which is not the case.
The geometric rate of return being 0.989 signifies that there was a (1 - 0.989) * 100 = 1.1% loss on average which caused the $1000 to end up at $968.
Now from what I understand, since arithmetic mean is always greater than or equal to the geometric mean, it could be used by businesses to deceive unknowing investors showing them a higher rate of return on their sales.
FOR CHALLENGE PROBLEM:
why is it wrong to calculate it using (total distance travelled)/(total time taken)?
Stage one mean ===> (2/(1/10 + 1/50) = 16.67 km/h
Stage1 + Stage2 Mean ===> 2/(1/16.67 + 1/40) = 23,53 km/h
(16.67+40)/2=28.33
No need for harmonic mean in 2nd stage as time is same
Hi, great video, thanks so much. I'm curious, has anyone observed the connection between these three means and special relativity before? Each mean when applied to light paths between points derives a fundamental kinematic concept (proper length/time, time, length), but I haven't seen this explained anywhere! This video helped clarify these means for me, so much thanks!
Sorry for the late, mean in French is moyenne. Bonne journée. Great vidéo.
Thank you!
Hmm. I have a dbt??? Is weighted arihmetic mean and Expected value the same!!
well im not sure about this but the expected value is the weighted arithmetic mean in the context of distributions and random variables. for example: the expected value for 10 rolls of a fair die is 35, this will always be the case for 10 rolls. suppose after rolling the die 10 ties, you got the values (1,4,2,1,5,3,6,2,3,5) the weighted arithmetic mean for this sample is 3.2, this will be different for each combination of values.
Thank you brother.
Briilianttt.... I never remembered the use case of geometric and harmonic mean... But now i dooo... Great stufff
Great Video. Thank you
First stage: harmonic mean to 10km/h and 50km/h = (sum(1/10 + 1/50) /2)^-1 = 16.66km/h
Second stage: harmonic mean to firststage and second = (sum(1/16.66 + 1/40) /2)^-1 = **23.52 km/h**
Hormonic Mean 8:59 :
3Km/hr freestyle
2Km/hr backstroke
Find avg speed
3 Km complete in 1 hour freestyle
1 Km complete in ??
(1 Km × 1 hour) / 3 Km
1 / 3 hour required complete 1 km in freestyle
2 Km complete in 1 hour backstroke
1 Km complete in ??
(1 Km × 1 hour) / 2 Km
1 / 2 hour required complete 1 km in backstroke
So freestyle plus backstroke total 1 Km plus 1 Km total 2 Km
For 2 Km it takes 1/3 hour freestyle plus 1/2 hour backstroke =( 2 + 3)/ 3×2=5/6 hour
5/6 hour covers 2 Km
1 hour covers ???
(1 hour × 2Km)÷ (5/6 hour)
12/5 Km covers 1 hour
(12/5 ) Km per hour this is average speed
In formula
Total Km / in one hour
Total Km ( considering each lap 1 km) / (total hour for 1 Km for each lap)
import numpy as np
marks = np.array([65, 81, 78, 76])
weights = np.array([0.2, 0.3, 0.25, 0.25]) # Example weighted
weighted_average = np.average(marks, weights=weights)
print(f"Georgia's weighted average mark is: {weighted_average}")
Thank you so much.i Cleared my doubts.
I just had a question that can any one find length of the lap with given values of Harmonic mean??
This is amazing!!
Thank you!!!
I have subscribed!
Thanks 🙃
i have a question , if we are sampling do we still use n or n-1
Subscribed... Keep up the good work mann
Thanks for this!
Perfect. Thank you.
any video on geometric growth?
How to calculate the adjusted mean?
Nice work
How do you know the hill is SYMMETRIC? It just says it takes 30 minutes. THERE IS NO GIVEN DISTANCE for the HILL.
Really good ...amazing.
here is my try
you have speed for both the climbing and decent of the hill.....10km/h & 50km/h
you also have the total time taken on the hill....30min
you have the speed on the flat ground 40km/h and the total time on the flat ground 30min
to find the average speed you find the total distance covered over the span of the total time taken which is 1hr
don't assume that the distance of climbing the hill is equal to the decent distance
so, find the geometric mean of the speeds on the hill which is approximately...22.36km/h
now the total distance of the hill is....11.18km
the distance of the flat ground is.....(D*T).....(40km/h * 0.5hrs)....20km
average speed is
(11.18+20)/1= 31.18km/h
Saved my life!!!!
How do we find the missing terms in a set given the 3 means
thank u so much
geometric was nice explanation!
harmonic I'm still struggling with intuitively :/
How did I know that I'd have to do harmonic mean in stage 1 and then the arithmetic mean of state 1 and stage 2 get the average speed?
Thank you
Sir I have one doubt sir in harmonic mean
Harmonic Mean Query
Example: we travel 60 km at 60 km/h, than another 20 km at 20 km/h, what is our average speed?
Harmonic mean = 2/( 1/60 + 1/20 ) = 30 km/h
Check: the 60 km at 60 km/h takes 60 minutes, the 20 km at 20 km/h takes 60 minutes, so the total 80 km takes 120 minutes, which is 40 km per hour
which one is rigth ?
Remember this, mate. You compute the harmonic mean when you travel the same distance at two different speeds.
You cannot work out the harmonic mean in your example because the distances are different (60km at 60km/h; then 20km at 20km/h).
The harmonic mean of 30km/h, as you've computed, would apply to the situation where you travel 60km at 60km/h; then another 60km at 20km/h.
It’s 27.27km/h, right?
I mean, that would be my conclusion from taking the total distance covered (30 km) divided by the total amount of time (66 min = 1.1 h).
it's actually 28.33 km/h
@@ahmadnomanalnoor5986 Care to walk through the steps you took to arrive at 28.33 km/h?
@@ahmadnomanalnoor5986 Specifically, how do we arrive at 16.6 km/h for stage one?
@@HDell1994 take the harmonic mean of the speeds during the climb and the descent. For the sake of simplicity, we assume that the climb and descent are equal in distance ( since the height of a hill doesn't really change depending on whether you're going up or down) so the climb and decent can be thought of as the laps in the swimmer example. Now obviously the cyclist will be spending more time at 10km/h compared to 50km/h. Taking the harmonic mean gives you 16.6km/h which is closer to 10 than 50
@@ahmadnomanalnoor5986 Ah I see now. I have to apply the harmonic mean 2 / (1/50 + 1/10). So within the 30 min. trip, more time is spent riding up the hill than is spent riding down for the cyclist.
Thanks mate!
Why cannot we use harmonic mean in case of a dataset which contains negative values
1st stage distance: s/10+s/50=0.5 (half an hour) => s = 25/6 km.
2st stage distance: s/40 = 0.5 => s= 20 km
The total distance is 20+(25/6)*2, the total time spent is 60 minutes. So the average speed is 28.33. Not very elegant, I know.
28.34 km/hr
Subscribed
Total Distance = 30 KM
Total Time = 66 minutes
Average Speed = 27.27 KM/HR
The first correct answer I came across among the comments. Good job ;)
Would you provide explanation :)
but...what do you Mean???
yesss! I did it!
Po vnm