Solving Discrete Distribution: P(X = 0 & 1)

  • Context: Graduate 
  • Thread starter Thread starter Somefantastik
  • Start date Start date
  • Tags Tags
    Discrete Distribution
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
5 replies · 2K views
Somefantastik
Messages
226
Reaction score
0
I need help getting started on this.

Want to generate a random variable X, equally likely 0, 1, using biased coin (heads probability p).

1. Flip coin, result is labled [tex]0_{1}[/tex]
2. Flip coin, result is labeled [tex]0_{2}[/tex]
3. [tex]0_{1} = 0_{2}[/tex]=> return to step 1
4. [tex]0_{2}[/tex]= heads => X = 0, [tex]0_{2}[/tex] = tails => X = 1

Show X is equally likely to be 0 or 1.

A good place to start would be showing P{X = 0} = P{X = 1}. Can you show me how to find those two probabilities?
 
Last edited:
Physics news on Phys.org
Keeping in mind that this is a biased coin, can someone please show me how to explicitly find P{X = 0}? I understand that it is equal to 1/2 but I need to see how to get there.
 
Is there a simpler way to do this where you continuously flip a coin until the last 2 results are different, that sets X = 0 if the final flip is a head, X = 1 if final flip is a tail?
 
Somefantastik said:
Is there a simpler way to do this where you continuously flip a coin until the last 2 results are different, that sets X = 0 if the final flip is a head, X = 1 if final flip is a tail?
No. A sequence of heads followed by one tail has a different probability than a sequence of tails followed by one head. You always need to start fresh as described in your original statement.