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

Mean (expected value) of a discrete random variable | AP Statistics | Khan Academy


3m read
·Nov 11, 2024

  • [Instructor] So, I'm defining the random variable x as the number of workouts that I will do in a given week. Now right over here, this table describes the probability distribution for x. And as you can see, x can take on only a finite number of values: zero, one, two, three, or four. And so, because there's a finite number of values here, we would call this a discrete random variable.

And you can see that this is a valid probability distribution because the combined probability is one. .1 plus 0.15, plus 0.4, plus 0.25, plus 0.1 is one. And none of these are negative probabilities, which wouldn't have made sense. But what we care about in this video is the notion of an expected value of a discrete random variable, which we would just note this way.

And one way to think about it is, once we calculate the expected value of this variable, of this random variable, that in a given week, that would give you a sense of the expected number of workouts. This is also sometimes referred to as the mean of a random variable. This, right over here, is the Greek letter mu, which is often used to denote the mean.

So, this is the mean of the random variable x. But how do we actually compute it? To compute this, we essentially just take the weighted sum of the various outcomes, and we weight them by the probabilities. So, for example, this is going to be, the first outcome here is zero, and we'll weight it by its probability of 0.1.

So, it's zero times 0.1. Plus, the next outcome is one, and it'd be weighted by its probability of 0.15. So, plus one times 0.15. Plus, the next outcome is two and has a probability of 0.4, plus two times 0.4. Plus, the outcome three has a probability of 0.25, plus three times 0.25.

And then last but not least, we have the outcome four workouts in a week, that has a probability of 0.1, plus four times 0.1. Well, we can simplify this a little bit. Zero times anything is just zero. So, one times 0.15 is 0.15. Two times 0.4 is 0.8. Three times 0.25 is 0.75. And then four times 0.1 is 0.4.

And so, we just have to add up these numbers. So, we get 0.15, plus 0.8, plus 0.75, plus 0.4, and let's say 0.4, 0.75, 0.8. Let's add 'em all together. And so, let's see, five plus five is 10. And then this is two plus eight is 10, plus seven is 17, plus four is 21.

So, we get all of this is going to be equal to 2.1. So, one way to think about it is the expected value of x, the expected number of workouts for me in a week, given this probability distribution, is 2.1. Now you might be saying, wait, hold on a second.

All of the outcomes here are whole numbers. How can you have 2.1 workouts in a week? What is 0.1 of a workout? Well, this isn't saying that in a given week, you would expect me to work out exactly 2.1 times. But this is valuable because you could say, well, in 10 weeks, you would expect me to do roughly 21 workouts.

Sometimes I might do zero workouts, sometimes one, sometimes two, sometimes three, sometimes four. But in 100 weeks, you might expect me to do 210 workouts. So, even for a random variable that can only take on integer values, you can still have a non-integer expected value, and it is still useful.

More Articles

View All
How to sell 2 corporate jets worth a combined value of $85,000,000.
I need two planes. First of all, one that can do real long distance. I’m talking 12 hours, either a 6,000, 6,500, 7X, 8X, or a 650. Okay, if I buy a 6,000, on top of that, it could be another 25 million. So, both put together would be 85. The other optio…
Biodiversity and ecosystem health: a Hawaiian Islands case study | Khan Academy
When you think of islands, you might think of pristine beaches and palm trees gently swaying along with a warm breeze. Sounds like paradise! As a scientist, islands are my kind of place for research. Islands are very beautiful, and they also have a lot o…
Sold My Tesla Stock
What’s a Pilon? It’s Musk here. So, I don’t usually make these kinds of videos, but given the recent and unprecedented price surge of Tesla stock over these last few days, I felt like this would be worth addressing. We could talk about exactly what’s goin…
Mark Zuckerberg On Yahoo's Billion Dollar Offer
I want to talk for a second about low points because I think people never appreciate how bad they really are. I think it’s always reassuring to hear that even Mark Zuckerberg went through some serious low points and came out okay. So, can you tell us abo…
Pitch Practice with FlavorCloud, Holly Liu, and Adora Cheung
So the next thing we’re going to do is bring up Flavor Cloud, who is going to pitch Holly, who is the investor here, and then go from there. Yep, so I guess we’re gonna be sharing. Sorry, so I’m gonna be an angel investor, and I’ve done some angel investi…
In the Studio Pt. 2 ft Zedd | One Strange Rock
They didn’t want me to create a Zedd song. They wanted me to create a piece of music that matches what this is all about. [music playing] My first thoughts when the project came to me was, finally, and excited, because I’ve made classical music in my li…