Professional Documents
Culture Documents
Lecture 2
Continuous Random Variables
Random variable
• A device to:
a) formalize description of event
b) facilitate computation of
probability
Lecture 2 Probability Analysis for Civil Engineering
0.6 0.6
4 5 6 X 26 30 34 M
wider distribution
PDF
PDF: probability
density function
4 5 6 X 26 30 34 M
CDF
PMF PX(x) FX(x)
dFX ( x )
f X ( x)
dx
Lecture 2 Probability Analysis for Civil Engineering
Define = E(X)
= expected value of X or
mean value of X
xi PX ( xi )
i
a measure of central tendency
Lecture 2 Probability Analysis for Civil Engineering
Define = E(X)
It is a measure of variability
Lecture 2 Probability Analysis for Civil Engineering
Example 1
• Suppose the undrained strength of a clay, cu, has three
possible values:
P(cu = 10 kPa) = 0.1
P(cu = 20 kPa) = 0.6
P(cu = 30 kPa) = 0.3.
Example 2
Lecture 2 Probability Analysis for Civil Engineering
Measure of spread
Normal distribution
1 1 x 2
f X ( x)
2s
exp
2 s x
fX(x) 0.25
0.20
X : N (, s)
0.15
0.10 N (5, 2)
0.05
0.00
-5 0 5 10 15 20 x
=5
Lecture 2 Probability Analysis for Civil Engineering
1
1 s2 0.50
f S (s) e 2 f(s)
2 0.40
0.30
0.20
0.10
0.00
s
-6 -4 -2 0 2 4 6
1
a 1 s2
F(a) e 2
ds
2
-5 -4 -3 -2 -1 0 1a2 3 4 5
Excel function:
norm.dist(x,mean, std,pdf/cdf)
Lecture 2 Probability Analysis for Civil Engineering
Suppose X = N(200,30)
What is the probability that x
is in the range of 230-260?
x P(230 x 260)
=P( x 260) P( x 230)
260 200 230 200
F F
F 30 30
F (2) F (1)
0.977 0.841 0.136
Lecture 2 Probability Analysis for Civil Engineering
1
F 200 30 F (0.99) 270
2.33
Lecture 2 Probability Analysis for Civil Engineering
Lognormal distribution
1 1 ln x
2
f X ( x) exp x0
2 x 2
fX(x) Parameter
0 2 4 6 8
x
Lecture 2 Probability Analysis for Civil Engineering
Parameters
1 2
ln
2
s 2
ln 1 2 ln 1
2 2
ln xm
for 0.3,
Lecture 2 Probability Analysis for Civil Engineering
ln a
P( X a) F
ln b ln a
P (a X b) F F
Gamma distribution
v vx k 1 vx
e x0
f X ( x) ( k )
0 x0
(k )= x k 1e x dx
0
Gamma distribution
k
x
v
k
sx 2
v
Lecture 2 Probability Analysis for Civil Engineering
v vx k 1 vx x 1 x
e x0 e x0
f X ( x) ( k ) f X ( x) ( )
x0
0 x0 0
k , 1/ v
Lecture 2 Probability Analysis for Civil Engineering
Beta distribution
q 1 r 1
(q r ) ( x a) (b x)
f X ( x) q r 1
( q ) ( r ) (b a)
fX(x) a xb
0.3 q = 2.0 ; r = 6.0
0.2 e.g., c, f
0.1 probability
0.0 x
0 2 4 6 8 10 12
a = 2.0 b = 12
Lecture 2 Probability Analysis for Civil Engineering
Gumbel distribution
Gumbel minimum
E z 0.5772
2
P 214
var z
6
Lecture 2 Probability Analysis for Civil Engineering
Gumbel maximum
Maximum Gumbel:
z
F z exp e
z
1 z
f z exp exp e
P 207
E z 0.5772
2 P 213
var z
6
Lecture 2 Probability Analysis for Civil Engineering
Gumbel distribution
Example
Multivariate
distributions
Lecture 2 Probability Analysis for Civil Engineering
32
Lecture 2 Probability Analysis for Civil Engineering
33
Lecture 2 Probability Analysis for Civil Engineering
1 1
f θ 2
θ θ
1
θ
T
exp θ μ C θ μ
2
n /2 1/2
Cθ
n = dimension of q
1 s 12 12s 1s 2
μθ Cθ
2 12s 1s 2 s 22
34
Lecture 2 Probability Analysis for Civil Engineering
Homework
Consider the following measurements about the cohesion
of a soil. Work out the solutions of the following two
problems, assuming the cohesion follows the normal and
lognormal distributions, respectively,