UJi Wilcoxon
UJi Wilcoxon
n (n + 1)
𝑇−
𝑍= 4
ට𝑛(𝑛 + 1) (2𝑛 + 1)
24
Hasil dengan program SPSS
pengeses - pengeseb
Z -2.153(a)
Asymp. Sig. (2-tailed) .031
10
Penyelesaian dengan SPSS
1. Bukalah software SPSS
2. Pada lembar variable view ketik Sebelum pada baris 1
dan Sesudah pada baris ke 2, pada Measure pilih Ordinal
3. Kemudian pada lembar Data View Masukkan data seperti
di soal
4. Klik Analyze Non Parametric Test 2 Related
Sampels, pada Menu Bar
5. Blok Sebelum dan sesudah, pindahkan ke kotak Test Pairs
dengan tombol panah
6. Klik Option dan beri tanda centang Exclude Cases Listwise
7. Pada Test Type beri tanda centang Wilcoxon Ok
Ranks
Mean Sum of Test Statisticsb
N Rank Ranks
Sesudah - Negative Ranks 6a 5.67 34.00
Sebelum Sesudah - Sebelum
Positive Ranks 7b 8.14 57.00 Z -.805a
Ties 1c Asymp. Sig. (2-tailed) .421
Total 14 a. Based on negative ranks.
a. Sesudah < Sebelum
b. Wilcoxon Signed Ranks Test
b. Sesudah > Sebelum
c. Sesudah = Sebelum
Kriteria
Asymp sig. (2-tailed) ≥ α maka Ho tidak dapat ditolak
Asymp sig. (2-tailed) < α maka Ho ditolak
Ternyata, Asymp sig. (2-tailed) > α atau 0,421 > 0,05, maka Ho tidak
dapat ditolak
Kesimpulan
Jadi dengan tingkat signifikansi 5%, maka usul tersebut tidak dapat
meningkatkan produksi perakitan.
Mc Nemar
Mc. Nemar Test
Digunakan untuk menguji hipotesis komparatif
dua sampel yang berhubungan bila datanya
nominal. Rancangan penelitiannya biasanya
berupa “sebelum-sesudah”. Penyajiannya dalam
bentuk tabel kontingensi 2 x 2.
Rumus :
+ -
+ A B
- C D
Langkah – Langkah Penyelesaian
Mc Nemar Test
SOAL NO.7
Department Store want to know the impact of “Cool”
Soap promotion in January to Consumers on the buy
of non–“Cool” Soap and “Cool” Soap. The Samples
were taken randomly with 20 peoples in this study.
Before promotion, show there were 9 peoples buy
“Cool” Soap and the rest buy the non-“Cool” Soap.
After doing the promotion, it was found that the two
peoples who had been buy a “Cool” Soap to buy
non-“Cool” Soap and 10 peoples who had been buy a
non-“Cool” Soap into “Cool” Soap.
With 95% confidence level, whether it can be conclude
that the “Cool” Soap promotion may affects
preference Soap buyers?
1. Tentukan Hipotesis
Ho: P(Xi) = P(Yi) The “Cool” Soap promotion not affects
preference of Soap buyers
Ha: P(Xi) ≠ P(Yi) The “Cool” Soap promotion affects
preference of Soap buyers
2. Buat Tabel
After
Buy Not Buy Total
Before
Buy 7 2 9
Not Buy 10 1 11
Total 17 3 20
Penyelesaian dengan SPSS
1. Bukalah software SPSS
2. Pada lembar variable view ketik Sebelum pada baris 1 dan
Sesudah pada baris ke 2, pada Measure pilih Nominal
3. Pada kolom Value masukan 0 = Buy, 1 = Not Buy
4. Pada lembar Data View
masukkan data seperti di soal
5. Klik Analyze Non
Parametric Test 2 Related
Sampels, pada Menu Bar
6. Blok Sebelum dan sesudah,
pindahkan ke kotak Test Pairs
dengan tombol panah
•Pada Test Type beri tanda
centang McNemar Ok
Sebelum & Sesudah Test Statisticsb
Sebelum &
Sesudah Sesudah
Sebelum N 20
Memilih Tidak Memilih
Exact Sig. (2-tailed) .039a
Memilih 7 2
a. Binomial distribution used.
Tidak Memilih 10 1 b. McNemar Test
Criteria
Exact Sig. (2-tailed) ≥ α : Do Not Reject Ho
Exact Sig. (2-tailed) < α : Reject Ho
Conclusion
With 5% significant level, we can conclude that the “Cool” Soap
promotion may affects preference of Soap buyers.
RANGKUMAN MINGGU DEPAN
NON PARAMETRIK 2
SPEARMAN & MANN WHITNEY
MATERI + CONTOH SOAL MINIMAL 2