Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

To resolve issues starting MATLAB on Mac OS X 10.10 (Yosemite) visit: http://www.mathworks.com/matlabcentral/answers/159016

generating contingency tables (with categorical data)

Asked by Ayse Kazan on 27 Apr 2013

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..

0 Comments

Ayse Kazan

Products

No products are associated with this question.

1 Answer

Answer by the cyclist on 27 Apr 2013
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().

0 Comments

the cyclist

Contact us