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
Want to help someone? Shut up and listen! - Ernesto Sirolli
[Music] [Music] Everything I do and everything I do professionally, my life has been shaped by seven years of work as a young man in Africa. From 1971 to 1977, I look young, but I’m not. I worked in Zambia, Kenya, Ivory Coast, Algeria, and Somalia in pro…
Checking bus fares with if statements | Intro to CS - Python | Khan Academy
Let’s design a program using Boolean expressions and if statements. The public transit system wants to build an app that determines a passenger’s bus fare. The standard bus fare is $4.25; however, they offer discounts for certain age groups. Kids under fi…
Witness to Steve Irwin's Death - Smarter Every Day116
Hey it’s me Destin, welcome back to Smarter Every Day. So I think we will all agree that Steve Irwin was one of the best science communicators that has ever existed. I mean he knew the knowledge and it was like a fire in his bones; he had to share it wit…
Hinduism Introduction: Core ideas of Brahman, Atman, Samsara and Moksha | History | Khan Academy
We’re now going to talk about Hinduism, which is one of the largest religions on Earth, practiced by over a billion people. It’s interesting for several reasons. First, it is considered to be one of the oldest religions that is still practiced. Some histo…
Monetizing Podcasts and Newsletters - Chris Best of Substack and Jonathan Gill of Backtracks
So Chris, what do you do? I’m the CEO of Substack. We make it simple to start a paid newsletter, and also you can put audio in it now. In Jonathan. I’m Jonathan Gill, co-founder and CEO of Backtracks. We help audio content creators know and grow their …
The only way to “build a wall” without destroying the U.S. | Jared Diamond | Big Think
In a crisis, both a personal crisis and a national crisis, there’s the issue that’s called building the wall, which like many things, can be healthy or unhealthy. When we have a personal crisis, for example, a marital crisis or a career crisis, often we f…