Situation: n sequential Bernoulli experiments, with success rate p for a single trial. Single trials are independent from each other.
A binomial experiment (also known as a Bernoulli trial) is a statistical experiment that has the following properties:
We are only interested in the number of successes in total after n trials, random variable X is then:
X = “ Number of successes in n trials”
This leads to a sample space of
Ω = {0, 1, 2, . . . , n}
What is the general expression for pX(k) for all possible k = 0, . . . , n
pX(k) = P(X = k)
We want to find the probability, that in a sequence of n trials there are exactly k successes.
Now, there are possible ways of selecting k numbers out of the n possible numbers.
So, if s is a sequence with k successes and n−k failures, we already know the probability:
This probability mass function is called the Binomial mass function.