How can a do a chi square test with several groups

1 view (last 30 days)
I have two groups and 9 catergories:
grp1= [1851 852 265 20 470 38 17 6 170];
grp2= [ 743 164 142 3 98 27 6 2 35 ];
I do not understand how to do a chi square test to determine whether this is a significant difference. I believe I need to use chi2gof with a estimated value, but don't seem to understand how to do that. Thanks a lot

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!