BaşlayınÜcretsiz Başlayın

Calculating cumulative density of a binomial

If you flip ten coins that each have a 30% probability of heads, what is the probability at least five are heads?

Bu egzersiz

Foundations of Probability in R

kursunun bir parçasıdır
Kursu Görüntüle

Egzersiz talimatları

  • Answer the above question using the pbinom() function. (Note that you can compute the probability that the number of heads is less than or equal to 4, then take 1 - that probability).

  • Confirm your answer with a simulation of 10,000 trials by finding the number of trials that result in 5 or more heads.

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

# Calculate the probability that at least five coins are heads


# Confirm your answer with a simulation of 10,000 trials
Kodu Düzenle ve Çalıştır