A first look at hypothesis testing.
For those that use R, below is the R code to find the binomial probability given in this video.
To find the probability that X takes on a value that is at least 28, where X has a binomial distribution with parameters n = 100 and p = 1/4:
1-pbinom(27,100,1/4)
[1] 0.2776195
To find the probability that X takes on a value that is at least 44, where X has a binomial distribution with parameters n = 100 and p = 1/4:
1-pbinom(43,100,1/4)
[1] 2.700295e-05
Continue this lesson in the app
Install CourseHive on Android or iOS to keep learning while you move.