You are on page 1of 8

Health Non-Health TOTAL

once a day 12 7 19
every few days 15 12 27 P(health) 0.58
once a week 8 12 20 P(once) 0.19
few times a month 14 7 21 P(health AND once) 0.1102
never 9 4 13 Expected = n * P(health and once)
TOTAL 58 42 100

Observed Expected
12 11.02 E=(row total * column total)/ grand total
15 15.66
8 11.6
14 12.18
9 7.54
7 7.98
12 11.34
12 8.4
7 8.82
4 5.46

chitest 0.893882
chiinv 4.254447 Test Stat

critical 9.487729
(r-1)*(c-1)
Is 4.25 > than 9.49? No.
Test Stat is not greater than critical value -- do not reject Ho

Ho: health consciousness does not impact frequency of visits H0: differences are due to chance
H1: health consciousness does impact frequency of visits H1: differences are not due to chance
11.02
Observed Expected O-E (O-E)^2 ((O-E)^2)/E
Gordie Howe 125 100 25 625 6.25
Bobby Orr 90 100 -10 100 1
Wayne Gretzky 135 100 35 1225 12.25
Clarke 65 100 -35 1225 12.25
Lindros 85 100 -15 225 2.25
total
500 500 500 34 test stat

Ho: differences are due to chance


H1: differences are not due to chance

critical value 9.48772903678 using =chiinv

0.00000074519 using =chitest


34 using =chiinv
t due to chance

Is 34 > 9.48? Yes ---- Reject Ho in favour of H1


Actual Expected (O-E) (O-E)^2 (O-E)^2/E
1 beef 20 20 0 0 0
2 turkey 28 20 8 64 3.2
3 veggie 16 20 -4 16 0.8
4 assorted 24 20 4 16 0.8
5 BLT 12 20 -8 64 3.2

100 100 100 ∑(O-E)^2/E


8 chi-square Test Stat

9.487729 critical value

Ho: observed does not differ from expected


H1: at least one observed differs from expected

0.091578 chitest
8 chiinv
Chi-Square

What are you going to spend most of your time on this summer?

Observed Expected (O-E) (O-E)^2 (O-E)^2/E


Work 33 25 8 64 2.56
School 24 12.5 11.5 132.25 10.58
Travel 32 37.5 -5.5 30.25 0.806667
Nothing 11 25 -14 196 7.84

100 100 100 ∑(O-E)^2/E


21.78667 chi-square

7.814728 critical value

If Test Statistic (i.e. Chi-Square)


greater than the critical value?
YES
Ho: p1 = p2 = p3 = p4 ----------------- observed does not differ from expected
H1: at least one observed differs from the expected
Chi-Square

What are you going to spend most of your time on this summer?

Observed Expected (O-E) (O-E)^2 (O-E)^2/E


Work 33 25 8 64 2.56
School 24 25 -1 1 0.04
Travel 32 25 7 49 1.96
Nothing 11 25 -14 196 7.84

100 100 100 ∑(O-E)^2/E


12.4 chi-square

7.814728 critical value

If Test Statistic (i.e. Chi-Square)


greater than the critical value?
YES
Ho: p1 = p2 = p3 = p4 ----------------- observed does not differ from expected
H1: at least one observed differs from the expected
Chi-Square

What are you going to spend most of your time on this summer?

Observed Expected (O-E) (O-E)^2 (O-E)^2/E


Work 33 33 0 0 0
School 24 24 0 0 0
Travel 32 32 0 0 0
Nothing 11 11 0 0 0

100 100 100 ∑(O-E)^2/E


0 chi-square

7.814728 critical value

If Test Statistic (i.e. Chi-Square)


greater than the critical value?
NO
Ho: p1 = p2 = p3 = p4 ----------------- observed does not differ from expected
H1: at least one observed differs from the expected

You might also like