You are on page 1of 2

Assignment - for the date 09.11.

13
From : D. Vidhya Priya, 13PHD0276 (SELECT)
CHI SQUARE TEST
The hypothesis to check whether the digits in number occur frequently in the directory.
Digits
0
1
Frequency 1026 1107

2
997

3
966

4
5
6
7
8
9
1075 933 1107 972 964 853

The expected frequencies being based on a uniform distribution is given as,


Expected Freq
E =
1000
O
1026
1107
997
966
1075
933
1107
972
964
853

E
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000

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


26
676
0.676
107 11449
11.449
-3
9
0.009
-34
1156
1.156
75
5625
5.625
-67
4489
4.489
107 11449
11.449
-28
784
0.784
-36
1296
1.296
-147 21609
21.609
58.542

That is, Calculated Value = 58.542


Degrees of freedom = 10 -1 = 9
According to table, The critical value of 2 for 5% significance level = 16.92
Calculated value > Table Value
which means, the Hypothesis is Rejected.

Assignment - for the date 09.11.13


From : D. Vidhya Priya, 13PHD0276 (SELECT)
F TEST
The hypothesis is that the fatcontent obtained from the two labs are of equal variance.
Lab A
Lab B

9
7

7
8

6
8

5
4

7
3

9
7

4
9

7
6

X1
9
7
6
5
7
9
4
7
8

X2 (X1 - X1) (X2-X2 ) (X1 - X1)^2 (X2-X2 )^2


7
2.11
0.7
4.4521
0.49
8
0.11
1.7
0.0121
2.89
8
-0.89
1.7
0.7921
2.89
4
-1.89
-2.3
3.5721
5.29
3
0.11
-3.3
0.0121
10.89
7
2.11
0.7
4.4521
0.49
9
-2.89
2.7
8.3521
7.29
6
0.11
-0.3
0.0121
0.09
5
1.11
-1.3
1.2321
1.69
6
-6.89
-0.3
47.4721
0.09
6.89
6.3
70.361
32.1
X2 = 6.3
X1 = 6.89
Degrees of freedom
n1 = 9-1 = 8
n2 = 10-1 = 9
S1 ^ 2 = 8.79513
S2 ^ 2 = 3.56667
F = S1 ^ 2 / S2 ^ 2Numerator always greater than Denominator
Hence, F = S1 ^ 2 / S2 ^ 2 = 2.4659229
Calculated value = 2.47
According to table, The critical value of F (n1,n2) for 5% significance level = 3.23
Calculated value < Table Value
which means, the Hypothesis is Accepted.

8
5

You might also like