Mathematical Methods · discrete RVs · manipulative

Choose the successes, then weight

Every string with r successes has the same probability p^r (1−p)^{n−r}. Multiply by how many such strings there are.

success failure P(X = r)
P(X = r)

Binomial(n, p)

6
0.40
2

Working