This is a program to calculate the significance of correlation in a survey result.

Suppose you want to know the significance between the age and nationality of each person you surveyed, and you hypothesize that there is a correlation between young people and French people. You could enter your results into a table like this:


Press the submit button, and it should give you the chi square of the table. Enter it into a P-value calculator, and you should see if there is any correlation in the table.

For the mathematics behind chi-square analysis, check out my blog post at Chi-Square analysis: The Pokemon GO survey.