Jump to content

Help with probability question


SoulMonster

Recommended Posts

Hmmm, it's not 35 I don't think. If straight calculation it would be roughly 14 blue balls but that's not correct as each ball has a 70% chance of being red. I would think most likely all balls would be red but that doesn't account for the 30% that could be blue. So maybe 70% of the 14 would still be red? 4 blue balls? Someone please shed some light on this non abstract mind of mine 😊

  • Like 1
Link to comment
Share on other sites

20 minutes ago, SoulMonster said:

That's how I calculated it, too. But I always have this nagging feeling I am doing it wrong :lol: Statistics do that to me. Thanks, though.

Ha, we're obviously both on the same page. To be honest I'm an accountant and one thing I've learned in my many years is that if you're confident in your numbers people accept them. They can't be bothered googling 'poisson distributed' ( I did but it looked too hard) they'd rather just accept it.

So the answer is 14. Unless anyone can show me a calculation that says it's wrong...

I believe if you pulled the balls from a hat one by one the answer would be different, much like the odds of getting red in roulette

 

 

  • Like 1
  • Thanks 1
Link to comment
Share on other sites

I think the 30% (14 blue balls) is too simple. The kicker is the "each" ball has a 70% chance of being red and a 30% chance of being blue. So most likely each ball would be red. This has bugged me. My dad is a mathematician and I'm going to send it to him. If he comes back with 14, I'll accept the 14 and blame law school. 

Link to comment
Share on other sites

5 hours ago, SoulMonster said:

That's how I calculated it, too. But I always have this nagging feeling I am doing it wrong :lol: Statistics do that to me. Thanks, though.

That's how I would calculate it as well.  Not sure how else you would calculate it.  That's how we calculate poker odds, etc.  

Link to comment
Share on other sites

4 hours ago, aliexpress said:

 

I believe if you pulled the balls from a hat one by one the answer would be different, much like the odds of getting red in roulette

 

 

The odds would be 2.33 to 1 that you would pull a red ball over a blue ball.

Edited by Kasanova King
  • Like 1
Link to comment
Share on other sites

1 hour ago, Kasanova King said:

The odds would be 2.33 to 1 that you would pull a red ball over a blue ball.

But those odds would change with each ball you drew. I’ve a nagging feeling there’s some kind of cumulative probability wotnot going on here. Are you picking all of the balls or just a set amount?

@SoulMonster is that the exact wording of the question? 

Link to comment
Share on other sites

Just now, Dazey said:

But those odds would change with each ball you drew. I’ve a nagging feeling there’s some kind of cumulative probability wotnot going on here. Are you picking all of the balls or just a set amount?

@SoulMonster is that the exact wording of the question? 

I am picking all of the balls and the outcomes are independent, i.e. the probability of the last ball being blue is 30 % regardless of what I have picked previously.

Link to comment
Share on other sites

4 minutes ago, SoulMonster said:

I am picking all of the balls and the outcomes are independent, i.e. the probability of the last ball being blue is 30 % regardless of what I have picked previously.

So the balls can be either blue or red until they’re out of the box? What the fuck is this madness? Schrodinger’s box of red and blue balls? :lol: 

Link to comment
Share on other sites

This is similar to die rolls. The probability of rolling a 6 (or any other number) when throwing one die, is 1/6 (because only one of the six sides have 6 pits). If you throw two dice, the probability of both being 6, is 1/36 (1/6 x 1/6). In this way I can calculate the probability of, say, 27 balls being red and the rest being blue, but I am not interested in calculating the probability of a specific outcome, I am interested in knowing what the average outcome will be, e.g. assuming the probabilities are Poisson distributed, what the maximum is. So, let's say I did this 1000 times, and counted the number of blue balls each time, what would the average number be?

If you are interested in the details:

We have an internal R&D project going where we order synthetic DNA sequences. When we order them we ask the subcontractor who does the actual synthesis to insert some randomness in the sequences. Usually you would order something like 5'-ATGGCTAGTCGC-3' and so on, which is a perfectly defined sequence with no room for deviation. But in this project we want the sequences to contain random changes (or mutations), so instead we order something like 5'-ATG11111111TCGC-3' where each 1 in the sequence means that there should be a 70 % of no change and a 30 % chance of a different nucleotide being inserted. We then get millions of these molecules and want to know what the average number of mutations per sequence is.

Link to comment
Share on other sites

23 minutes ago, Dazey said:

But those odds would change with each ball you drew. I’ve a nagging feeling there’s some kind of cumulative probability wotnot going on here. Are you picking all of the balls or just a set amount?

@SoulMonster

Yep, they would. Then you would re-adjust the odds depending on which ball you picked each time. (Unless you put the ball you picked back in.  If so, the odds would still be 2.33 to 1)

Edited by Kasanova King
Link to comment
Share on other sites

15 minutes ago, SoulMonster said:

This is similar to die rolls. The probability of rolling a 6 (or any other number) when throwing one die, is 1/6 (because only one of the six sides have 6 pits). If you throw two dice, the probability of both being 6, is 1/36 (1/6 x 1/6). In this way I can calculate the probability of, say, 27 balls being red and the rest being blue, but I am not interested in calculating the probability of a specific outcome, I am interested in knowing what the average outcome will be, e.g. assuming the probabilities are Poisson distributed, what the maximum is. So, let's say I did this 1000 times, and counted the number of blue balls each time, what would the average number be?

 

As long as you keep all the balls in, the probability won't change.  

Link to comment
Share on other sites

I didn't think this was a which color ball would be pulled from the bag but how many balls would be blue if each ball has a 70% chance of being blue. It ends up being a simple calculation .70(47) & .30(47). So 14 blue balls are in the bag. 

@SoulMonster you're correct. 

Link to comment
Share on other sites

The reason it's confusing is that your question doesn't really make sense.

You've said there is a 30% chance that each ball is red and a 70% chance that each ball is blue.

But - the probability is different for each ball if you're pulling them out of the bag one-by-one.
When you remove one of the balls from the pile (red or blue), the odds of picking a blue or red ball shift. It's not a fixed question.

Consider the first ball you pull, assuming you had 14 red and 33 blue balls of 47 total:

Red = 14/47 = 29.7872%
Blue = 33/47 = 70.21%

You pull a blue ball out of the bag. There are now 14 red and 32 blue of 46 total.

This changes the equation on the next ball:

Red = 14/46 = 30.4347%,
Blue = 32/46 = 69.5652%

So - the odds have will change with the selection of each ball and move closer to 50-50 as you go on.

The only way your question makes sense is if you are asking what the distribution would be if you were to empty the bag all at once. In which case, the answer is as simple as you're instinctively thinking (14).

  • Like 2
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...