How I calculate the chi-square coefficient on a contingency table?
2 次查看(过去 30 天)
显示 更早的评论
How I calculate the chi-square coefficient on a contingency table?
I have a table with the frequencies of liking of an item under certain condition. I need to calculate on this data the chi-square because I need it to calculate the association index of Cramér. How can I calculate the chi-square coefficient? Thanks.
0 个评论
回答(2 个)
Wayne King
2013-12-5
Do you have the Statistics Toolbox? If so, then use crosstab() that will produce a contingency table and optionally output a chi-square statistic.
If you do not have the Statistics Toolbox, search the file exchange for contingency table.
2 个评论
Wayne King
2013-12-5
Just taking a quick look, I see that there appear to be routines that use Fisher's exact test that don't have Statistics Toolbox listed as a required product. Would Fisher's exact test suffice?
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Hypothesis Tests 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!