yego.me
💡 Stop wasting time. Read Youtube instead of watch. Download Chrome Extension

Intuition for why independence matters for variance of sum | AP Statistics | Khan Academy


3m read
·Nov 11, 2024

So in previous videos, we talked about the claim that if I have two random variables, X and Y, that are independent, then the variance of the sum of those two random variables, or the difference of those two random variables, is going to be equal to the sum of the variances.

So, that if you have independent random variables, your variation is going to increase when you take a sum or a difference. We built a little bit of intuition there. What I want to talk about in this video is really about building even more intuition and getting a gut feeling for why this independence is important for making this claim.

To get that intuition, let's look at two random variables that are definitely random variables but that are definitely not independent. So, let's say, let's let X be equal to the number of hours that the next person you meet—I'll say random person—random person slept yesterday. And let's say that Y is equal to the number of hours that same person was awake yesterday.

Appreciate why these are not independent random variables. One of them is going to completely determine the other. If I slept eight hours yesterday, then I'm going to have been awake for 16 hours. If I slept for 16 hours, then I would have been awake for eight hours.

We know that X plus Y, even though they're random variables and there could be variation in X and there could be variation in Y, for any given person, remember these are still based on that same person, X plus Y is always going to be equal to 24 hours.

So these are not independent. Not independent! If you're given one of the variables, it would completely determine what the other variable is. The probability of getting a certain value for one variable is going to be very different given what value you got for the other variable. So they're not independent at all.

In this situation, if someone said, let's just say for the sake of argument that the variance of X, the variance of X is equal to, I don't know, let's say it's equal to 4 and the units for variance would be squared hours. So, 4 hours squared. We could say that the standard deviation for X in this case would be 2 hours.

And let's say that the variance, or let's say the standard deviation of Y is also equal to 2 hours. And let's say that the variance of Y, the variance of Y, well, it would be the square of the standard deviation. So it would be 4 hours, 4 hours squared would be our units.

So, if we just tried to blindly say, "Oh, I'm just going to apply this little expression, this claim we had without thinking about the independence," we would try to say, "Well then the variance of X plus Y, the variance of X plus Y must be equal to the sum of their variances."

So it would be 4 plus 4, so is it equal to 8 hours squared? Well, that doesn't make any sense because we know that a random variable that is equal to X plus Y—that this is always going to be 24 hours. In fact, it's not going to have any variation; X plus Y is always going to be 24 hours.

So for these two random variables, because they are so connected, they are not independent at all. This is actually going to be zero. There is zero variance here. X plus Y is always going to be 24, at least on Earth, where we have a 24-hour day.

I guess if someone lived on another planet or something then it could be slightly different, and we're assuming that we have an exactly 24-hour day on Earth.

So this is to give you a gut sense of why independence matters for making this claim, and if you have things that are not independent, it gives you a good sense for why this claim doesn't hold up as much.

More Articles

View All
The Making of 'Genius' | National Geographic
Genius is the first scripted series on Matt Gio. The first season of Genius is the story of Albert Einstein, which we’re telling over the course of 10 episodes. We all know, uh, of his genius, his gifts, but Albert Einstein’s private life is far more comp…
Explicit Laplacian formula
So let’s say you have yourself some kind of multivariable function, and this time let’s say it’s got some very high dimensional input. So X1, X2, on and on and on, up to, you know, X sub n for some large number n. Um, in the last couple videos, I told yo…
Stem cells and differentiation | From cells to organisms | High school biology | Khan Academy
To me, one of the most fascinating ideas in biology is that we all started as a fertilized egg. So, that is a cell right over there. And then, through many, many divisions, all of a sudden—I wouldn’t say all of a sudden; it takes many months to develop ev…
Conditions for IVT and EVT: table | Existence theorems | AP Calculus AB | Khan Academy
We’re told this table gives a few values of function f. It tells us what f of x is equal to that x is equal to 2, 3, 4, and 5. Which condition would allow you to conclude that there exists a maximum value for f over the closed interval from 2 to 4? So pa…
Wave properties | Wave properties | High School Physics | Khan Academy
Imagine that I’m standing here holding the end of a rope. I’m over here on the left end, and while holding the rope, I rapidly move my hand up, down, and back to the starting position. If we were to take a snapshot of the rope immediately after I finish m…
History of the Democratic Party | American civics | US government and civics | Khan Academy
All right, Kim. We have 216 years of Democratic party history to cover. Let’s cut the pleasantries and get right to it. Who is this man? That is Thomas Jefferson. He does not look like the baby-faced boy that he was in this image. Is this his presidential…