Site pages
Current course
Participants
General
18 February - 24 February
25 February - 3 March
4 March - 10 March
11 March - 17 March
18 March - 24 March
25 March - 31 March
1 April - 7 April
8 April - 14 April
15 April - 21 April
22 April - 28 April
7.4. X2- test for independence of attributes in 2 x 2 contingency table
Unit 7 - Chi-square distribution
7.4. - test for independence of attributes in 2 x 2 contingency tableSuppose that an attribute data of size n is classified according to two attributes, say, A and B and the attribute A is further subdivided into two classes A1 and A2 and the attribute B into B1, and B2. Such attribute data can be presented in the form of a table called 2 x 2 contingency table as shown below:
Table 2: 2x2 contingency table
It may be of interest to test the independence of attributes A and B.
H0 : The two attributes A and B are independent.
H1 : The two attributes A and B are dependent.
It is tested by the test. A simple formula for computing of a 2 x 2 contingency table is given by,
Table 2: 2x2 contingency table
B\A |
A1 |
A2 |
Total |
B1 |
a |
b |
a+b |
B2 |
c |
d |
c+d |
Total |
a+c |
b+d |
N= a+b+c+d |
It may be of interest to test the independence of attributes A and B.
H0 : The two attributes A and B are independent.
H1 : The two attributes A and B are dependent.
It is tested by the test. A simple formula for computing of a 2 x 2 contingency table is given by,
Last modified: Friday, 16 September 2011, 6:09 AM