STATISTIKA Pertemuan 11 Uji Koefisien Korelasi dan Regresi

  • Slides: 12
Download presentation
STATISTIKA Pertemuan 11: Uji Koefisien Korelasi dan Regresi Dosen Pengampu MK: Evellin D. Lusiana,

STATISTIKA Pertemuan 11: Uji Koefisien Korelasi dan Regresi Dosen Pengampu MK: Evellin D. Lusiana, S. Si, M. Si

Materi Hari Ini n Uji hipotesis koefisien korelasi n Uji hipotesis koefisien regresi

Materi Hari Ini n Uji hipotesis koefisien korelasi n Uji hipotesis koefisien regresi

Uji Hipotesis Koefisien Korelasi n Ho : tidak ada korelasi (ρ=0) H 1 :

Uji Hipotesis Koefisien Korelasi n Ho : tidak ada korelasi (ρ=0) H 1 : ada korelasi (ρ≠ 0) Distribusi sampling: Distribusi t Statistik uji n Titik kritis : t-tabel = tα/2, n-2 n n

Contoh n Berikut ini adalah data yang menunjukkan curah hujan debit air No 1

Contoh n Berikut ini adalah data yang menunjukkan curah hujan debit air No 1 2 3 4 5 6 7 8 9 10 n 4 Curah hujan (mm) 229 205 271 304 145 154 98 69 70 170 Debit (m 3/detik) 32 31 38 40 28 24 21 13 15 25 Bagaimana keeratan hubungan antara curah hujan debit air?

Contoh: Uji Hipotesis Koefisien Korelasi No X Y 1 229 32 X 2 (229)2

Contoh: Uji Hipotesis Koefisien Korelasi No X Y 1 229 32 X 2 (229)2 =52441 2 205 31 42025 961 6355 3 271 38 73441 1444 10298 4 304 40 92416 1600 12160 5 145 28 21025 784 4060 6 154 24 23716 576 3696 7 98 21 9604 441 2058 8 69 13 4761 169 897 9 70 15 4900 225 1050 1715 25 267 28900 353229 10 Jml Y 2 XY 2 (32) = 229(32)= 1024 7328 625 4250 7849 52152

1. 2. 3. 4. Ho : tidak ada korelasi (ρxy=0) H 1 : ada

1. 2. 3. 4. Ho : tidak ada korelasi (ρxy=0) H 1 : ada korelasi (ρxy≠ 0) n=10, α=0. 05 Distribusi sampling: t Titik kritis: tα/2, n-2= t 0. 025, 10 -2=t 0. 025, 8= 2. 306 Tolak H 0 . 025 -2. 306 . 025 0 2. 306

5. Statistik uji Tolak H 0 . 025 -2. 306 . 025 0 2.

5. Statistik uji Tolak H 0 . 025 -2. 306 . 025 0 2. 306 12. 41 6. 7. Keputusan: t-stat > 2. 306 Tolak Ho Kesimpulan: ada korelasi/hubungan antar X dan Y

Uji Hipotesis Koefisien Regresi n Ho : X tidak mempengaruhi Y (β=0) H 1

Uji Hipotesis Koefisien Regresi n Ho : X tidak mempengaruhi Y (β=0) H 1 : X mempengaruhi Y (β≠ 0) Distribusi sampling: Distribusi t Statistik uji n Titik kritis : t-tabel = tα/2, n-2 n n

Contoh n Berikut ini adalah data yang menunjukkan curah hujan debit air Debit Curah

Contoh n Berikut ini adalah data yang menunjukkan curah hujan debit air Debit Curah hujan (mm) -- (m 3/detik) -No X Y 1 229 32 2 205 31 3 271 38 4 304 40 5 145 28 6 154 24 7 98 21 8 69 13 9 70 15 10 170 25 n 9 Bagaimana pengaruh curah hujan terhadap debit air?

1. 2. 3. 4. Ho : curah hujan tidak mempengaruhi debit air H 1

1. 2. 3. 4. Ho : curah hujan tidak mempengaruhi debit air H 1 : curah hujan mempengaruhi debit air n=10, α=0. 05 Distribusi sampling: t Titik kritis: tα/2, n-2= t 0. 025, 10 -2=t 0. 025, 8=2. 306 Tolak H 0 . 025 -2. 306 . 025 0 2. 306

Contoh: Uji Hipotesis Koefisien Korelasi 5. Statistik uji No X Y 1 229 32

Contoh: Uji Hipotesis Koefisien Korelasi 5. Statistik uji No X Y 1 229 32 X 2 (229)2 =52441 2 205 31 42025 961 6355 3 271 38 73441 1444 10298 4 304 40 92416 1600 12160 5 145 28 21025 784 4060 6 154 24 23716 576 3696 7 98 21 9604 441 2058 8 69 13 4761 169 897 9 70 15 4900 225 1050 1715 25 267 28900 353229 10 Jml Y 2 XY (32)2= 229(32)= 1024 7328 625 4250 7849 52152

Tolak H 0 . 025 -2. 306 . 025 0 2. 306 12. 92

Tolak H 0 . 025 -2. 306 . 025 0 2. 306 12. 92 5. 6. Keputusan: t-stat > 2. 306 Tolak Ho Kesimpulan: curah hujan mempengaruhi debit air