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

Mean of sum and difference of random variables | Random variables | AP Statistics | Khan Academy


2m read
·Nov 11, 2024

Let's say that I have a random variable X, which is equal to the number of dogs that I see in a day. Random variable Y is equal to the number of cats that I see in a day. Let's say I also know what the mean of each of these random variables are, the expected value.

So, the expected value of X, which I could also denote as the mean of our random variable X, let's say I expect to see three dogs a day. Similarly, for the cats, the expected value of Y is equal to, I could also denote that as the mean of Y, is going to be equal to, and this is just for the sake of argument, let's say I expect to see four cats a day.

In previous videos, we defined how do you take the mean of a random variable or the expected value of a random variable. What we're going to think about now is what would be the expected value of X plus Y, or another way of saying that, the mean of the sum of these two random variables.

Well, it turns out—and I'm not proving it just yet—that the mean of the sum of random variables is equal to the sum of the means. So, this is going to be equal to the mean of random variable X plus the mean of random variable Y.

In this particular case, if I were to say, well, what's the expected number of dogs and cats that I would see in a given day? I would add these two means: it would be 3 + 4, and it would be equal to 7. So, in this particular case, it is equal to 3 + 4, which is equal to 7.

Similarly, if I were to ask you the difference, if I were to say, well, how many more cats in a given day would I expect to see than dogs? The expected value of Y minus X, what would that be? Well, intuitively, you might say, well, hey, if we can add random variables, if the expected value of the sum is the sum of the expected values, then the expected value—or the mean—of the difference will be the difference of the means, and that is absolutely true.

So, this is the same thing as the mean of Y minus X, which is equal to the mean of Y, is going to be equal to the mean of Y minus the mean of X. In this particular case, it would be equal to 4 - 3, which is equal to 1.

So, another way of thinking about this intuitively is I would expect to see, on a given day, one more cat than dogs. Now, the example that I've just used—this is discrete random variables. On a given day, I wouldn't see 2.2 dogs or pi dogs. The expected value itself does not have to be a whole number because you could, of course, average it over many days.

But this same idea—that the mean of a sum is the same thing as the sum of means, and that the mean of a difference of random variables is the same as the difference of the means—in a future video, I'll do a proof of this.

More Articles

View All
Staying at a hotel-Dinner at Nobu restaurant vlog with my mom🇯🇵
Hi, guys, it’s me, Ruri. Today, my mother and I came to a hotel to celebrate my first 1 million viewed video. I decided to book a hotel and a fancy Japanese dinner to thank my mom for supporting me. Okay, so here we have our bathroom, toilet, and shower,…
Slash and Burn | Live Free or Die
It should go back down. There’s so much green around it. Yeah, got the fire working for us. Looks pretty good up here. God, we just burnt like 400 square feet or some. Wow, this is the art of slashing burn. Whenever we move into a new area to terrace it …
More uses for commas | Punctuation | Grammar | Khan Academy
Hello Garian, and hello Paige. Hi David, Paige. I have a question for you. What’s up? You like cheese, don’t you? Well, yes, I do. So Paige, what I’ve just asked you is an example of what’s called a tag question. So I’m making an assertion, and then I’m …
2015 AP Calculus BC 6c | AP Calculus BC solved exams | AP Calculus BC | Khan Academy
Write the first four nonzero terms of the McLaurin series for e to the x. Use the McLaurin series for e to the x to write the third degree Taylor polynomial for G of x, which is equal to e to the x * F of x about x equal to 0. So McLaurin series, if tha…
A Pitbull Becomes a Service Dog | Cesar Millan: Better Human Better Dog
For the past five years, Johns faced a brain tumor in the fight of his life. His weakened state has caused Goliath to become fixated on protecting him. Today, Goliath faces Caesar’s final challenge, which will determine if he’s balanced enough to be of se…
How to Get Rich
Since everyone seems to think being rich is the end-all be-all goal for happiness, I’m here to help you out. Let’s figure out what it is about being rich that is so attractive and see if we can create a roadmap to getting you there. You’re not gonna wake …