Topic1.4-Functions of Random Variables
Topic1.4-Functions of Random Variables
An essential task for civil engineers is to predict the distribution of y given the statistics of x
Suppose
𝑌 = 𝑔(𝑋)
where the PDF of the random variable, X, is pX(x); and g is a monotonic function of x
−1
𝑑𝑔
𝑝𝑌 𝑦 = 𝑝𝑋 (𝑔−1 )
𝑑𝑦
Analytical solutions
𝒀 = 𝑎1 𝑿1 + 𝑎2 𝑿2
𝑬 𝒀 = 𝑎1 𝑬(𝑿1 ) + 𝑎2 𝑬(𝑿𝟐 )
By deduction
𝑬 𝒀 = 𝑎𝑖 𝑬(𝑿𝑖 )
𝒀 = 𝑎1 𝑿1 + 𝑎2 𝑿2 𝝁𝒀 = 𝑎1 𝜇1 + 𝑎2 𝜇2
𝝈𝒀 = 𝑎1 2 𝜎1 2 + 𝑎2 2 𝜎2 2 + 2𝑎1 𝑎2 𝝆𝜎1 𝜎2
Generalisation
If Xi = N (𝜇𝑖 , 𝜎𝑖 ) where i = 1 … n
then Y = N (𝜇Y, 𝜎Y), where
𝒀 = 𝑎1 𝑿1 + 𝑎2 𝑿2 𝝁𝒀 = 𝑎1 𝜇1 + 𝑎2 𝜇2 + ⋯ + 𝑎𝑛 𝜇𝑛
+ … + 𝑎𝑛 𝑿𝑛
𝝈𝒀 = 𝑎𝑖 2 𝜎𝑖 2 + 𝑐𝑜𝑟𝑟𝑒𝑙𝑎𝑡𝑖𝑜𝑛 𝑡𝑒𝑟𝑚𝑠
𝑖
Applications to common linear functions
In matrix form:
𝝁𝒀 = 𝑔(𝝁𝒙 ) 𝝈𝒀 = 𝑨𝑪𝑿 𝑨𝑻
Applications to common linear functions
Central Limit Theorem: S will approach a normal distribution regardless the individual
probability distribution of 𝑿𝒊 if N is large enough
Example 1
Suppose a column with a ultimate capacity, R, is subjected to a total vertical load S, which is
composed of three type of loadings, namely D, L and W
𝑆 =𝐷+𝐿+𝑊
S=D+L+W
Column with
mD = 4.2 , sD = 0.3
capacity, R
mL = 6.5 , sL = 0.8
mW = 3.4 , sW = 0.7
Example 1
Question 1(a): What is the probability that the total load exceeds 18?
18 − 𝜇𝑆
𝑃 𝑆 > 18 = 1 − Φ( )
𝜎𝑆 S=D+L+W
𝝁𝑺 = 𝜇𝐷 + 𝜇𝐿 + 𝜇𝑊 = 14.1
𝝈𝑺 = 𝜎𝐷 2 + 𝜎𝐿 2 + 𝜎𝑊 2 = 1.1
Column with
capacity, R
𝑃 𝑆 > 18 = 1 − Φ 3.55 = 0.000193
Example 1
Question 1(b): What is the probability of column failure (i.e., R < S)?
Hence,
Column with
capacity, R
mR = 1.5 mS = 21.15
sR = 15% x 21.15 = 3.17
Example 1
Question 1(b): What is the probability of column failure (i.e., R < S)?
Therefore
𝝁𝑿 = 𝜇𝑅 − 𝜇𝑆 = 7.05
S=D+L+W
𝝈𝑿 = 𝜎𝑅 2 + 𝜎𝑆 2 = 3.36
Hence
0 − 7.05 Column with
𝑃 𝑓𝑎𝑖𝑙𝑢𝑟𝑒 = 𝑃 𝑿 < 0 = Φ capacity, R
3.36
= 0.018
Example 1
Question (c): If the target P (failure) = 0.001, what is the corresponding mR?
−𝜇𝑅 + 14.1
= −3.09
0.15𝜇𝑅 2 + 1.12
Column with
Solving the quadratic equation gives 𝜇𝑅 = 8.81 or 26.9 capacity, R
Question 2(a): What is the mean (𝝁𝑺 ) and COV (𝜹𝑺 ) of the footing settlement?
From observation
𝑃𝐵𝐼
𝑆=
𝑀
S
Considering P, B, I and M are m c.o.v.
P 1.0 0.10
1. Statistical independent B 6.0 0
2. Log-normally distributed 0.6 0.10
I Sand
Footing
M 32.0 0.15
P
Sand Property – M Footing Property –
B and I
Example 2
Question 2(a): What is the mean (𝝁𝑺 ) and COV (𝜹𝑺 ) of the footing settlement?
𝑃𝐵𝐼
𝑆= ln𝑆 = ln 𝑃 + ln 𝐵 + ln 𝐼 − ln 𝑀
𝑀
𝑌 = 𝑋1 + 𝑋2 + 𝑋3 − 𝑋4
Therefore
2 2 2 2
𝜁𝑆 = 𝜁𝑃 + 𝜁𝐵 + 𝜁𝐼 + 𝜁𝑀
Example 2
Question 2(a): What is the mean (𝝁𝑺 ) and COV (𝜹𝑺 ) of the footing settlement?
1 2
𝜆𝑃 = ln(1.0) − 0.1 = −0.005
2
𝜆𝐵 = 1.792 𝜆𝐼 = −0.516 𝜆𝑀 = 3.455
Hence
𝜆𝑆 = 𝜆𝑃 + 𝜆𝐵 + 𝜆𝐼 − 𝜆𝑀 = −𝟐. 𝟏𝟖𝟒
𝜁𝑆 = 𝜁𝑃 2 + 𝜁𝐵 2 + 𝜁𝐼 2 + 𝜁𝑀 2 = 𝟎. 𝟐𝟎𝟔
Recall
1 1 2
𝝁𝑺 = exp 𝜆𝑆 + 𝜁𝑆 2 = 0.115 (ft) 𝜹𝑺 ≅ 𝜁𝑆 = 0.206 𝜆 = ln 𝜇 − 𝛿
2 2
Example 2
Question 2(b): If the maximum allowable settlement is 2.5 inch, what is the reliability against
excessive settlement?
2.5
ln( ) − (−2.184)
=Φ 12 = 𝟎. 𝟗𝟗𝟖𝟔
0.206
Example 2
Question 2(c): Your fellow engineer spent $100 so that the COV of M is reduced to 5% for
getting better information. If you were him, would you spend this money? Assuming that the
damaging cost for the exceedance of the max. allowable settlement is $50,000
Then
1 2
𝛿𝑀 = 0.05 𝜆𝑀 = ln(32) − 0.05 = 3.465
2
𝜆𝑆 = −𝟐. 𝟏𝟗𝟒 𝜁𝑆 = 𝟎. 𝟏𝟓
2.5
ln( ) − (−2.194)
Φ 12 = 𝟎. 𝟗𝟗𝟗𝟗𝟖
0.15
Example 2
Question 2(c): Your fellow engineer spent $100 so that the COV of M is reduced to 5% for
getting better information. If you were him, would you spend this money? Assuming that the
damaging cost for the exceedance of the max. allowable settlement is $50,000
Assume the initial cost of construction is C0, then the expected cost of the first design (i.e.,
without spending money)
𝐸 𝐶1 = 𝐶0 + (1 − 𝑟𝑒𝑙𝑖𝑎𝑏𝑖𝑙𝑖𝑡𝑦)(𝑐𝑜𝑠𝑡 𝑜𝑓 𝑓𝑎𝑖𝑙𝑢𝑟𝑒)
= 𝐶0 + 1 − 0.9986 50000 = 𝑪𝟎 + 𝟕𝟎
For the second design,
𝐸 𝐶2 = 𝑪𝟎 + 𝟏𝟎𝟎 + 𝟏 = 𝑪𝟎 + 𝟏𝟎𝟏
Since 𝐸 𝐶1 < 𝐸 𝐶2 , thus better NOT spending the money
Taylor series expansion method
Advantages:
However
1. Computation difficulties
2. We do not always have a closed-form fX(x) to solve analytically
Nonlinear functions
Higher-order terms
g’(mX) (X – mX)
g(mX)
mX X X
𝒀 = 𝑔 𝑋 = 𝑔 𝜇𝑋 + 𝑔 ′ 𝜇𝑋 𝑋 − 𝜇𝑋 𝜇𝑋
𝑬 𝒀 =𝐸 𝑔 𝑋 ≅ 𝑔 𝜇𝑋 + 𝑔′ 𝜇𝑋 𝑋 − 𝜇𝑋 = 𝒈 𝝁𝑿
Assumptions:
1. g(x) is normally distributed;
2. g(x) < 0 denotes failure
0−𝐸 𝑔 𝒙 −𝐸 𝑔 𝒙 𝐸𝑔 𝒙
𝑝𝑓 = 𝑃 𝑔 𝒙 < 0 = 𝑃 =Φ =1−Φ
𝑉𝑎𝑟(𝑔 𝒙 ) 𝑉𝑎𝑟(𝑔 𝒙 ) 𝑉𝑎𝑟(𝑔 𝒙 )
𝐸𝑔 𝒙
𝜷=
𝑉𝑎𝑟(𝑔 𝒙 )
Nonlinear functions
𝒀 = 𝑔(𝑿𝟏 , 𝑿𝟐 , 𝑿𝟑 , … , 𝑿𝒏 )
𝑬 𝒀 = 𝑔 𝜇1 , 𝜇2 , 𝜇3 , … , 𝜇𝑛 = 𝑔(𝝁𝑿 )
2
𝑑𝑔 𝑑𝑔 𝑑𝑔
𝑽𝒂𝒓 𝒀 = +2 ∙ 𝜌𝑋𝑖 𝜌𝑋𝑗 𝜎𝑋𝑖 𝜎𝑋𝑗 + ⋯ = 𝐆𝐂𝐗 𝐆𝑻
𝑑𝑋𝑖 𝝁𝒊
𝑑𝑋𝑖 𝑑𝑋𝑗
𝑦 = 𝑔 𝑥1 , 𝑥2 = 𝑥1 𝑥2 + 𝑥12
𝜕𝑔(𝒙) 𝜕𝑔(𝒙)
ቤ = 𝑥2 + 2𝑥1 = 𝜇2 + 2𝜇1 = 4 ቤ = 𝑥1 = 𝜇1 = 1
𝜕𝑥1 𝑥=𝝁 𝜕𝑥2 𝑥=𝝁
𝒙 𝒙
𝜕𝑔(𝒙) 𝜕𝑔(𝒙) 12
−0.5 × 1 × 2 = 1 −1
𝐆= ቤ , ቤ = 3,1 𝐂𝐗 =
𝜕𝑥1 𝑥=𝝁 𝜕𝑥2 𝑥=𝝁 −0.5 × 1 × 2 22 −1 4
𝒙 𝒙
1 −1 3
𝝈𝒀 = 𝑽𝒂𝒓 𝑔(𝒙) ≈ 𝐆𝐂𝐗 𝐆 𝑻 = 3,1 × × = 2.646
−1 4 1
=sqrt(MMULT(MMULT(B11:C11, B13:C14),B16:B17))
Example 2
𝝁𝒀 ≈ 𝑔 𝜇1 , 𝜇2 = 𝜇1 𝜇2 + 𝜇12 = 1 × 2 + 12 = 4
1 −1 3
𝝈𝒀 = 𝑽𝒂𝒓 𝑔(𝒙) ≈ 𝐆𝐂𝐗 𝐆 𝑻 = 3,1 × × = 2.646
−1 4 1
𝑔(𝝁𝑿 ) 4
𝜷= = = 1.512
𝐆𝐂𝐗 𝐆 𝑻 2.646
Hence
𝑝𝑓 = 1 − Φ 𝜷 = 1 − Φ 1.134 = 𝟎. 𝟎𝟔𝟓
=normdist(-B20,0,1,1)
Example 3
𝑁𝛾 = 1.8 𝑁𝑞 − 1 tan ∅′
𝜋 ∅′ 𝜋 tan ∅′
𝑁𝑞 = tan2 + 𝑒
4 2
𝐵 = 2 m; 𝐷𝑓 = 0.5 m; 𝛾𝑠 =20 kN/m3
𝑁𝑐 = 𝑁𝑞 − 1 cot ∅′ 𝜇𝑐 = 8 kPa 𝜎𝑐 = 2 kPa
𝜇∅′ = 30 o 𝜎∅′ = 3 o 𝜌𝑐∅′ = -0.4
Example 3
𝒈 𝒄, ∅′ = 𝑭𝒔 𝒄, ∅′ − 1
Based on the Taylor’s series expansion method and using the central difference method:
Hence, 𝐆 = 0.060,0.211
Example 3
Statistics of 𝑭𝒔
𝝁𝑭𝒔 ≈ 𝑔 𝜇𝑐 , 𝜇∅′ = 1.573 𝝈𝑭𝒔 ≈ 𝐆𝐂𝐗 𝐆 𝑻 = 0.595
Since 𝒈 𝒄, ∅′ = 𝑭𝒔 𝒄, ∅′ − 1, statistics of 𝒈 𝒄, ∅′
Thus,
𝝁𝒈
𝜷= = 0.964
𝝈𝒈
𝒑𝒇 = 𝟏 − 𝜱 𝜷 = 𝟎. 𝟏𝟔𝟕
Point estimate methods (PEM)
By evaluating the performance function, g, at a few concentration points, one
can estimate the system response y.
General procedures:
Suppose 𝒀 = 𝑔(𝑿)
where g is a nonlinear function; and 𝑿 is a vector of n symmetric random variables.
The mth order moment of y can be estimated approximately using the following equation:
4
𝑚
𝐸 𝑦 𝑚 = 𝑃++ 𝑦++ 𝑚
+ 𝑃+− 𝑦+− 𝑚
+ 𝑃−+ 𝑦−+ 𝑚
+ 𝑃−− 𝑦−− = 𝑃𝑖 𝑦𝑖𝑚
𝑖=1
Illustrating example
4
The mean of 𝑭𝒔 , 𝐸 𝑭𝒔 , can be calculated as: 𝑃𝑖 𝑦𝑖 = 1.697
𝑖=1
4
The mean of 𝑭𝟐𝒔 , 𝐸 𝑭𝟐𝒔 , can be calculated as: 𝑃𝑖 𝑦𝑖2 = 3.200
𝑖=1
Illustrating example
Thus, the reliability index and the failure probability can be evaluated by:
𝝁𝒈 ≈ 𝝁𝑭𝒔 − 𝟏 = 0.697 𝝈𝒈 ≈ 𝝈𝑭𝒔 = 0.566
𝝁𝒈
𝜷= = 1.232
𝝈𝒈
(Note: The Rosenblueth’s method predicts a lower failure
𝒑𝒇 = 𝟏 − 𝜱 𝜷 = 𝟎. 𝟏𝟎𝟗 probability than the Taylor’s series expansion method)
Rosenblueth’s method
In the Rosenblueth’s method, g can be first evaluated at the following 𝟐𝒏 (i.e. eight) points:
𝑦+++ = 𝑔 𝜇1 + 𝜎1 , 𝜇2 + 𝜎2 , 𝜇3 + 𝜎3 𝑃+++ = 1 + 𝜌12 + 𝜌13 + 𝜌23 /8
𝑦++− = 𝑔 𝜇1 + 𝜎1 , 𝜇2 + 𝜎2 , 𝜇3 − 𝜎3 𝑃++− = 1 + 𝜌12 − 𝜌13 − 𝜌23 /8
𝑦+−+ = 𝑔 𝜇1 + 𝜎1 , 𝜇2 − 𝜎2 , 𝜇3 + 𝜎3 𝑃+−+ = 1 − 𝜌12 + 𝜌13 − 𝜌23 /8
…
The mth order moment of y can be estimated approximately using the following equation:
8
𝐸 𝑦 𝑚
= 𝑃𝑖 𝑦𝑖𝑚
𝑖=1
Rosenblueth’s method
Generalisation
Suppose 𝑠𝑖 is positive when the value of the ith variable is one s.d. above the mean
is negative when the value of the ith variable is one s.d. below the mean
1
𝑃(𝑠1𝑠2…𝑠𝑛 ) = 1 + σ𝑛−1 σ 𝑛
𝑖=1 𝑗=𝑖+1 𝑠𝑖 𝑠𝑗 𝜌𝑖𝑗
𝟐𝒏
Again,
𝟐𝒏
𝐸 𝑦𝑚 = 𝑃𝑖 𝑦𝑖𝑚
𝑖=1
End of lecture note