
Nathaniel Z. answered 06/09/24
Ph.D. Candidate in Economics with 4+ Years of Teaching Experience
There is a known formula for this calculation. The binomial PMF (probability mass function) describes the probability of x successes in n trials.
binomial PMF = (number of trials choose number of successes) * (probability of success)^(number of successes) * (1 - probability of success)^(number of trials - number of successes)
In this case:
Pr(x = 28) = (30 C 28) * (0.97)^28 * (1 - 0.97)^(30 - 28) = (30 C 28) * (0.97)^28 * (0.03)^2 = 0.1669 (rounded to 4 decimal places)