mardi 12 janvier 2016

3-way Chi-Squared Test in R

I have categorical data as follows:

gender age_group diagnosis
male     young    x
female   child    y
female   adult    x
male     old      z

gender, age_group and diagnosis have 2, 4 and 3 levels respectively. 

I want to conduct a Chi-Squared Test to see the relationship between two categories. How could I do that in R

Aucun commentaire:

Enregistrer un commentaire