Contingency table and chi-square-test

Input date of type (xi, yi) (or click here for input in contingency table):


 


               xi                                    yi