Back4.2 Discrete Random Variables and Probability Distributions
Study Guide - Smart Notes
Tailored notes based on your materials, expanded with key definitions, examples, and context.
Discrete Random Variables & Probability Distributions
Introduction to Random Variables (RV)
A random variable (RV) is a function that assigns a real number to each outcome in a sample space, providing a practical way to describe and analyze random phenomena. In statistics, RVs are essential for quantifying outcomes and facilitating probability calculations.
Definition: An RV is a function , where is the sample space.
Notation: Capital letters such as X, Y, or Z are commonly used to denote random variables.
Examples:
Throwing a fair die: is the number obtained.
Flipping two coins: is the number of heads.
Counting bike accidents in a month: is the number of accidents.
Measuring unemployment rate: is the rate.
Discrete random variables take countable values (e.g., integers), while continuous random variables take any real value within an interval.
Probability Distributions
Probability Mass Function (PMF) and Probability Density Function (PDF)
The probability distribution of a random variable describes the likelihood of each possible outcome.
Discrete RV: Use the probability mass function (PMF):
Continuous RV: Use the probability density function (PDF):
Cumulative Distribution Function (CDF):
The CDF accumulates probabilities up to a given value and is defined for both discrete and continuous RVs.
Discrete Random Variable
Probability Mass Function (PMF)
The PMF assigns probabilities to each possible value of a discrete random variable.
Example: Drawing a ball from a box with balls labeled 1, 2, and 2.
x
1
1/3
2
2/3
Function form:
Properties of PMF
for every
These properties ensure that the PMF is a valid probability distribution.
Examples of Valid PMFs
Binomial Distribution: Number of heads in 2 coin flips
x
0
1/4
1
1/2
2
1/4
Geometric Distribution: Number of flips until first head
y
1
1/2
2
1/4
3
1/8
...
...
Verifying a PMF
To verify a PMF, check non-negativity and that the probabilities sum to 1.
Example:
x
0
0.2
1
?
2
0.4
3
0.1
Solution:
Normalizing constant: If for , then is found by solving .
Cumulative Distribution Function (CDF)
Definition and Properties
The cumulative distribution function (CDF) gives the probability that the random variable is less than or equal to .
For discrete RVs:
The CDF is a step function for discrete RVs, increasing at each possible value.
Example: For as below:
x | ||
|---|---|---|
0 | 0.2 | 0.2 |
1 | 0.3 | 0.5 |
2 | 0.4 | 0.9 |
3 | 0.1 | 1.0 |
Expected Value (Mean)
Definition and Calculation
The expected value of a discrete random variable is the weighted average of its possible values, using the PMF as weights.
Also called the population mean ()
For a function :
Example: If has PMF:
x | |
|---|---|
1 | 1/3 |
2 | 2/3 |
Then
Properties of Expectation
Linearity:
For independent RVs and :
Variance and Standard Deviation
Definition and Calculation
Variance measures the spread of a random variable around its mean.
Alternative formula:
Standard deviation:
Example: If and , then
Properties of Variance
If and are independent:
Conditional Distribution
Conditional PMF
The conditional probability mass function describes the probability of outcomes given a condition.
For , restrict to values greater than 2 and renormalize so probabilities sum to 1.
Example: If for is , then for :
x | |
|---|---|
2 | |
3 |
Conditional Expectation and Variance
Example: For light bulbs lasting 4 or 5 years, with conditional PMF , compute and using the formulas above.
References
Telhammer, R. C. (2013). Mathematical Statistics for Economics and Business. Springer.