Chi-square formula of liberal arts mathematics in senior three.
If the four-cell frequencies of the four-cell table data are A, B, C and D, the chi-square value of the four-cell table data is (ad-BC) 2 * n/(a+b) (c+d) (a+c) (b+d), and the degree of freedom is v= (number of rows-1).