Semester 3MathematicsApplied StatisticsDistributions
Bernoulli Distribution
This is a Discrete Distribution. This is about finding the probability of a single trial outcome.
In bernoulli distribution, the trial outcome must be boolean. (yes/no, 1/0, red/green)
1. The Core Idea
If an experiment has only two outcomes:
- Success () happens with probability
- Failure () happens with probability
A random variable that follows a Bernoulli distribution is written as:
Classic Examples:
- Flipping a fair coin once: (Heads = 1, Tails = 0)
- Converting a website visitor into a sale: (Sale = 1, No sale = 0)
- Passing a test: (Pass = 1, Fail = 0)
PMF
- is boolean value. so either ( or )
- is the probability of happen
Properties
Mean (Expected Value)
Variance
Importance
- This distribution mainly act as an atomic block for many other distributions.
- comes in handy in Logistic Regression