Member-only story
Statistics Interview Question: What is the difference between the binomial and hypergeometric variable
Statistics is such a broad subject that one never knows exactly what he will be asked during a data science or statistics interview. One question that may come up is:-
What is the difference between the binomial and hypergeometric variable.
Binomial variable
A binomial variable is a number of successes in a set of trials where each trial has exactly two possible outcomes. Some examples of binomial variables are:-
- Coin tosses — the number of tails in 100 coin tosses.
- Dice rolls — the number of sixes in 50 dice rolls.
- True-False questions — the number of correct answers in 30 true-false questions.
- Lottery tickets — the number of winning tickets in tickets purchased.
- Left-handed people — the number of left handers in a group of 100 people.
A random variable follows a binomial distribution when the properties associated with the possible outcomes follow a particular pattern.
Binomial distribution
The binomial distribution represents the number of successes in a set number of tries. The binomial shape can be symmetric or…