generating contingency tables (with categorical data)

Hi All,
I want to generate contingency tables, especially with categorical data. If possible, I want to generate samples with bootstrap, that is also with categorical data.
Can you help please? thanks..

 Accepted Answer

If you have the Statistics Toolbox, then you can use the crosstab() function to generate contingency tables.
There are several ways to generate bootstrap samples. One handy function is randsample().

More Answers (0)

Community Treasure Hunt

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

Start Hunting!