Professional Documents
Culture Documents
Day 3 Session 1 Module 6 Chi Square Test
Day 3 Session 1 Module 6 Chi Square Test
IV DV
Gender Smoking habit
The expected value of the cell should be 5 or more in at least 80% of the cells,
and no cell should have an expected of less than one
There are 2 variables, and both are measured as categories, usually at the nominal
level. However, data may be ordinal data. Interval or ratio data that have been
collapsed into ordinal categories may also be used.
Research Model
IV DV
Gender Smoking habit
Research Hypothesis:
Smoking habit of the people varied in terms of gender.
Decision
If the p-value is less the significance level then there is a significant
relationships between two variables.
Effect size statistics for Chi-Square test for independence of two
attributes
If both variable have only two categories then φ is calculated for effect
size and its value rages from -1 to +1. (n is the sample size in the
following formula)
2
n
If both variable have more than two categories then Cramer’s “V” is
calculated for effect size and its values ranges from 0 to 1.
2
V
no.ofrowsorno .ofcolumns , whicheveri ssmaller ) 1
The effect size of 0.1. 0.3 and 0.5 represents small, medium and large
effect respectively.
Interpretation of effect size
Research Hypothesis
There is relationship between the ownership of the hospital and service provided
by the hospital
Alternative Hypothesis (H1): Types of ownership and service provided by the hospital are
associated
Path in SPSS for the test
Then from comprehensive list of variables in the left side of the box
select the dependent variable and send to right row box and select
independent variable and sent to right column box. Click on statistics
and select chi square and click on continue and then click on cells
and select observed check box in the counts and then select column
check box in the percentages. Then click on continue and OK.
Chi-Square Tests
Value df Asymp. Sig. (2-sided)
Pearson Chi-Square 15.474 a
3 .001
Likelihood Ratio 17.199 3 .001
Linear-by-Linear Association .002 1 .966
N of Valid Cases 200
a. 1 cells (12.5%) have expected count less than 5. The minimum expected count is 2.88.
Type of Ownership
Nonfederal Not-for- Federal
Government profit For-profit government Total
General Medical 74.5% 95.3% 73.3% 83.3% 84.0%
Psychiatric 25.5% 4.7% 26.7% 16.7% 16.0%
Total 100.0% 100.0% 100.0% 100.0% 100.0%
Participant’s reflection
Question-Answer
Exercise:
Running Chi-Square Test for Independence
of Two attributed in SPSS