Statistik Bisnis. Week 13 Chi-Square Test

dokumen-dokumen yang mirip
Inferensia Statistik parametrik VALID?? darimana sampel diambil

Statistik Bisnis 2. Week 6 Two-Sample Test Population Proportions and Variances

Statistik Bisnis. Week 12 Analysis of Variance

Statistik Bisnis 2. Week 4 Fundamental of Hypothesis Testing Methodology

Marketing Research Data Analyses

Analisis Chi-Square (x 2 )

To test the significant effect of two independent variables to one dependent variable, and to test the significant interaction of the two independent

Statistika Farmasi

Statistik Bisnis. Week 9 Confidence Interval Estimation

Statistik Bisnis 1. Week 2 Collecting and Organizing Data

ANALISIS DATA KATEGORIK

Apa itu suatu Hypothesis?

Uji Perbandingan Rata-Rata

Statistik Bisnis 1. Week 9 Discrete Probability

Statistik Bisnis. Week 10 Fundamentals of Hypothesis Testing: One-Sample Test

UJI HIPOTESIS DUA SAMPEL. Chapter 11

FAKULTAS KESEHATAN MASYARAKAT UNIVERSITAS SUMATERA UTARA MEDAN 2011 ABSTRAK

Teknik Pengolahan Data

Uji Perbandingan Rata-Rata

Hypothesis Testing SUNU WIBIRAMA

5. The removed-treatment design with pretest & posttest Design: O 1 X O 2 O 3 X O 4 Problem: O 2 - O 3 not thesame with O 3 - O 4 construct validity o

Kasus. Survey terhadap remaja usia tahun apakah pernah melakukan kerja paruh waktu (part-time)??

LAMPIRAN III. Output SPSS

Vote Buying in Indonesia: Learning from Survey Data. Indikator Politik Indonesia, and Lembaga Survei Indonesia 2013

KEPERCAYAAN DIRI. Corrected Item-Total Correlation

matematis siswa SMPN 1 Karangrejo Tulungagung Tahun Pelajaran 2016/2017 yang menggunakan model discovery learning lebih baik daripada menggunakan mode

Abstrak. Universitas Kristen Maranatha

HUBUNGAN ANTAR PEUBAH

DIKTAT MATA KULIAH STATISTIKA PENELITIAN PENDIDIKAN MATEMATIKA

HUBUNGAN TERPAAN PESAN PERINGATAN BAHAYA MEROKOK DAN TINGKAT PENGETAHUAN TENTANG ROKOK DENGAN MINAT BERHENTI MEROKOK PADA REMAJA BELLA PRAWILIA

UJI HIPOTESIS SATU SAMPEL. Chapter 10

KULIAH 2 : UJI NON PARAMETRIK 1 SAMPEL. Tim Pengajar STATSOS Lanjutan

Lampiran 1. Kuesioner Penelitian KARAKTERISTIK NAVIGASI WEB PELANGGAN SHOFIA TOYS DALAM KAITAN PEMBELANJAAN SECARA ONLINE

Pertemuan 11 s.d. 13 STATISTIKA INDUSTRI 2. Nonparametric. Skala Pengukuran...(review) 27/05/2016. Statistik Non Parametrik

Sering dibahas. Asosiasi 2 peubah Y Z

Validitas & Reliabilitas (Sert)

Statistika Farmasi

128 LAMPIRAN - LAMPIRAN

UJI HIPOTESIS STATISTIK NON PARAMETRIK.

Gambaran Duplikasi Penomoran Rekam Medis. Gambaran Kualifikasi Pendidikan. Gambaran Pengetahuan. Statistics pemberian nomor. N Valid 60.

PENGARUH SEMANGAT KERJA PEMILIK DAN PEKERJA TERHADAP KEWIRAUSAHAAN MORO ARTOS DI SALATIGA SKRIPSI

LAMPIRAN A SKALA KEMATANGAN EMOSI DAN PENYESUAIAN AKADEMIK

STATISTIK DESKRIPTIF. Statistics. Strategi Membaca

Skenario Payoff Magnitude terhadap Kecenderungan Pengambilan Risiko. Skenario Pengambilan Keputusan Investasi (Baird et al., 2008)

KUESIONER PENELITIAN HUBUNGAN TINGKAT PENDIDIKAN, PENGETAHUAN GIZI DAN UMUR IBU DENGAN PEMBERIAN MAKAN PRELAKTEAL PADA BAYI USIA 0-6

1-x. dimana dan dihubungkan oleh teorema Pythagoras.

ABSTRAK. Oleh. Tunggono

