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 03-02-2005, 03:07 PM
srikank srikank is offline
Junior Member
 
Join Date: Mar 2005
Posts: 4
Default A simple probability question!

Hi,

I am having difficulty with the following problem:

You can have a state of 256 different elements (0-255). An element between 0-255 appears only once in a state of 256 elements. I understand that there are N! possible states. Now I want to calculate the probability of a state that has some k elements (not necessarily consecutive) common with a state that I have picked. Any suggestions on how to approach this problem? I apologize for the ignorance if it is too simple.

Thank you!
Reply With Quote
  #2  
Old 03-02-2005, 04:20 PM
BeerMoney BeerMoney is offline
Junior Member
 
Join Date: Apr 2004
Posts: 12
Default Re: A simple probability question!


Could you be clearer in your description of your problem?
Reply With Quote
  #3  
Old 03-02-2005, 05:22 PM
AngusThermopyle AngusThermopyle is offline
Senior Member
 
Join Date: Feb 2005
Location: Ankh-Morpork
Posts: 308
Default Re: A simple probability question!

[ QUOTE ]
Could you be clearer in your description of your problem?

[/ QUOTE ]
It seems he is asking:
Given 2 permutations of 256 distinct elements, what are the odds that they will agree on (exactly?) k elements?

( the N! seems to imply he is talking about permutations, as does the "only appears once" )
Reply With Quote
  #4  
Old 03-03-2005, 05:40 PM
srikank srikank is offline
Junior Member
 
Join Date: Mar 2005
Posts: 4
Default Re: A simple probability question!

Hi,

My apologizes for the confusion. It is infact permutation of 256 elements (N! is nothing but 256! ways of arranging 256 unique elements = permutation).

Let me elaborate the question by first defining k-state: A k-state is a partially defined state that includes k elements (not necessarily consecutive). Now let 'A' be a k-state and let 'E' be the event that the current chosen state (one picked from 256! states) has the same k elements as 'A'. So what is P[E]?

If you need more information please let me know. Thanks for your effort in solving this for me.

Sincerely.
Reply With Quote
  #5  
Old 03-03-2005, 07:32 PM
AngusThermopyle AngusThermopyle is offline
Senior Member
 
Join Date: Feb 2005
Location: Ankh-Morpork
Posts: 308
Default Re: A simple probability question!

To me, your question still makes no sense.
Reply With Quote
  #6  
Old 03-03-2005, 11:06 PM
BruceZ BruceZ is offline
Senior Member
 
Join Date: Sep 2002
Posts: 1,636
Default Re: A simple probability question!

[ QUOTE ]
Hi,

My apologizes for the confusion. It is infact permutation of 256 elements (N! is nothing but 256! ways of arranging 256 unique elements = permutation).

Let me elaborate the question by first defining k-state: A k-state is a partially defined state that includes k elements (not necessarily consecutive). Now let 'A' be a k-state and let 'E' be the event that the current chosen state (one picked from 256! states) has the same k elements as 'A'. So what is P[E]?

If you need more information please let me know. Thanks for your effort in solving this for me.

Sincerely.

[/ QUOTE ]

If you mean that E must agree with A in k specific places (and it can agree in other places too), then the number of possibilities for A is (256-k)!, and P(E) = (256-k)!/256! = 1/[ k!*C(256,k) ] = 1/P(256,k).

Let me know if you wanted something different.
Reply With Quote
  #7  
Old 03-07-2005, 09:42 AM
srikank srikank is offline
Junior Member
 
Join Date: Mar 2005
Posts: 4
Default Re: A simple probability question!

Hi BruceZ,

Thank you so much. Your answer is very convincing. Please note that A is only partially defined i.e only k elements are defined and not the rest. So E can agree with A on only k specific elements and not more. However that does not change the final answer.

Sincerely,
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 06:01 AM.


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