HW1

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

University of Turkish Aeronautical Association

Electrical and Electronics Engineering


Probability and Random Variables EEE 313
Homework 1
Dr. Özgür KELEKÇİ

İbrahim Yakut
190441005
Question 1)
Matlab code Best Fitting Parameters

Matlab code for Weibull Distribution Density Function

Matlab Graph of Weibull Distribution Density Function


QUESTİON 2)
Hazard Function

First we need to find cumulative distribution function of the weibull distribution.


𝑡 𝑡
𝛽 𝑢 𝛽−1 −(𝑢)𝛽 𝑡
−( )𝛽
𝐹 (𝑡) = ∫ 𝑓 (𝑢)𝑑𝑢 = ∫ ( ) 𝑒 𝛿 =1−𝑒 𝛿
0 0 𝛿 𝛿

𝛽 𝑡 𝛽−1 −(𝛿𝑡 )𝛽 𝛽 𝑡 𝛽−1 −(𝛿𝑡 )𝛽


𝑓(𝑡) ( ) 𝑒 ( ) 𝑒
𝑟(𝑡) = = 𝛿 𝛿 = 𝛿 𝛿
𝛽 𝛽
1 − 𝐹(𝑡) 𝑡
−( )
𝑡
−( )
1 − (1 − 𝑒 𝛿 ) 𝑒 𝛿

𝛽 𝑡 𝛽−1
𝑟(𝑡) = ( )
𝛿 𝛿
Matlab Code for Hazard Function

Matlab Graph for Hazard Function


QUESTİON 3)
Mean (Expected Value) and Variance
1
𝜇 = 𝐸 (𝑋) = 𝛿. Г (1 + ), 𝛽>1
𝛽
2
2 1
𝜎 2 = 𝑉 (𝑋) = 𝛿 2 [ Г (1 + )] − 𝛿 2 [ Г (1 + )] , 𝛽>1
𝛽 𝛽
Mean = 𝜇 = 18.183
Variance = 𝜎 2 = 153.157

You might also like