List 5 — PMF, PDF, and CDF
Mass and density functions with their cumulative distributions
Task 1 — PMF Table (Custom Discrete)
A discrete random variable has the following probability mass function: , , , , . Verify the PMF sums to 1 and derive the CDF .
Sum all probabilities to confirm they form a valid PMF.
The probability mass function assigns mass only at the five support points.
The cumulative distribution function is a right-continuous step function that jumps by at each support point.
Accumulating the PMF values from left to right gives the CDF.
For example, and .
F(x) is a right-continuous step function with jumps of 0.10, 0.25, 0.30, 0.20, 0.15 at x = −2, 0, 1, 3, 5 respectively.
Task 2 — CDF Table → PMF
A discrete random variable has CDF values: , , , , . Recover the PMF from these jump sizes.
For a discrete distribution, the PMF at each support point equals the jump (upward step) of the CDF at that point.
Compute each jump: since is 0 before the first support point, the jump at is .
The resulting PMF assigns probabilities only at the five support points.
Check that the recovered probabilities form a valid PMF.
A discrete CDF is right-continuous: includes the mass at itself. Between support points, is flat (constant). This means .
PMF: P(X=−1)=0.15, P(X=0)=0.20, P(X=2)=0.25, P(X=4)=0.25, P(X=6)=0.15.
Task 3 — Binomial Distribution
For , state the PMF and CDF, compute a worked example with , , and explore how the shape changes with parameters.
The probability of exactly successes in independent Bernoulli trials, each with success probability .
The cumulative probability up to and including successes.
Key moments of the Binomial distribution.
With , : compute and .
Summing from to .
Quality control (defective items in a batch), clinical trials (patients responding to treatment), poll surveys (voters supporting a candidate).
P(X=3) ≈ 0.2668; F(3) ≈ 0.6496 for Bin(10, 0.3).
Task 4 — Geometric Distribution
For , where counts the trial on which the first success occurs, state the PMF and CDF, and compute a worked example with .
The probability that the first success occurs on trial (after failures).
The probability that the first success occurs by trial (closed-form, no infinite sum needed).
Key moments of the Geometric distribution.
With : probability the first success occurs on trial 4, and by trial 4.
Probability of getting the first success within 4 trials.
The Geometric distribution is memoryless: past failures do not affect future probabilities.
Number of attempts until the first success: number of calls until a sale, number of rolls until a six, or number of tests until a defect is found.
P(X=4) = 0.1024; F(4) = 0.5904 for Geo(0.2). Expected first success at trial 5.
Task 5 — Poisson Distribution
For , state the PMF and CDF, compute a worked example with , and identify its key applications.
The probability of observing exactly events in a fixed interval when events occur independently at a constant average rate .
Cumulative probability of at most events (regularised incomplete gamma function).
Notably, both the mean and variance equal .
With : find and .
Sum of , , and .
Customer arrivals per hour, number of typos per page, radioactive decay counts per second, number of insurance claims per day.
P(X=2) ≈ 0.2240; F(2) ≈ 0.4232 for Pois(3).
Task 6 — Hypergeometric Distribution
For , where is the population size, the number of success states, and the number of draws (without replacement), state the PMF and compute an example with , , .
The probability of drawing exactly successes in draws without replacement from a population of items containing successes.
Cumulative sum of the PMF over valid support values.
The mean mirrors the Binomial with ; the variance includes a finite-population correction factor.
With , , : probability of drawing exactly 2 successes.
Sum probabilities for .
When the population is very large relative to , sampling without replacement is nearly the same as sampling with replacement.
Quality sampling (defective items in a batch), ecology (capture-recapture), card games (drawing from a deck), lottery odds.
P(X=2) ≈ 0.2167 for Hyper(20, 5, 4). Mean = 4×(5/20) = 1.
Task 7 — Negative Binomial Distribution
For , where is the trial number on which the -th success occurs, state the PMF and explore its connection to the Geometric distribution, using , .
The probability that the -th success occurs on trial (exactly successes in the first trials, then a success on trial ).
Cumulative probability that the -th success occurs by trial , expressible via the regularised incomplete beta function.
Key moments of the Negative Binomial distribution.
When , the Negative Binomial reduces to the Geometric distribution.
With , : probability the 3rd success occurs on trial 6.
Number of sales calls to close 3 deals, number of experiments to achieve successes, modeling over-dispersed count data (variance mean).
P(X=6) ≈ 0.1382 for NegBin(3, 0.4). Expected trial for 3rd success = 3/0.4 = 7.5.
Task 8 — Beta Distribution
For on , state the PDF and CDF, compute a numerical note, and explore how the shape parameters change the distribution.
The Beta PDF is defined on the unit interval and controlled by two positive shape parameters and .
The Beta function ensures the PDF integrates to 1.
The CDF is the regularised incomplete Beta function .
Key moments of the Beta distribution.
With , : the PDF is , symmetric about .
Different parameter choices yield very different shapes.
Modelling proportions and probabilities (e.g., click-through rates, Bayesian prior for a Binomial probability), order statistics of the uniform distribution.
For Beta(2,2): f(x) = 6x(1−x), mean = 0.5, variance = 1/20 = 0.05.
Task 9 — Gamma Distribution
For with shape and scale , state the PDF and CDF, give a worked example with , , and identify the Chi-square special case.
The Gamma PDF models the waiting time until the -th event in a Poisson process with rate .
The Gamma function generalises the factorial: for positive integers.
The CDF is expressed through the regularised lower incomplete Gamma function .
Key moments of the Gamma distribution.
With , : the PDF simplifies to , .
Numerical values for the , case.
The Chi-square distribution with degrees of freedom is a Gamma with and .
Waiting time until events in a Poisson process, insurance claim sizes, rainfall amounts, time to failure in reliability analysis.
For Gamma(2,2): f(x) = xe^{−x/2}/4, mean = 4, SD ≈ 2.83.
Task 10 — Normal Distribution
For , state the PDF and CDF, explain the zero-probability property of continuous distributions, and explore applications with the standard normal .
The Normal (Gaussian) distribution is the most important continuous distribution, characterised by its bell-shaped, symmetric PDF.
The CDF has no closed form; it is expressed through the error function or the standard normal CDF .
Any Normal variable can be standardised to .
For ANY continuous distribution, the probability of any single exact value is zero — a single point has zero width and thus zero area under the PDF.
Meaningful probabilities are only defined for intervals.
The 68-95-99.7 rule describes probability within 1, 2, 3 standard deviations.
For : find .
Measurement error in physical experiments, human heights and weights, standardised test scores (IQ, SAT), financial returns (as a first approximation), noise in signal processing.
For N(0,1): P(−1 ≤ X ≤ 1) ≈ 0.6827. For any continuous distribution, P(X = a) = 0.