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.
Blake Porter (2021). chiSquareTest (https://www.mathworks.com/matlabcentral/fileexchange/79033-chisquaretest), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!