05 PDF
05 PDF
05 PDF
• In this chapter:
• Review several important probability distributions
• Present some typical application of these models
3. f ( x) = 0, if x is not in RX
x
• Properties a b
x0
1. P( X = x0 ) = 0, because ∫ f ( x)dx = 0
x0
⎧ 1 − x / 2
⎪ e ,x ≥0
f ( x) = ⎨ 2
⎪⎩0 , otherwise
• If X is discrete, then F ( x) = ∑ p( xi ) 1
xi ≤ x
x
• If X is continuous, then F ( x) = ∫ f (t )dt
−∞
x
• Properties
1. F is nondecreasing function. If a ≤ b, then F (a) ≤ F (b)
2. lim F ( x) = 1
x →∞
3. lim F ( x) = 0
x →−∞
• If X is discrete E ( X ) = ∑ xi p( xi )
all i
• If X is continuous
∞
E ( X ) = ∫ x ⋅ f ( x)dx
−∞
f(x) f(x)
σ2 σ2
large small
x x
µ µ
• Attention:
• The standard deviation of two different data sets may be difficult to compare
Partial Integration
E(a1x1+a2x2+…+akxk) = a1E(x1)+a2E(x2)+…+akE(xk)
standard deviation σ
C.O.V = = ,µ > 0
mean µ
E(xy) = E(x)E(y)
σ xy2
Correlation (x, y) = ρ x , y =
σ xσ y
F(x)
1
α
x
xα
• Relationship:
• The median is the 50-percentile or 0.5-quantile
n
• Mean:
∞
E ( X ) = µ = ∑ pi xi = ∫ x ⋅ f ( x)dx
−∞
i =1
• Median: The 0.5-quantile, i.e., the xi for that half of the values
are smaller and the other half is larger.
• Mode: The most likely value, i.e., the xi that has the highest
probabiliy pi or the x at which the PDF is maximum.
pdf, f(x)
pdf, f(x)
Median Median
Mean Mean
x x x
Mode Mode
pdf, f(x)
Median
pdf, f(x)
Median
Mean Mean
x x
Is data Yes
categorial?
Use mode
No
Is total of Yes
interest? Use mean
No
Is
Yes
distribution Use median
skewed?
No
Use mean
Fn ( z ) ⎯n⎯
⎯→ Θ( z )
→∞
X (n) ⎯n⎯
⎯→ µ with probability 1
→∞
Sample mean
failure success
1 n
⎧⎛ n ⎞ x n − x
⎪⎜⎜ ⎟⎟ p q , x = 0,1,2,..., n
p( x) = ⎨⎝ x ⎠
⎪0, otherwise
⎩
The number of
Probability that
outcomes having the
there are
required number of
x successes and
successes and
(n-x) failures
failures
success
⎧ q x −1 p, x = 0,1,2,..., n
p( x) = ⎨
⎩0, otherwise
k-th success
• If X is a negative binomial distribution with parameters p and
k, then:
⎧⎛ x − 1⎞ x − k k
⎪⎜⎜ ⎟⎟ q p , x = k , k + 1, k + 2,...
p( x) = ⎨⎝ k − 1⎠
⎪0, otherwise
⎩
⎛ x − 1⎞ x − k k −1
p ( x) = ⎜⎜ ⎟⎟ q p ⋅ p
⎝ k − 1⎠
k − th success
(k-1 ) successes
⎧ 1 ⎧0, x<a
⎪ , a≤ x≤b ⎪ x − a
f ( x) = ⎨ b − a F ( x) = ⎨ , a≤ x<b
⎪⎩0, otherwise ⎪ b − a
⎩1, x≥b
• Properties
• P(x1 < X < x2) is proportional to the length of the interval
[F(x2) – F(x1) = (x2-x1)/(b-a)]
• E(X) = (a+b)/2 V(X) = (b-a)2/12
• The probability that the lamp lasts longer than its mean life is:
P(X > 3) = 1 – P(X < 3) = 1 – (1 – e -3/3) = e -1 = 0.368
P( X > s + t )
P( X > s + t | X > s) =
P( X > s)
−λ ( s +t )
e
= − λs
e
− λt
=e
= P( X > t )
• Example: υ = 0 and α = 1:
• For β = 1, υ=0
⎧ 1 − αx
f ( x) = ⎨α e , x ≥ ν
⎪
⎪⎩0, otherwise
When β = 1,
X ~ exp(λ = 1/α)
• Properties:
• lim f ( x) = 0, and lim f ( x) = 0
x→−∞ x→∞
• f(µ - x) = f(µ + x); the PDF is symmetric about µ.
• The maximum value of the PDF occurs at x = µ
Æ the mean and mode are equal
X −µ
• Transformation of variables: let Z = ,
σ
⎛ x − µ ⎞
F ( x) = P ( X ≤ x ) = P⎜ Z ≤ ⎟
⎝ σ ⎠
( x−µ ) /σ 1 −2z2
=∫ e dz
−∞
2π
( x−µ ) /σ
=∫ φ ( z )dz = Φ ( xσ− µ ) , where Φ( z ) = ∫
z 1 −t 2 / 2
e dt
−∞ −∞
2π
2
• Mean E(X) = e µ+σ /2
2 2
• Variance V(X) = e 2µ+σ /2 (eσ - 1)
(λt ) n −λt
P(N (t ) = n ) = e , for t ≥ 0 and n = 0,1,2,...
n!
• Stationary increment:
• The number of arrivals in time s to t, with s<t, is also Poisson-
distributed with mean λ(t-s)
• The 1st arrival occurs after time t iff there are no arrivals in the interval [0, t],
hence:
P(A1 > t) = P(N(t) = 0) = e-λt
P(A1 ≤ t) = 1- P(A1 > t) = 1 – e-λt [CDF of exp(λ)]
• N(t) = N1(t) + N2(t), where N1(t) and N2(t) are both Poisson processes
with rates λ p and λ (1-p)
λp N1(t) ~ Poisson(λp)
λ
Ν (t) ~ Poisson(λ)
N2(t) ~ Poisson(λ(1-p) )
λ(1-p)
Calling population
Time
Time 0 eor eod eor
• Other distribution:
x
• Bernoulli
• Binomial
• Hyperexponential