Free statistical calculators
Two-way Chi-squared test
The two-way Chi-squared test allows to test the relationship between two classification factors (e.g. gender and profession)..
First, select the number of different categories for the two classification factors.
Next, enter the number of cases for each pair of categories.
Optionally, you can select a Chi-squared test for trend. The Cochran-Armitage test for trend (Cochran, 1954; Armitage, 1955) provides a more powerful test than the unordered test, but this test is only applicable if your classification table has 2 columns and 3 or more rows (or 2 rows and 3 or more columns), and if the data originate from ordered categories.
The results section contains the Chi-squared value, the Degrees of Freedom and associated P-value.
If the calculated P-value is small (<0.05), then there is a statistically significant relationship between the two classifications.
- Armitage P (1955) Tests for linear trends in proportions and frequencies. Biometrics 11:375-386.
- Cochran WG (1954) Some methods for strengthening the common chi-squared tests. Biometrics 10:417-451.
How to cite this page
- MedCalc Software Ltd. Two-way Chi-squared test. https://www.medcalc.org/calc/chisquared-2way.php (Version 22.013; accessed September 24, 2023)