SLIDE 1
Goals
- Chi-Square test of independence
- R: mosaic plot, cotabplot (with shading)
- Appl. Multivariate Statistics - Spring 2013
Visualizing categorical data & inference Applied Multivariate - - PowerPoint PPT Presentation
Visualizing categorical data & inference Applied Multivariate Statistics Spring 2013 Goals Chi-Square test of independence R: mosaic plot, cotabplot (with shading) Appl. Multivariate Statistics - Spring 2013 Start simple: Two
i=1
j=1 (Oij¡Eij)2 Eij
i=1
j=1 R2 ij
Pea earson Res esid iduals ls 𝑆𝑗𝑘 = 𝑃𝑗𝑘 − 𝐹𝑗𝑘 𝐹𝑗𝑘 Contribution
Suprisingly small
count Suprisingly large
count Use color if Pearson residual is outside [-2, 2]