Statistik Dalam Hidrologi Uji Kecocokan Data Terhadap Distribusi Kemnungkinan (Goodness of Fit of Data To Probability Distibution)
Statistik Dalam Hidrologi Uji Kecocokan Data Terhadap Distribusi Kemnungkinan (Goodness of Fit of Data To Probability Distibution)
Statistik Dalam Hidrologi Uji Kecocokan Data Terhadap Distribusi Kemnungkinan (Goodness of Fit of Data To Probability Distibution)
1 n
Mean, X xi for continuous data
n i 1
2
1 n
Variance,
2
S xi X
n 1 i 1
for continuous data
7
Penentuan Jumlah Kelas
Data Grouping
n= 11
nilai max = 58.60
nilai min = 8.50
range r = 50.10
banyak
kelas m =1 + log 3.3 log n
=1 + log 3.3 log 11
=4.4
=4
SIDLACOM
• SURVEY
• INVESTIGATION
• DESIGN
• La = LAND
ACQUISITION
• C0NSTRUCTION
• OPERATION
• MAINTENANCE
Frequency Histogram Calc
Nilai Kelas
Frekuensi Probabilty
Kelas Debit
(xi) (fi) (p)
Total 11 1
Probability distributions
• Normal family
– Normal, lognormal, lognormal-III
• Generalized extreme value family
– EV1 (Gumbel), GEV, and EVIII (Weibull)
• Exponential/Pearson type family
– Exponential, Pearson type III, Log-Pearson type
III
16
Normal distribution
• pdf for normal distribution
2
1 x
1
2
f X ( x) e
2
xT x KT s x zT s
20
EV type I distribution
( Gumbel)
1 x u x u
f ( x) exp exp
6sx
u x 0.5772
21
Frequency analysis for extreme events
1 x u x u
f ( x) exp exp EV1 pdf and cdf
6 sx
u x 0.5772
x u
F ( x) exp exp
x u
y
F ( x) exp exp( y )
y ln lnF ( x) ln ln(1 p) where p P(x xT )
1
yT ln ln1
T
If you know T, you can find yT, and once yT is know, xT can be computed by
xT u yT 22
EV-I (Gumbel) Distribution
x u 6s T
F ( x) exp exp yT ln ln
T 1
u x 0.5772
xT u yT
6 6 T
x 0.5772 s s ln ln
T 1
6 T
x 0.5772 ln ln s
T 1
xT x KT s
6 T
KT 0.5772 ln ln
T 1
23
Contoh
• Given annual maximum rainfall, calculate 5-yr
storm using frequency factor
6 T
KT 0.5772 ln ln
T 1
6 5
KT 0 .5772 ln ln 0.719
5 1
xT x K T s
0.649 0.719 0.177
0.78 in
24
contoh
• Given annual maxima for 10-minute storms
• Find 5- & 50-year return period 10-minute
storms x 0.649 in
s 0.177 in
6s 6 * 0.177 u x 0.5772 0.649 0.5772 * 0.138 0.569
0.138
T 5
y5 ln ln ln ln 1.5
T 1 5 1
x5 u y5 0.569 0.138 *1.5 0.78 in
x50 1.11 in
25
Log-Pearson Type III
• If log X follows a Person Type III distribution,
then X is said to have a log-Pearson Type III
distribution
( y ) 1 e ( y )
f ( x) y log x
( )
26
Probability plots
• Probability plot is a graphical tool to assess
whether or not the data fits a particular
distribution.
• The data are fitted against a theoretical
distribution in such as way that the points should
form approximately a straight line (distribution
function is linearized)
• Departures from a straight line indicate
departure from the theoretical distribution
27
Probaility Plotting
• Plot of magnitude of random X (variable
hidrologi) dan Probability
• Plotting position = menentukan probability
dari suatu titik data .
• Urutan data boleh diurut dari besar ke kecil
atau dari kecil ke besar.
• Bila diurutkan dari kecil ke besar maka
probability ( m/(n+1) untuk p(x)
• Bila diurutkan dari besar ke kecil ( m/(n+1)
hrs dihitung lagi (1-P(x))
PLOTTING POSITION
Contoh Kertas Distribusi
Kemungkinan Log Normal
• CT HAAN , STATITISTIC HYDROLOGY
• VT.CHOW, APPLIED HYDROLOGY
Normal Probability Plotting
Normal probability plot
• Steps
1. Rank the data from largest (m = 1) to smallest (m = n)
2. Assign plotting position to the data
1. Plotting position – an estimate of exccedance probability
2. Use p = m/(n+1)
3. Find the standard normal variable z corresponding to the
plotting position (use -NORMSINV (.) in Excel)
4. Plot the data against z
• If the data falls on a straight line, the data comes from
a normal distributionI
36
( empirical) Expected (theory)
Cum
p= z= Prob
NO X (mm) (x-Xrata)^2 m m/(n+1) ln (X) (xi-Xrata)/std Cum Prob (%)
(1) (2) (3) (4) (5) (6) (7) (8) (9)
CATATAN :
Col (8) : F(x) atau cumulative frequency distribution (cfd) dapat dilihat pada
tabel standar normal distribution yg
fungsi z atau dihitung dg mempergunakan fungsi statistik pada excel
@NORM.DIST ( x,mean,std,cum).
baca perhitungan Cumulative Frequency
Distribution menggunakan fungsi excel.
EV1 (Gumbel) probability plot
• Steps
1. Sort the data from smallest to largest to Assign
plotting position using Weibull formula pi =
m/(n+1)
2. Calculate reduced variate yi = -ln(-ln(1-pi))
3. Plot sorted data against yi
• If the data falls on a straight line, the data
comes from an EV1 distribution
40
Observed
( empirical) Expected (theory)
n= 12
Xrata = 56.96667
Var = 2765.462
std = 52.58766
alpa = 41.02323
mu = 33.28806
UJI KECOCOKAN DG ANALITIS
• 1. CHI SQUARE TEST
• 2.SMIRNOV KOLMOGOROV TEST
CHI SQUARE TEST
• Comparison between actual number of
observation and expected number of
observation ( expected according to
distribution under test ) that fall in the class
interval ( Haan, CT , 1988)
Harga Xc ( X kritis sbg sayarat)
Nilai kritis Xc
α
DK
0,950 0,050 0,025 0,010 0,005
1 0,004 3,841 5,024 6,635 7,879
2 0,103 5,991 7,378 9,210 10,597
3 0,352 7,815 9,348 11,345 12,838
4 0,711 9,488 11,143 13,277 14,860
5 1,145 11,070 12,833 15,086 16,750
6 1,635 12,592 14,449 16,812 18,548
7 2,167 14,067 16,013 18,475 20,278
8 2,733 15,507 17,535 20,090 21,955
9 3,325 16,919 19,023 21,666 23,589
10 3,940 18,307 20,483 23,209 25,188
11 4,575 19,675 21,920 24,725 26,757
12 5,226 21,026 23,337 26,217 28,300
13 5,892 22,362 24,736 27,688 29,819
14 6,571 23,685 26,119 29,141 31,319
Observed ( empirical) Expected (theory)
p= z= (xi- Probabili
1 5.9
Contoh Perhitungan
X (mm) (x-Xrata)^2
2607.804
m
1
m/(n+1) log (X)
0.08
Xrata)/std Cum Prob ty
1.775 -0.971077 0.166
fre
0.17
2 9.6 2243.601 2 0.15 2.262 -0.900718 0.184 0.02
3 13.8 1863.361 3 0.23 2.625 -0.820852 0.206 0.02
4 18.3 1495.111 4 0.31 2.907 -0.73528 0.231 0.03
5 24.8 1034.694 5 0.38 3.211 -0.611677 0.270 0.04
6 30.1 721.818 6 0.46 3.405 -0.510893 0.305 0.03
7 39.2 315.654 7 0.54 3.669 -0.337849 0.368 0.06
K= Nilai
max
4.5850401 = 170.00
Nilai (OF-
NO Interval R (x) OF z P (z) f(x) EF (OF-EF) EF)^2 Xc
(1) (2) (3) (4) (5) (6) (7) (8) (9) (10) (11)
3 71- 105 105 2 0.91 0.819 0.222 2.66 -0.66 0.4347 0.2174
4 106 - 1`40 140 1 1.58 0.943 0.123 1.48 -0.48 0.2305 0.2305
5 141 - 175 175 1 2.24 0.988 0.045 0.54 0.46 0.2141 0.2141
α
υ
0,200 0,150 0,100 0,050 0,010
2 0,684 0,726 0,776 0,842 0,929
4 0,494 0,525 0,564 0,642 0,734
6 0,410 0,436 0,470 0,521 0,618
8 0,358 0,381 0,411 0,457 0,543
10 0,322 0,342 0,368 0,409 0,486
12 0,295 0,313 0,338 0,375 0,450
14 0,274 0,292 0,314 0,349 0,418
16 0,258 0,274 0,295 0,328 0,391
18 0,244 0,259 0,278 0,309 0,370
20 0,231 0,246 0,264 0,294 0,352
30 0,190 0,200 0,220 0,242 0,290
n > 50 1,07/n 1,14/n 1,22/n 1,36/n 1,63/n
Observed
( empirical) Expected (theory) Smirno
z= (xi- Cum Probabil
X (mm) (x-Xrata)^2 m p= m/(n+1) log (X) Xrata)/std Prob ity frekuensi D=P(ob