Two Plus Two Older Archives  

Go Back   Two Plus Two Older Archives > General Gambling > Probability
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 05-18-2005, 09:18 PM
SGS SGS is offline
Member
 
Join Date: Sep 2002
Posts: 56
Default Expected value problem

Here's a problem I can't figure out how to get going on. Suppose we put 7 balls randomly into 5 boxes. What is the expected number of empty boxes?
Reply With Quote
  #2  
Old 05-18-2005, 09:29 PM
pzhon pzhon is offline
Member
 
Join Date: Mar 2004
Posts: 66
Default Re: Expected value problem

[ QUOTE ]
Suppose we put 7 balls randomly into 5 boxes. What is the expected number of empty boxes?

[/ QUOTE ]
The expected number of empty boxes is the sum of the probabilities that the boxes are empty.

If by "randomly," you mean that each ball is independently placed into each box with probability 1/5, the probability that a particular box is empty is (4/5)^7, so the expected number of empty boxes is 5(4/5)^7.
Reply With Quote
  #3  
Old 05-18-2005, 10:06 PM
BruceZ BruceZ is offline
Senior Member
 
Join Date: Sep 2002
Posts: 1,636
Default Re: Expected value problem

[ QUOTE ]
If by "randomly," you mean that each ball is independently placed into each box with probability 1/5, the probability that a particular box is empty is (4/5)^7, so the expected number of empty boxes is 5(4/5)^7.

[/ QUOTE ]

Nice. I was thinking weighted sum of Maxwell-Boltzman.
Reply With Quote
  #4  
Old 05-18-2005, 11:13 PM
probman probman is offline
Junior Member
 
Join Date: Mar 2005
Posts: 12
Default Re: Expected value problem

Your analysis is wrong. You assume that the event that the boxes are empty are iid events and therefore the expected number of empty boxes is simpley the probability that a given box is empty times the number of boxes. This is not the case. The simplest way to see that your model fails is to realize that all five boxes cannot be empty at the same time. This clearly violates the independent model.
Reply With Quote
  #5  
Old 05-18-2005, 11:31 PM
jason1990 jason1990 is offline
Senior Member
 
Join Date: Sep 2004
Posts: 205
Default Re: Expected value problem

His analysis is correct. The expected value of a sum is the sum of the expected values, always. No need for independence. And he does not assume independence. Namely, if N is the number of empty boxes and Xi is 1 if the ith box is empty and 0 otherwise, then

N = X1 + ... + X5,

so

EN = EX1 + ... + EX5.

But EXi is just the probability the ith box is empty. And this is (4/5)^7, which does not depend on i.
Reply With Quote
  #6  
Old 05-18-2005, 11:42 PM
probman probman is offline
Junior Member
 
Join Date: Mar 2005
Posts: 12
Default Re: Expected value problem

You're right. I over thought the problem.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:34 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.