Professional Documents
Culture Documents
No 10 20
Total 25 25
Are frequencies sufficient to
allow us to make comparisons
about groups?
No 10 (40%) 20 (80%)
MSW 30 ( ) 70 (70.0%)
Expected
Values Chi-square
Cell 1 50 * 50/100 25 (40-25)2/25 9
Cell 2 50*50/100 25 (10-25)2/25 9
Cell 3 50 * 50/100 25 (10-25)2/25 9
Cell 4 50*50/100 25 (40-25)2/25 9
36
Yes 20 40 60
No 30 10 40
Total 50 50 100
For this table,
• DF = 1
• Alternative hypothesis:
Receiving service is associated with
location of residence.
Null hypothesis:
There is no association between receiving
service and location of residence.
Calculations for chi-square are
Expected
Values Chi-square
Cell 1 50 * 60/100 30 (20-30)2/30 3.33
Cell 2 50*40/100 20 (30-20)2/20 5.00
Cell 3 50*60/100 30 (40-30)2/30 3.33
Cell 4 50*40/100 20 (10-20)2/20 5.00
16.67
At 1 DF at .01 chi-square must be greater than 6.64. Do
we accept or reject the null hypothesis?
Running chi-square in SPSS
• Select descriptive statistics
• Select cross-tabulation
• Highlight your independent variable and click on the arrow.
• Highlight your dependent variable and click on the arrow.
• Select Cells
• Choose column percents
• Click continue
• Select statistics
• Select chi-square
• Click continue
• Click ok
SPSS print out
As ym p. S ig.
Value df (2-sided)
Pears on Chi-S quare 2.569a 5 .766
Lik elihood Rat io 2.590 5 .763
Linear-by-Linear
.087 1 .768
As soc iation
N of V alid Cas es 336
a. 2 c ells (16.7% ) have expected count l ess than 5. The
mi nim um expected count is 1.57.
Recode
• To run ratio or interval level variables into SPSS
you need to recode or change the variable into a
categorical or nominal or ordinal variable.
You first need to decide how you will set up
categories and assign a number to them.
For example if your ratio variables for Age are: 25,
37, 42, 50, and 64, you might decide on two
categories: 1 = under 50
2 = 50 and over
Recode Instructions
• Go to Transform menu
• Go to Recode
• Select different variable
• Type in new variable name
• Click continue
• Enter range of ratio numbers for first category (25 to 49)
• Enter number for first category (1) in right hand screen.
• Click Add
• Enter range of ratio numbers (50 to 54) for category two
• Enter number for second category (2)
• Click Add
• Click Continue
• Click Change
• Click o.k.