Basic statistics
Chi-square test
Test whether two categorical variables are related, for example farm size and adoption of a practice.
Data format
Column names in the first row, then one line per row category with its counts.
Farm size, Adopted, Not adopted Small, 34, 46 Medium, 41, 29 Large, 28, 12
You get
- Observed and expected counts with totals
- Pearson chi-square, likelihood ratio, and Yates and Fisher's exact test for 2 × 2 tables
- Cramér's V, with a warning when expected counts are below 5
Downloads as Excel, PDF and Word.
Enter data
First row: a label, then the column names. Then one line per row category: its name, then its counts.
or drag and drop here