ABSTRACT. Keywords: Customer satisfaction, service quality. Universitas Kristen Maranatha

Statistik Bisnis 1. Week 9 Discrete Probability Binomial and Poisson Distribution

PENERAPAN MODEL COOPERATIVE SCRIPT DALAM PEMBELAJARAN TIK PADA SISWA KELAS VIII SMPN 27 PADANG

IDEAS CONDESCENDING WOMEN STATUS FOUND IN CAMPURSARI SONGS A THESIS

Statistik Bisnis 1. Week 8 Basic Probability

DAFTAR ISI. HALAMAN JUDUL... i. HALAMAN PERESETUJUAN SIDANG SKRIPSI. ii HALAMAN PENGESAHAN. iii ABSTRAK iv

Pemrograman Lanjut. Interface

PENGARUH PENGGUNAAN TEKNOLOGI INFORMASI TERHADAP KINERJA PEGAWAI DI BADAN PUSAT STATISTIK PROVINSI DAERAH ISTIMEWA YOGYAKARTA

THE EFFECTS OF COMMAND AND RECIPROCAL TEACHING STYLE ON LEARNING ACHIEVEMENT OF FOREHAND GROUNDSTROKE IN TENNIS

Statistik Bisnis 1. Week 10 Continuous Probability Normal Distribution

Dr. RatnaCandra Sari

ABSTRAK UNIVERSITAS KRISTEN MARANATHA

ABSTRAK. Kata Kunci: Kreativitas, Kecerdasan Emosional, Hasil Belajar Matematika

Perpustakaan Unika LAMPIRAN

Pertemuan 10 STATISTIKA INDUSTRI 2. Multiple Linear Regression. Multiple Linear Regression. Multiple Linear Regression 19/04/2016

THE APPLICATION OF TURN TAKING SYSTEMATICS IN DR. CIPTO ENGLISH CONVERSATION GROUP

LAMPIRAN. Universitas Sumatera Utara

Statistik Bisnis 2. Week 5 Comparing the Means of Two Independent Populations

Analisis of Varians (Anova) dan Chi-Square. 1/26/2010 Pengujian Hipotesis 1

Ho merupakan hipotesa awal sedangkan merupakan hipotesis alternatif atau hipotesis kerja 2. Rumus One sample t-test

LAPORAN AKHIR RESEARCH IN ACTION

LATIHAN SPSS I. A. Entri Data

Disusun Oleh: Lilis Ambar Wiratmi A PROGRAM S1 PENDIDIKAN GURU SEKOLAH DASAR FAKULTAS KEGURUAN DAN ILMU PENDIDIKAN

Metode Statistika (STK211) Statistika Deskriptif (1) Dr. Ir. Kusman Sadik Dept. Statistika IPB, 2015

Diskripsi: Types of Statistics dan Penyajian Data

Lampiran 1 Kuesioner Penelitian Yth. Responden Dalam rangka memenuhi penelitian, saya sebagai mahasiswa Universitas Katolik Widya Mandala Surabaya,

HANDOUT METODE PENELITIAN KUANTITATIF ANALISIS DATA MENGGUNAKAN SPSS

BAB IV HASIL DAN PEMBAHASAN

KARAKTERISTIK PERJALANAN MAHASISWA DARI DAN MENUJU KAMPUS UNIVERSITAS KRISTEN MARANATHA ABSTRAK

SURAT PERSETUJUAN MENJADI SAMPLE PENELITIAN

PERBANDINGAN KARAKTERISTIK PERJALANAN SEPEDA MOTOR DI TIGA KOTA

SKRIPSI ERLINDA SIREGAR

NUR AFNI SIN

UNIVERSITAS UDAYANA LUH GD. DWI KARTIKA PUTRI

KUESIONER SURAT PERNYATAAN

ABSTRACT. "The Effect of Compensation, Discipline on Employee Performance" (Case studies on Ardan Group)

Oleh Mastuti Wijaya

PENDUDUK DAN TENAGA KERJA. Population and Worker

Perbedaan Psychological Well-being pada Dewasa Muda Pasangan Long Distance Relationship dengan Pasangan Non Long Distance Relationship

Dermatoglifi tipe pola dan jumlah sulur ujung jari tangan beberapa strata pendidikan masyarakat Indonesia

DUKUNGAN SOSIAL. Item-Total Statistics

: Efektifitas Latihan Beban Dengan Metode Compound Set Dan Set System Terhadap Hypertrophy Otot Lengan Member Fitness Club Arena International.

Lampiran 1. Surat Permohonan Ijin Penelitian di Laboratorium Mikrobiologi FK UKM

By SRI SISWANTI NIM

ADJECTIVES & COMPARING

