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

New to MATLAB?

generating contingency tables (with categorical data)

Asked by Ayse Kazan

Ayse Kazan (view profile)

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

Ayse Kazan (view profile)

Products

No products are associated with this question.

1 Answer

Answer by the cyclist

the cyclist (view profile)

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

the cyclist (view profile)

Contact us