


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



Sta 111
Colin Rundel
May 23, 2014
Continuous Random Variables
We have already seen a variety of problems where we find P(X ≤ x) or P(X > x) etc. The former is given a special name - the cumulative distribution function.
If X is discrete with probability mass function f (x) then
P(X ≤ x) = F (x) =
∑^ x z=−∞
f (z)
If X is continuous with probability density function f (x) then
P(X ≤ x) = F (x) =
∫ (^) x −∞
f (z)dz
CDF is defined for for all −∞ < x < ∞ and follows the following rules:
x→−∞^ lim F^ (x) = 0^ xlim→∞F^ (x) = 1^ x^ <^ y^ ⇒^ F^ (x)^ < F (y ) Sta 111 (Colin Rundel) Lecture 8 May 23, 2014 1 / 14
Continuous Random Variables
Let X ∼ Binom(n, p) then
Probability Mass Function
P(X = k) = f (k) =
( n k
) pk^ (1 − p)n−k
Cumulative Density Function
P(X ≤ x) = F (x) =
∑^ bxc k=
( n k
) pk^ (1 − p)n−k
Continuous Random Variables
For a continuous probability distribution
P(X = x) = 0 for all x As such we define the probability density function to be
fX (x) = lim → 0 P(X ∈ [x, x + ])/
A pdf is defined for for all −∞ < x < ∞ and follows the following rules: ∫ (^) ∞ −∞ fX^ (x)^ dx^ = 1 ∫ (^) x −∞ fX^ (t)^ dt^ =^ FX^ (x)^ ⇔^ fX^ (x) =^
d dx FX^ (x) fX (x) ≥ 0 for all x
Continuous Random Variables
Let X ∼ Unif(a, b) then
Probability Mass Function
f (x) =
{ (^1) b−a for^ x^ ∈^ [a,^ b] 0 otherwise
Cumulative Density Function
F (x) =
0 for x ≤ a xb−−aa for x ∈ [a, b] 1 for x ≥ b
Sta 111 (Colin Rundel) Lecture 8 May 23, 2014 4 / 14
Continuous Random Variables
Let X ∼ N (μ, σ^2 ) then
Probability Mass Function
f (x) = √^1 2 πσ e−^
(x−μ)^2 2 σ^2
Cumulative Density Function
F (x) = Φ(x) =
∫ (^) x −∞
√^1 2 πσ e−^
(x−μ)^2 2 σ^2 dx
Sta 111 (Colin Rundel) Lecture 8 May 23, 2014 5 / 14
Continuous Random Variables
Let X = U^2 where U ∼ Unif(0, 1) what are the cdf and pdf of X?
F (x) = P(X ≤ x) = P(U^2 ≤ x) = P(U ≤ √ x) =
0 if x < 0 √x if 0 ≤ x ≤ 1 1 if x > 1
f (x) = (^) dx dF (x) =
0 if x < 0 1 2 √x if 0^ ≤^ x^ ≤^1 0 if x > 1
What is the value of f (x) when x = 0 + ? What is P(X = 0 + )?
Exponential Distribution
We derive the Exponential distribution by thinking of it as a RV that describes the waiting time between events which occur continuously with the rate λ.
λ here has the same meaning as in the Poisson distribution, it is the expected number of events in a given unit of time.
Let us consider one such unit of time, we expect that there will be λ events in this time span. If we subdivide that unit of time into n subinterval then the probability that one of the events falls with a certain subinterval should be approximately λ/n.
Exponential Distribution
Probability density function: Cumulative distribution function:
Sta 111 (Colin Rundel) Lecture 8 May 23, 2014 12 / 14
Exponential Distribution
Let X ∼ Exp(λ) (assume λ has units of events/min) then if we have waited s minutes without observing an event what is the probability that an event occurs in the next t minutes?
Sta 111 (Colin Rundel) Lecture 8 May 23, 2014 13 / 14
Exponential Distribution
Strontium 90 is a radioactive component of fallout from nuclear explosions. The halflife of Strontium 90 is 28 years and the decay of an individual atom can be modeled by an exponential random variable. (a) What is the decay rate λ?
(b) What is the average lifetime of a Strontium 90 atom?
(c) What is the probability that a Strontium 90 atom survives at least 50 years?
(d) What is the probability that a Strontium 90 survives at least 75 years given it has survived at least 25 years?
Sta 111 (Colin Rundel) Lecture 8 May 23, 2014 14 / 14