Statistika Industri II TIP - FTP UB

RCBD (Randomized Complete Block Design)

TRANSPOSITION TECHNIQUE

Saya sering bermimpi buruk SS S TS STS

BAB 4. APLIKASI RANCANGAN ACAK LENGKAP DUA FAKTOR

Dependent VS independent variable

Lampiran Hasil Output SPSS. Statistics. Skor Kepuasan Pasien Rawat Jalan. Valid 200 Missing 0 Mean Skor Kepuasan Pasien Rawat Jalan Frequenc y

LAMPIRAN. Hormat Saya, Endang Nurmawati

Transkripsi:

Statistik Bisnis Week 13 Chi-Square Test

Learning Objectives In this chapter, you learn: How and when to use the chi-square test for contingency tables

TEST FOR THE DIFFERENCE BETWEEN TWO PROPORTIONS

Contingency Tables Contingency Tables Useful in situations comparing multiple population proportions Used to classify sample observations according to two or more characteristics Also called a cross-classification table.

Contingency Table Example Left-Handed vs. Gender Dominant Hand: Left vs. Right Gender: Male vs. Female categories for each variable, so this is called a x table Suppose we examine a sample of 300 children

Contingency Table Example Sample results organized in a contingency table: sample size = n = 300: 10 Females, 1 were left handed 180 Males, 4 were left handed Hand Preference Gender Left Right Female 1 108 10 Male 4 156 180 36 64 300

Test for the Difference Between Two Proportions H 0 : π 1 = π (Proportion of females who are left handed is equal to the proportion of males who are left handed) H 1 : π 1 π (The two proportions are not the same hand preference is not independent of gender) If H 0 is true, then the proportion of left-handed females should be the same as the proportion of left-handed males The two proportions above should be the same as the proportion of lefthanded people overall

The Chi-Square Test Statistic The Chi-square test statistic is: ( fo fe ) STAT f all cells where: f o = observed frequency in a particular cell f e = expected frequency in a particular cell if H 0 is true e STAT for the x casehas1degreeof freedom (Assumed: each cell in the contingency table has expected frequency of at least 5)

Decision Rule χ The STATtest statistic approximately follows a chisquared distribution with one degree of freedom Decision Rule: If χ χ STAT α, reject H 0, otherwise, do not reject H 0 0 Do not reject H 0 α Reject H 0

Computing the Average Proportion The average proportion is: p X n 1 1 X n X n 10 Females, 1 were left handed 180 Males, 4 were left handed Here: p 1 10 4 180 36 300 0.1 i.e., based on all 300 children the proportion of left handers is 0.1, that is, 1%

Finding Expected Frequencies To obtain the expected frequency for left handed females, multiply the average proportion left handed (p) by the total number of females To obtain the expected frequency for left handed males, multiply the average proportion left handed (p) by the total number of males If the two proportions are equal, then P(Left Handed Female) = P(Left Handed Male) =.1 i.e., we would expect (.1)(10) = 14.4 females to be left handed (.1)(180) = 1.6 males to be left handed

Observed vs. Expected Frequencies Gender Female Hand Preference Left Right Observed = 1 Observed = 108 Expected = 14.4 Expected = 105.6 10 Male Observed = 4 Expected = 1.6 Observed = 156 Expected = 158.4 180 36 64 300

The Chi-Square Test Statistic Gender Female Male Hand Preference Left Right Observed = 1 Observed = 108 Expected = 14.4 Expected = 105.6 Observed = 4 Observed = 156 Expected = 1.6 Expected = 158.4 10 180 36 64 300 The test statistic is: χ STAT all cells (f o f f e (1 14.4) 14.4 e ) (108 105.6) 105.6 (4 1.6) 1.6 (156 158.4) 158.4 0.7576

Decision Rule The test statistic is χ STAT 0.7576; χ 0.05 with 1 d.f. 3.841 Decision Rule: If STAT > 3.841, reject H 0, otherwise, do not reject H 0 0 Do not reject H 0 0.05 Reject H 0 0.05 = 3.841 Here, χ STAT =0.7576 < χ 0.05 = 3.841, so we do not reject H 0 and conclude that there is not sufficient evidence that the two proportions are different at = 0.05

TEST FOR DIFFERENCES AMONG MORE THAN TWO PROPORTIONS

Test for Differences Among More Than Two Proportions Extend the test to the case with more than two independent populations: H 0 : π 1 = π = = π c H 1 : Not all of the π j are equal (j = 1,,, c)

