For independent and identically distributed random variables y₁ ,y₂,…,yₙ with a probability mass function (pmf) of Bernoulli distribution Bern(p), the mean of the distribution is:
a) n(1−p)
b) np
c) p(1−p)
d) n−p