Inputs for chi-squared test

3 views (last 30 days)
Marta
Marta on 24 Nov 2013
Hi.
I would like to test the hypothesis that the answers I got in a questionnaire from two differently sized patient groups have the same mean. The answers can be '1','2','3','4' or '5'. I was thinking of performing a chi-squared test, but am not familiar with the Statistics Toolbox and therefore cannot understand how to format my data as suitable inputs for chi2gof, crosstabs or any other of the Matlab functions that performs chi2 tests. Can you help?
Many thanks. Best wishes, Marta

Answers (0)

Community Treasure Hunt

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

Start Hunting!