Tutorial Chi Square - Tutorial

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 4

YEAP CIA MIN S-PM 0294/19

Tutorial Chi Square

1. Get the Data Tutorial for One Sample Chi Square

a. Conduct a One Sample Chi Square Test

b. State your decision and conclusion.

•Ho: New admissions to mental health unit and phase of the moon are independent in
the population sampled
•H1: New admissions to the mental health unit and phase of the moon are related in
the population sampled

 If null hypothesis is rejected, the new admissions should occur in each lunar
phase.
 But if null hypothesis is not rejected, the one fourth of the new admissions
should occur on each lunar phase

Descriptive Statistics
N Mean Std. Deviation Minimum Maximum
id 40 20.5000 11.69045 1.00 40.00
lunar 40 2.3000 1.28502 1.00 4.00

Chi-Square Test

lunar
Observed N Expected N Residual
full moon 18 10.0 8.0
new moon 2 10.0 -8.0
first quarter 10 10.0 .0
third quarter 10 10.0 .0
Total 40
YEAP CIA MIN S-PM 0294/19

Test Statistics
id lunar
Chi-Square .000a 12.800b
df 39 3
Asymp. Sig. 1.000 .005
a. 40 cells (100.0%) have expected
frequencies less than 5. The minimum
expected cell frequency is 1.0.
b. 0 cells (0.0%) have expected frequencies
less than 5. The minimum expected cell
frequency is 10.0.

The results show that the test is not significant, χ² (df = 3, N = 40) = 12.8, p = .005
•The null hypothesis is rejected (p < .05), thus the new admissions should occur in each lunar
phase.
YEAP CIA MIN S-PM 0294/19

1. Dapatkan fail Data Tutorial for Chi Square Test for Independence

a. Laksanakan ujian khi-kuasa dua sampel bebas

b. Tuliskan laporan ringkas berdasarkan analisis anda

Ho:Pemilikan mainan (mekanikal atau tidak) dan perbezaan jantina adalah saling tidak
bersandar

H1: Pemilikan mainan (mekanikal atau tidak) dan perbezaan jantina adalah saling
Bersandar

Case Processing Summary


Cases
Valid Missing Total
N Percent N Percent N Percent
Jantina * Pemilihan jenis alat 50 100.0% 0 0.0% 50 100.0%
permainan

Jantina * Pemilihan jenis alat permainan Crosstabulation


Pemilihan jenis alat permainan
mechanical non mechanical Total
Jantina boy Count 15 10 25
Expected Count 11.0 14.0 25.0
% within Jantina 60.0% 40.0% 100.0%
% within Pemilihan jenis alat 68.2% 35.7% 50.0%
permainan
% of Total 30.0% 20.0% 50.0%
girl Count 7 18 25
Expected Count 11.0 14.0 25.0
% within Jantina 28.0% 72.0% 100.0%
% within Pemilihan jenis alat 31.8% 64.3% 50.0%
permainan
% of Total 14.0% 36.0% 50.0%
Total Count 22 28 50
Expected Count 22.0 28.0 50.0
% within Jantina 44.0% 56.0% 100.0%
% within Pemilihan jenis alat 100.0% 100.0% 100.0%
permainan
% of Total 44.0% 56.0% 100.0%
YEAP CIA MIN S-PM 0294/19

Chi-Square Tests
Asymptotic
Significance (2- Exact Sig. (2- Exact Sig. (1-
Value df sided) sided) sided)
Pearson Chi-Square 5.195a 1 .023
Continuity Correctionb 3.977 1 .046
Likelihood Ratio 5.295 1 .021
Fisher's Exact Test .045 .023
Linear-by-Linear Association 5.091 1 .024
N of Valid Cases 50
a. 0 cells (0.0%) have expected count less than 5. The minimum expected count is 11.00.
b. Computed only for a 2x2 table

X² ( 1, 50)= 5.2, p= 0.23


P (0.023), p < 0.05, hipotesis nol ditolak

Ini bermakna pemilikan mainan (mekanikal atau tidak) dan perbezaan jantina adalah
saling bersandar.

Pemilikan jenis mainan bergantung pada jantina.

You might also like