Professional Documents
Culture Documents
Tutorial Chi Square - Tutorial
Tutorial Chi Square - Tutorial
Tutorial Chi Square - Tutorial
•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
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
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
Ini bermakna pemilikan mainan (mekanikal atau tidak) dan perbezaan jantina adalah
saling bersandar.