Professional Documents
Culture Documents
Fakultas Teknik
Departemen Teknik Sipil dan Lingkungan
VARIABEL RANDOM
Statistika dan Probabilitas
Pengertian
2
Jenis
q
q
Contoh
q
q
http://istiarto.staff.ugm.ac.id
Variabel Random
18-Oct-16
Variabel Random
3
Notasi
q
q
X variabel random
x nilai variabel random
Fungsi
q
q
http://istiarto.staff.ugm.ac.id
Variabel Random
18-Oct-16
q
q
probabilitas fX(xi) = 1
fX(x3)
fX(xn)
http://istiarto.staff.ugm.ac.id
Variabel Random
18-Oct-16
fX(xi)
xn1 xn
FX(xi)
0
5
x1 x2 x3
http://istiarto.staff.ugm.ac.id
xn1 xn
probabilitas
x xi
Variabel Random
18-Oct-16
f X (x i )
xi x
q Distribusi probabilitas
suatu variabel random X untuk X = x
fX (xi ) = FX (xi ) FX (xi 1 )
http://istiarto.staff.ugm.ac.id
Variabel Random
18-Oct-16
Frekuensi relatif
fx i = Fx i Fx i 1
Probabilitas
fX (xi ) = FX (xi ) FX (xi 1 )
fx
j =1
http://istiarto.staff.ugm.ac.id
FX (x ) =
fX (xi )
xi x
Variabel Random
18-Oct-16
Probabilitas
n
prob(A ) = i = fx i
n
http://istiarto.staff.ugm.ac.id
variabel random
kontinu diperlakukan
seolah-olah variabel
random diskrit
Variabel Random
18-Oct-16
pX(x)
luas =
prob(X b)
luas = 1
luas =
prob(a X b)
1
PX(x)
PX(b)
PX(a)
0
9
http://istiarto.staff.ugm.ac.id
PX(x) = prob(X x)
x
Variabel Random
18-Oct-16
PX (x ) = prob (X x )
d PX (x ) = pX (x ) d x
PX (x ) =
pX (t )dt
10
http://istiarto.staff.ugm.ac.id
Variabel Random
18-Oct-16
(1)
(5) prob(a X b ) = pX (t )d t = PX (b ) PX (a )
pX (x ) 0, x
(2)
p X (x ) d x = 1
(6) prob(X = c ) = pX (t )d t = PX (c ) PX (c ) = 0
(3)
PX ( ) = 0
(4)
PX (+ ) = 1
http://istiarto.staff.ugm.ac.id
Variabel Random
18-Oct-16
http://istiarto.staff.ugm.ac.id
Variabel Random
18-Oct-16
Contoh #1
13
p X (x ) =
0
q
q
q
q
http://istiarto.staff.ugm.ac.id
Variabel Random
18-Oct-16
Contoh #2
14
Pengolahan data annual series curah hujan harian maksimum, H mm, di suatu stasiun ARR
(Automatic Rainfall Recorder) menunjukkan bahwa sebaran probabilitas suatu besaran
curah hujan, pH(h), dapat dinyatakan dengan suatu fungsi (pdf) sbb.
1
75
1
(100 h)
pH (h ) =
3750
q
q
q
http://istiarto.staff.ugm.ac.id
Variabel Random
18-Oct-16
Bivariate Distributions
15
Apabila kita ingin mempelajari perilaku dua atau lebih variabel random, maka
kita perlu menghitung probabilitas gabungan atau probabilitas bersama (joint
probabilities)
Probabilitas gabungan pdf gabungan
http://istiarto.staff.ugm.ac.id
Variabel Random
18-Oct-16
Bivariate Distributions
16
PX ,Y (x , y )
x y
PX ,Y (x , y ) = prob (X x Y y )
pdf
cdf
+ +
pX ,Y (s, t )dt d s
http://istiarto.staff.ugm.ac.id
Variabel Random
18-Oct-16
Bivariate Distributions
17
PX ,Y ( , y )
pX ,Y (x , y ) 0
PX ,Y (+ ,+ ) = 1
PX ,Y ( , y ) = PX ,Y (x , ) = 0
http://istiarto.staff.ugm.ac.id
Variabel Random
18-Oct-16
Distribusi Marginal
18
p X (x ) =
pX ,Y (x , t )d t
pdf
http://istiarto.staff.ugm.ac.id
PX ,Y (x , y ) PX (x )
PX (x ) = PX (x , ) = prob (X x Y ) = prob (X x )
x +
cdf
Variabel Random
18-Oct-16
Distribusi Marginal
19
Untuk variabel Y
pX ,Y (x , y ) pY (y )
+
pY (y ) =
pX ,Y (s, y )d s
pdf
http://istiarto.staff.ugm.ac.id
PX ,Y (x , y ) PY (y )
PY (y ) = PY ( , y ) = prob (X Y y ) = prob (Y y )
y +
pX ,Y (s, t )d s dt = pY (t )dt
cdf
Variabel Random
18-Oct-16
Distribusi X jika Y = y0
Distribusi Y jika x1 X x2
http://istiarto.staff.ugm.ac.id
Variabel Random
18-Oct-16
p (x , t ) d t
p (x y di dalam S ) =
p (t )dt
prob(x di dalam R y di dalam S ) = p (x y di dalam S )d x
X ,Y
X ,Y
XY
pX ,Y (x , y 0 )
yang lebih sering dituliskan
pY (y 0 )
p (x , y )
pX Y (x y ) = X ,Y
pY (y )
pX Y (x y = y 0 ) =
http://istiarto.staff.ugm.ac.id
Variabel Random
18-Oct-16
Independence
22
Joint probabilities
n
pX ,Y (x , y ) = pX (x ) pY (y )
http://istiarto.staff.ugm.ac.id
Variabel Random
18-Oct-16
Contoh
23
Data jumlah hari yang memiliki temperatur udara rerata (TC) dan kelembaban udara relatif (H%) di suatu
stasiun klimatologi
Kelembaban relatif, H%
Temperatur udara, TC
22-24
24-26
26-28
28-30
30-32
32-34
0 20
20 40
12
30
40 60
15
30
60
30
20
60 - 80
25
17
11
80 - 100
12
http://istiarto.staff.ugm.ac.id
Variabel Random
18-Oct-16
Contoh
24
pdf (gabungan)
pdf marginal dan cdf marginal temperatur udara rerata
pdf marginal dan cdf marginal kelembaban udara relatif
probabilitas temperatur udara berkisar pada 28C s.d. 30C
probabilitas temperatur udara berkisar pada 28C s.d. 30C pada saat
kelembaban udara relatif 60% s.d. 80%
http://istiarto.staff.ugm.ac.id
Variabel Random
18-Oct-16
25
http://istiarto.staff.ugm.ac.id
Variabel Random
18-Oct-16