Calculating Expected Value for Coin Flipping - Tips and Tricks

Click For Summary
SUMMARY

The discussion centers on calculating the expected value for the number of flips required to achieve either 3 heads or 3 tails when flipping a coin a maximum of five times. The probability of getting heads or tails is established as 0.5. Participants emphasize the use of a binary probability distribution function (pdf) to derive the expected value, utilizing the formula P(X=x) = f(x) = (n choose x) * p^x * (1-p)^(n-x), where n is the number of trials (5) and x is the desired outcome (3).

PREREQUISITES
  • Understanding of binary probability distribution functions
  • Familiarity with basic probability concepts
  • Knowledge of combinatorial mathematics (n choose x)
  • Ability to perform summation calculations for expected values
NEXT STEPS
  • Study the derivation of the expected value using discrete random variables
  • Learn about the binomial distribution and its applications
  • Explore advanced probability concepts such as Markov chains
  • Practice calculating expected values in various scenarios using Python or R
USEFUL FOR

Students in statistics, mathematicians, and anyone interested in probability theory, particularly those looking to deepen their understanding of expected value calculations in discrete scenarios.

LittleTexan
Messages
7
Reaction score
0
Expected Value -- Please Help

Hello,

I have this question that is bugging me to death. Ok here it is:

If a coin was flipped a maxium number times of five. What is the expected value for the number of flips required to get either 3 heads or 3 tails.

I know the probability of head or tails is 0.5 and I am not sure where to go from this.

Thanks
 
Physics news on Phys.org
Look at the probability of getting 3 heads or 3 tails if you flip the coin once, twice, three times, four times, five times.
 
LittleTexan said:
Hello,

I have this question that is bugging me to death. Ok here it is:

If a coin was flipped a maxium number times of five. What is the expected value for the number of flips required to get either 3 heads or 3 tails.

I know the probability of head or tails is 0.5 and I am not sure where to go from this.

Thanks

Okay, I think I can help you with this one, but I'll leave the solving up to you. Think about it your p.d.f. of this function - it's binary, isn't it? In other words, if you define "success" to be getting HEADS on a given flip, then "failure" is not getting HEADS, right? So:

[tex]P("success") = p = \frac{1}{2}[/tex] and [tex]P("failure") = 1 - p = 1 - \frac{1}{2} = \frac{1}{2}[/tex].

Now, since x has a binary pdf, we know that:

[tex]P(X=x) = f(x) = \left(\begin{array}{c}n\\x\end{array}\right)p^x(1-p)^{n-x}[/tex]

It should be pretty straightforward from there... n is obviously the number of trials that you're doing, which I think you said was 5. x is the number of desired outcomes that you're looking for (so in your case, x=3).

Now, if you're looking for expected value of x, then you should know that's just:

[tex]\sum_{all x} x f(x)[/tex]

You can figure that one out...
 

Similar threads

  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 15 ·
Replies
15
Views
8K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 21 ·
Replies
21
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
Replies
4
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 41 ·
2
Replies
41
Views
9K
Replies
4
Views
3K