Time remaining:
##### Goodness To Fit Test

 Statistics Tutor: None Selected Time limit: 0 Hours

Below are the numbers of people buying seven types of products in two schools:

First school: 15, 20, 18, 30, 22, 25, 24

Second school: 16, 14, 18, 20, 22, 25, 24

Test whether the buying of products are independent from the school.
Apr 22nd, 2015

get the percent distribution of the two schools:

1st     2nd

10       12

13       10

12       13

19       14

14       16

16       18

16        17

Use Chi^2 to test if the distribution are the same.

Num Categories:      7

Degrees of freedom:  6

Test Statistic, X^2: 3.6270

Critical X^2:        12.59157

P-Value:             0.7270

This was done using StatDisk. I treated 1st col as the observed frequency and the second as the expected frequency

Conclusion: Fail to reject the hypothesis that the buying of products are independent from the school.

Apr 22nd, 2015

Sorry,need to revise.Construct a 2 x 7 contingency table of observed and expected frequencies:

 1st school 15 20 18 30 22 25 24 154 2nd school 16 14 18 20 22 25 24 139 31 34 36 50 44 50 48 293 EXPECTED FREQUENCIES 1st school 16.29 17.87 18.92 26.28 23.13 26.28 25.23 154.00 2nd school 14.71 16.13 17.08 23.72 20.87 23.72 22.77 139.00 (O-E)^2/E 0.10 0.25 0.04 0.53 0.05 0.06 0.06 0.11 0.28 0.05 0.58 0.06 0.07 0.07 Chi^2 = 2.33 p-value 0.887065 C.V. 12.59159
Fail to reject  the hypothesis that the buying of products are independent from the schoo

Apr 22nd, 2015

...
Apr 22nd, 2015
...
Apr 22nd, 2015
Dec 4th, 2016
check_circle