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

Probability with discrete random variable example | Random variables | AP Statistics | Khan Academy


2m read
·Nov 11, 2024

Hugo plans to buy packs of baseball cards until he gets the card of his favorite player, but he only has enough money to buy at most four packs. Suppose that each pack has a probability of 0.2 of containing the card Hugo is hoping for. Let the random variable X be the number of packs of cards Hugo buys.

Here is the probability distribution for X. So it looks like there is a 0.2 probability that he buys one pack, and that makes sense because that first pack has a 0.2 probability that it contains his favorite player's card. If it does, at that point, he'll just stop; he won't buy any more packs.

Now, what about the probability that he buys two packs? Well, over here, they give it a 0.16, and that makes sense. There's a 0.8 probability that he does not get the card he wants on the first one, and then there's another 0.2 that he gets it on the second one. So, 0.8 * 0.2 does indeed equal 0.16. But they're not asking us to calculate that; they give it to us.

Then, the probability that he gets three packs is 0.128, and then they've left blank the probability that he gets four packs. This is the entire discrete probability distribution because Hugo has to stop at four; even if he doesn't get the card he wants, on the fourth pack, he's just going to stop over there.

So we could actually figure out this question mark by just realizing that these four probabilities have to add up to one. But let's just first answer the question: Find the indicated probability. What is the probability that X is greater than or equal to two? What is the probability? Remember, X is the number of packs of cards Hugo buys. I encourage you to pause the video and try to figure it out.

So let's look at the scenarios. We're talking about probability that our discrete random variable X is greater than or equal to two. Well, that's these three scenarios right over here. So what is their combined probability?

Well, you might want to say, "Hey, we need to figure out what the probability of getting exactly four packs is." But we have to remember that these all add up to 100%. And so this right over here is 0.2. Hence, this is 0.2. The other three combined have to add up to 0.8.

0.8 + 0.2 is 1, or 100%. So just like that, we know that this is 0.8. If, for kicks, we wanted to figure out this question mark right over here, we could just say, "Look, they have to add up to one." So we could say the probability of exactly four is going to be equal to 1 - 0.2 - 0.16 - 0.128.

I get 1 - 0.2 - 0.16 - 0.128 is equal to 0.512. 0.512, you might immediately say, "Wait, wait, this seems like a very high probability; there's more than a 50% chance that he buys four packs."

You have to remember he has to stop at four. Even if on the fourth he doesn't get the card he wants, he still has to stop there. So there's a high probability that that's where we end up. There is a little less than a 50% chance that he gets the card he's looking for before that point.

More Articles

View All
How to sell a $15,000,000 private jet!
Hey Steve, Daddy’s finally agreed to let me buy my first jet, but he’s only giving me a 15 million budget. 15 million? That’s not so bad! Let’s say you want an airplane, maybe 10 years old or so. All right, let’s see what you recommend. If we take $15 mi…
Seneca | Why Worry About What Isn't Real? (Stoicism)
In a letter to his dear friend Lucilius, Stoic philosopher Seneca wrote: “There are more things, Lucilius, likely to frighten us than there are to crush us; we suffer more often in imagination than in reality.” End quote. Chronic worriers tend to be more …
How To Be The Next Elon Musk According To Elon Musk
So, uh, one of the, I think, most common questions I hear young people, ambitious young people, ask is: “I want to be the next Elon Musk. How do I do that?” Um, obviously, the next Elon Musk will work on very different things than you did. But what have …
How to Perform a Donut | Science of Stupid: Ridiculous Fails
There are three kinds of donuts: sugary ring donuts, sugary jelly-filled donuts, and then there are the ones that are really bad for your health. These ones. Well, I can see why people pay money to watch this. But take any friction fighting hijinks to the…
Mr. Robot's Co-Producer and Writer - Kor Adana
Okay, so Cor, how did you get into hacking? Well, when I was younger, I always took things apart. I’m the son of an engineer, so I always had tools around the house, soldering iron, stuff like that. I took apart TVs and VCRs and just figured out how thin…
Diagramming how a bill becomes a law in the U.S.
What we’re going to do in this video is diagram out how a bill can become a law. I make a distinction between a non-tax bill and a tax bill. A non-tax bill can be introduced into either chamber of Congress initially; it could be introduced into the Senate…