<param name=rowlabels value="Male,Female" > - The labels
for the rows in the contingency table (separated by commas)
<param name=columnlabels value="White,Black,Hispanic" > - The labels for the columns in the contingency table (separated by commas)
<param name=data value="34 21 8,65 28 14" > - the initial data to appear in the table, row by row. There should be a space between numbers within a row, and a comma separating rows.
Contingency Table Applet
How it works: Enter numbers in the interior of the table above. As you do so, the marginal row and column totals are updated continuously. Click the compute button to calculate the chi-square value to test for independence and the p-value, and to see this represented in the plot.