The Chi-Square Test Statistic The Chi-square test statistic is: ( fo fe ) STAT f all cells Where: f o = observed frequency in a particular cell of the x c table f e = expected frequency in a particular cell if H 0 is true e χ STAT for the x c casehas ( - 1)(c - 1) c - 1degreesof freedom (Assumed: each cell in the contingency table has expected frequency of at least 1)

Computing the Overall Proportion The overall proportion is: p X n 1 1 X n X n c c X n Expected cell frequencies for the c categories are calculated as in the x case, and the decision rule is the same: Decision Rule: If χ χ STAT, α reject H 0, otherwise, do not reject H 0 χ α Where is from the chisquared distribution with c 1 degrees of freedom

Example of Test for Differences Among More Than Two Proportions A University is thinking of switching to a trimester academic calendar. A random sample of 100 administrators, 50 students, and 50 faculty members were surveyed Opinion Administrators Students Faculty Favor 63 0 37 Oppose 37 30 13 Totals 100 50 50 Using a 1% level of significance, which groups have a different attitude?

Chi-Square Test Results H 0 : π 1 = π = π 3 H 1 : Not all of the π j are equal (j = 1,, 3) Expected Chi-Square Test: Administrators, Students, Faculty Admin Students Faculty Total Favor 63 0 37 10 60 30 30 Oppose 37 30 13 80 40 0 0 Observed χ STAT Total 100 50 50 00 0. 01 1. 79 χ 9.103so reject H 0

The Marascuilo Procedure Used when the null hypothesis of equal proportions is rejected Enables you to make comparisons between all pairs Start with the observed differences, p j p j, for all pairs (for j j ) then compare the absolute difference to a calculated critical range

The Marascuilo Procedure Critical Range for the Marascuilo Procedure: Critical range χ α p (Note: the critical range is different for each pairwise comparison) A particular pair of proportions is significantly different if p j p j > critical range for j and j j (1 n j p j ) p j' (1 n j' p j' )

Marascuilo Procedure Example A University is thinking of switching to a trimester academic calendar. A random sample of 100 administrators, 50 students, and 50 faculty members were surveyed Opinion Administrators Students Faculty Favor 63 0 37 Oppose 37 30 13 Totals 100 50 50 Using a 1% level of significance, which groups have a different attitude?

Chi-Square Test Results H 0 : π 1 = π = π 3 H 1 : Not all of the π j are equal (j = 1,, 3) Expected Chi-Square Test: Administrators, Students, Faculty Admin Students Faculty Total Favor 63 0 37 10 60 30 30 Oppose 37 30 13 80 40 0 0 Observed χ STAT Total 100 50 50 00 0. 01 1. 79 χ 9.103so reject H 0

Marascuilo Procedure: Solution Calculations In Excel: Marascuilo Procedure compare Sample Sample Absolute Std. Error Critical Group Proportion Size ComparisonDifference of Difference Range Results 1 0.63 100 1 to 0.3 0.08444549 0.563 Means are not different 0.4 50 1 to 3 0.11 0.078606615 0.386 Means are not different 3 0.74 50 to 3 0.34 0.0999464 0.8 Means are different Level of significance d.f Q Statistic Other Data 0.01 Chi-sq Critical Value 9.103 3.034854 At 1% level of significance, there is evidence of a difference in attitude between students and faculty Minitab does not do the Marascuilo procedure

TEST OF INDEPENDENCE

Test of Independence Similar to the test for equality of more than two proportions, but extends the concept to contingency tables with r rows and c columns H 0 : The two categorical variables are independent (i.e., there is no relationship between them) H 1 : The two categorical variables are dependent (i.e., there is a relationship between them)

Test of Independence The Chi-square test statistic is: χ STAT all cells ( f f where: f o = observed frequency in a particular cell of the r x c table f e = expected frequency in a particular cell if H 0 is true o f e e ) χ STAT for the r x c case has (r -1)(c -1)degrees of freedom (Assumed: each cell in the contingency table has expected frequency of at least 1)

Expected Cell Frequencies Expected cell frequencies: f e row total column n total Where: row total = sum of all frequencies in the row column total = sum of all frequencies in the column n = overall sample size

Decision Rule The decision rule is If χ χ, reject H 0, STAT α otherwise, do not reject H 0 χ α Where is from the chi-squared distribution with (r 1)(c 1) degrees of freedom

Example The meal plan selected by 00 students is shown below: Class Standing Number of meals per week 0/week 10/week none Total Fresh. 4 3 14 70 Soph. 6 1 60 Junior 10 14 6 30 Senior 14 16 10 40 Total 70 88 4 00

Example The hypothesis to be tested is: H 0 : Meal plan and class standing are independent (i.e., there is no relationship between them) H 1 : Meal plan and class standing are dependent (i.e., there is a relationship between them)

