1
   

Probability homework

 
 
Reply Fri 20 Jan, 2017 11:23 am
My 7th-grade daughter brought this problem home today and I'm having trouble figuring it out.

Each box contains a pen with one of four colors, equally likely. Each box is independent.

After opening N (N=4) boxes, what is probability you have a full set (all 4 colors)?

My daughter came up with the following solution which I verified with a quick Matlab run.
P(set)=P(any color in box 1)*P(different color in box 2)*P(different color in box 3)*P(different color in box 4)
P(set)=1*.75*.5*.25
P(set)=.094

I tried a more formal method (because the next problem requires a higher value of N) and got a different answer.
P(set)=P(at least one blue)*P(at least one red|at least one blue)*P(at least one yellow|at least one red & blue)*P(at least one green|at least one red & blue & yellow)

P(at least one blue)=[1-P(no blue in any box)]=[1-.75^4]=.684
P(at least one red|at least one blue)=[1-P(no red in 3 boxes)]=[1-.75^3]=.578
P(at least one yellow|at least one red & blue)=[1-P(no yellow in 2 boxes)]=[1-.75^2]=.438
P(at least one green|at least one red & blue & yellow)=[1-P(no green in last box)]=[1-.75]=.25

So, P(set)=.684*.578*.438*.25=.043

I know the first answer is right. I don't know why the second method doesn't work. Can someone please point out my mistake?
  • Topic Stats
  • Top Replies
  • Link to this Topic
Type: Question • Score: 1 • Views: 1,062 • Replies: 7
No top replies

 
dalehileman
 
  -2  
Reply Fri 20 Jan, 2017 01:38 pm
@bekmonster,
Bek you might find that many of us resent others' homework
However no offense and good lukt'ya
bekmonster
 
  1  
Reply Fri 20 Jan, 2017 02:40 pm
@dalehileman,
The homework was due this morning. At this point I'm just frustrated I couldn't work out the answer. I was fairly certain my method would work but clearly didn't because I couldn't verify it for N=4.

Whatever. I was in the pursuit of knowledge. I'll look elsewhere.
dalehileman
 
  -2  
Reply Fri 20 Jan, 2017 03:50 pm
@bekmonster,
Bek hang in there! Some of our guys are experts at nearly everything and if interest aroused will respond anyhow

There's another group, however, we csll the TAATANE, who can find a reason to crit nearly anything so you must learn to ignor'em
bekmonster
 
  1  
Reply Fri 20 Jan, 2017 08:38 pm
@dalehileman,
sorry. its just been 25 yrs since my last statistics class but its still embarrassing that I can't answer my 7th grader's questions. I thought for sure I had this one but it clearly doesn't verify for N=4. I clearly put some work into this so I'm not just asking for the answer. I'm looking for where I may have gone wrong in my thinking. I was hoping this was a no-brainer for a probability geek and could get a quick answer.
dalehileman
 
  0  
Reply Sat 21 Jan, 2017 02:39 pm
@bekmonster,
Well, Kmon, it's only one day. I'd be willing to bet you'll hear from Eng or one of those other fellsa who are real math wizards

Oft thought ever mem oughta register in a link describing his specialty
bekmonster
 
  1  
Reply Sat 21 Jan, 2017 03:18 pm
@dalehileman,
I've figured out why my method won't work. I was calculating the P(at least one green|at least one red & blue & yellow) incorrectly. For N=4, I assumed that the color of the last pen was equally likely - its not. Given the permutations, you actually have a 40% chance of having the last color if you already have at least one of the other three. So I need to start over anyway.
dalehileman
 
  0  
Reply Sat 21 Jan, 2017 04:18 pm
@bekmonster,
Aha! Bek (as if I understood perfectly)
0 Replies
 
 

Related Topics

present value calculation - Question by magikarppp
Bays Theorem - Question by klazman
Amount of Time - Question by Randy Dandy
Stop multi-tasking. - Question by suzis114
The movie Contagion questions. - Question by acacia410
The fall of communism - Question by jtee25
[ESSAY] Indian Partition of 1947 - Question by skiiful
 
  1. Forums
  2. » Probability homework
Copyright © 2024 MadLab, LLC :: Terms of Service :: Privacy Policy :: Page generated in 0.03 seconds on 04/16/2024 at 01:05:19