In: Statistics and Probability
A random sample of 400 students shows the following means of transportation to campus:
drive own auto public transportation other
men 150 40 10
women 115 65 30
Using SPSS, test whether the method of transportation is independent of method of sex. (α = .05)
A random sample of 400 students shows the following means of transportation to campus:
drive own auto public transportation other
men 150 40 10
women 115 65 30
Using SPSS, test whether the method of transportation is independent of method of sex. (α = .05)
Enter data in three columns, sex, transport and wt.
sex |
transport |
wt |
1 |
1 |
150 |
1 |
2 |
40 |
1 |
3 |
10 |
2 |
1 |
115 |
2 |
2 |
65 |
2 |
3 |
30 |
Now Data---- weight cases -----weight cases by wt.
Now
Use Analyze----Descriptive statistics ------Crosstabs
Select sex in Rows and transport is columns
In the statistics submenu select chi square and continue and ok
sex * transport Crosstabulation |
|||||
Count |
|||||
transport |
Total |
||||
drive own auto |
public transportation |
other |
|||
sex |
men |
150 |
40 |
10 |
200 |
women |
115 |
65 |
30 |
210 |
|
Total |
265 |
105 |
40 |
410 |
Chi-Square Tests |
|||
Value |
df |
Asymptotic Significance (2-sided) |
|
Pearson Chi-Square |
20.343a |
2 |
.000 |
Likelihood Ratio |
20.867 |
2 |
.000 |
Linear-by-Linear Association |
20.119 |
1 |
.000 |
N of Valid Cases |
410 |
||
a. 0 cells (0.0%) have expected count less than 5. The minimum expected count is 19.51. |
Calculated chi square = 20.343, P=0.000 which is < 0.05 level of significance. Ho is rejected. We conclude that method of transportation is not independent of method of sex.