Probability Distribution
Probability Distribution
Random Variables
•
Random Variables: Example
• A life insurance agent has two Event Probability
elderly clients with policy Y (Younger one dies) P(Y) = 0.05
value of Rs 1 crore upon O (Older one dies) P(O) = 0.10
death
• Y and O are independent
Random Probability Calculation Result
• X = Random variable Variable X =
representing the amount of 0 (Nobody P(YcOc) 0.95 x 0.90 0.855 or 85%
money paid out (in crores) dies)
based on who dies
1 (One of P(YOc) + (0.05 x 0.90) + 0.140 or 14%
• Possible values for X: 0, 1, 2 them dies) P(YcO) (0.95 x 0.10)
crore 2 (Both die) P(YO) 0.05 x 0.10 0.005 or 0.5%
Random Variable Types
• Discrete random variable: Can only take on countable number of
possible values
• Credit ratings: AAA, AA, B, BBB, etc
• Number of orders received on a shopping website (0, 1, 2, 3, …)
• Customer churn: 0 = no churn, 1 = churn
• Continuous random variable: Can take on any value in a certain
interval
• Market share of a company (Infinite possible values between 0% and 100%,
e.g. 45.123%)
• Time taken to place an online order (e.g. 2.5 minutes or 2.55 minutes, etc)
• Waiting time at an ATM (e.g. 30.2 seconds or 45.76 seconds, etc)
Probability Distribution
• Distribution: Describes all the probable outcomes of a variable
• Discrete distribution: Sum of all individual probabilities = 1
• Continuous distribution: Total area under the probability curve (density) = 1
Probability Distribution Types and
Estimations Probability
Distribution Types
Discrete Continuous
Probability
Number of
students we
asked, e.g. 5
Binomial Distribution Example
•
• Exercise: Calculate overall survival rate in titanic dataset and plot the
PDF and CDF
Discrete Distributions:
(3) Poisson Distribution
Poisson Distribution
•
Poisson Distribution
•
Geometric Distribution
•