Observed: Example: Expected Cell Frequencies Class Standing Number of meals per week 0/wk 10/wk none Total Fresh. 4 3 14 70 Expected cell frequencies if H 0 is true: Soph. 6 1 60 Junior 10 14 6 30 Senior 14 16 10 40 Class Standing Number of meals per week 0/wk 10/wk none Total Total 70 88 4 00 Example for one cell: Fresh. 4.5 30.8 14.7 70 Soph. 1.0 6.4 1.6 60 f e row total column n total Junior 10.5 13. 6.3 30 Senior 14.0 17.6 8.4 40 30 70 00 10.5 Total 70 88 4 00

Example: The Test Statistic The test statistic value is: χ STAT ( f f ) o e f all cells e ( 4 4. 5 ) ( 3 30. 8 ) 4. 5 30. 8 ( 10 8. 4 ) 8. 4 0. 709 χ 0.05 = 1.59 from the chi-squared distribution with (4 1)(3 1) = 6 degrees of freedom

Example: Decision and Interpretation The test statistic is χ STAT 0. 709; χ 0. 05 with 6 d.f. 1.59 Decision Rule: If χ > 1.59, reject H 0, STAT otherwise, do not reject H 0 0 Do not reject H 0 0.05 Reject H 0 0.05=1.59 Here, χ STAT = 0.709 < χ = 1.59, 0.05 so do not reject H 0 Conclusion: there is not sufficient evidence that meal plan and class standing are related at = 0.05

EXERCISE

1.14 Apa pendapat warga Amerika mengenai iklan online yang disesuaikan dengan ketertarikan individu? Sebuah survei pada 1.000 orang pengguna internet menyatakan bahwa 55% dari pengguna berusia 18-4 tahun, 59% dari pengguna berusia 5-34 tahun, 66% dari pengguna berusia 35-49 tahun, 77% dari pengguna berusia 50-64 tahun, dan 8% dari pengguna berusai 65-89 tahun menentang penggunaan iklan tersebut. Misalkan survei tersebut dilakukan pada 00 orang responden untuk masing masing kelompok usia. Pada tingkat signifikansi 0,05, apakah terdapat bukti bahwa terdapat perbedaaan antara kelompok usia yang menolak penggunaan iklan tersebut?

1.16 (Cont d) Lebih banyak orang melakukan belanja kebutuhan rumah tangga (grocery shopping) pada hari Sabtu jika dibandingkan dengan hari lain dalam seminggu. Namun demikian, apakah terdapat perbedaan proporsi dari mereka yang melakukan grocery shopping pada hari Sabtu diantara rentang usia yang berbeda? Sebuah penelitian menunjukkan hasil dari rentang usia yang berbeda, sebagai berikut:

1.16 USIA HARI BELANJA UTAMA Dibawah 35 35 54 Diatas 54 Sabtu 4% 8% 1% Selain hari Sabtu 76% 7% 88% Misalkan terdapat 00 orang pada tiap rentang usia yang disurvey. Apakah terdapat bukti perbedaan yang signifikan antara rentang usia tersebut berkaitan dengan hari belanja utama mereka? (Gunakan =0,05)

1.18 Apakah terdapat kesenjangan generasi dalam musik? Sebuah penelitian melaporkan bahwa 45% dari mereka yang berusia 16 hingga 9 tahun, 4% dari mereka yang berusia 30 hingga 49 tahun, dan 33% dari mereka yang berusia 50 hinga 64 tahun sering mendengar musik rock. Misalkan penelitian tersebut dilakukan pada 00 orang responden untuk masing-masing grup. Apakah terdapat bukti yang menunjukkan perbedaan yang signifikan antar kelompok usia sehubungan dengan proporsi mereka yang sering mendengar musik rock? (Gunakan α = 0.05)

1.4 (cont d) Sebuah perusahaan besar ingin mengetahui apakah ada hubungan antara waktu yang dibutuhkan pegawainya untuk melakukan perjalanan rumah-kantor dengan tingkat stres di tempat kerja. Sebuah penelitian pada 166 pekerja memberikan hasil sebagai berikut:

1.4 (cont d) Waktu Tempuh Kurang dari 15 Menit Tingkat Stres Tinggi Sedang Rendah Total 9 5 18 3 14-45 Menit 17 8 8 53 Lebih dari 45 Menit 18 6 7 31 Total 44 19 53 116

1.4 Pada tingkat signifikansi 0,01, apakah terdapat bukti hubungan yang signifikan antara waktu tempuh dengan tingkat stres?

THANK YOU