Lecture04 Ch 04 ContinuousDistributions Baron Inf Stats FA24
Lecture04 Ch 04 ContinuousDistributions Baron Inf Stats FA24
Scientists
Third Edition, By Michael Baron
Chapter 4:
Continuous Distributions
Continuous Random Variables
• A continuous random variable can take any value in an
interval, open or closed, so it has innumerable values
Examples: the height or weight of a chair
• For such a variable X, the probability assigned to an exact
value P(X = a) is always 0, though the probability for it to
fall into interval [a, b], that is, P(a ≤ X ≤ b), can be a
positive number
• Also the CDF for such a variable is a continuous function
given as:
Quiz 3.1: Yates and Goodman
Quiz 3.1: Solution
Probability Density Function
One way to get P(a ≤ X ≤ b): to integrate the
probability density function of X
Probability Density Function (2)
TRY!
Example 4.1 (1): M. Baron
Example 4.1 (2)
Quiz 3.2: Yates and Goodman
Try yourself!
Joint distributions: Continuous
Joint distributions: Continuous (2)
PMF p(x) versus PDF f(x): Joint
Axioms: Joint distribution
Ex 4.4: Yates and Goodman
TRY!
Ex 4.4: Solution
Ex 4.6: Yates and Goodman
Ex 4.6: Solution
Ex 4.7: Yates and Goodman
Expectation of Continuous Variable
p(x) vs. f(x): E[X] and Var(X)
Example 4.2
Uniform Distribution
E[X] = 1 / λ, Var(X) = 1 / λ2
Exponential Distribution (2)
Exponential Distribution (3)
PDF and CDF
Example 3.12: Yates, Goodman
𝑑𝐹𝑇 (𝑡)
Recall: 𝑓𝑇 𝑡 = and 𝑃 2 ≤ 𝑡 ≤ 4 = 𝐹4 4 − 𝐹2 (2)
𝑑𝑡
Example 3.12: Solution
Gamma Distribution
When a process consists of α independent
steps, and each step takes Exp(λ) amount of
time, then the total time has a distribution
Gamma(α, λ), though α may not be an integer
Gamma Distribution (2)
• Gamma distribution can be widely used for the total time
of a multistage scheme, e.g. related to downloading or
installing a number of files.
• In a process of rare events, with Exponential times
between any two consecutive events, the time of the α-th
event has Gamma distribution because it consists of α
independent Exponential times.
• Besides the case when a Gamma variable represents a
sum of independent Exponential variables, Gamma
distribution is often used for the amount of money being
paid, amount of a commodity being used (gas, electricity,
etc.), a loss incurred by some accident, etc.
Gamma Distribution (3)
Normal Distribution
Normal (Gaussian) distribution N(μ,2) is often
used as a model for physical variables like weight,
height, temperature, or examination grade.
Normal Distribution (2)
Normal Distribution (3)
Bin(n, p) ≈ N(np, np(1 – p)) when n is large, and
p is moderate.
N(0, 1) is called Standard Normal distribution,
written as φ(x).
Central Limit Theorem
• The Central Limit Theorem (CLT) states that, in most
situations, when many independent random variables
of the same type are added, their properly normalized
sum tends towards a normal distribution, even if the
original variables themselves are not normally
distributed, that is, they can have any distribution
• This theorem is very powerful because it can be
applied to RVs X1, X2,……. having virtually any thinkable
distribution with finite expectation and variance
• As long as n is large (the rule of thumb is n > 30), one
can use Normal distribution to compute probabilities
about the sum (Sn)
Central Limit Theorem (2)
Let X1, X2,… be independent random variables
with the same expectation μ = E(Xi) and the
same standard deviation σ = Std(Xi), and let
Gamma(α, λ) α/λ α / λ2
N(μ, 2) μ 2