Based on: https://stattrek.com/chi-square-test/homogeneity.aspx?tutorial=
Simple Chi-Square test of homogeneity where you have a single categorical variable from multiple populations. X should be an array where rows are populations and columns are the categories. Outputs p value and Chi-Square stat.
Cite As
Blake Porter (2026). chiSquareTest (https://www.mathworks.com/matlabcentral/fileexchange/79033-chisquaretest), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2018a
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0 |
