1. सीखें
  2. /
  3. पाठ्यक्रम
  4. /
  5. Foundations of Probability in R

Connected

अभ्यास

Calculating the expected value

What is the expected value of a binomial distribution where 25 coins are flipped, each having a 30% chance of heads?

निर्देश

100 XP
  • Calculate this using the exact formula you learned in the lecture: the expected value of the binomial is size * p. Print this result to the screen.
  • Confirm with a simulation of 10,000 draws from the binomial.