How I calculate the chi-square coefficient on a contingency table?

조회 수: 13 (최근 30일)
Giuseppe
Giuseppe 2013년 12월 5일
답변: Giuseppe 2013년 12월 9일
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.

답변 (2개)

Wayne King
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
Giuseppe
Giuseppe 2013년 12월 5일
Hi, thanks for your reply but I don't have statistical toolbox. I made the research but I see one file with chi-square with contigency tables but it requires statistical toolbox..can you show a file in file exchage as you said? thanks.
Wayne King
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?

댓글을 달려면 로그인하십시오.


Giuseppe
Giuseppe 2013년 12월 9일
Hi, I don't know if fisher test is the same of chi square. thanks

카테고리

Help CenterFile Exchange에서 Hypothesis Tests에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by