Chi-Square and G-Square Test of Independence, Residual Analysis, and Measures of Categorical Association


[Up] [Top]

Documentation for package ‘chisquare’ version 0.8

Help Pages

chisquare R function for chi-square, (N-1) chi-square, and G-square test of independence, measures of association, and standardized/moment-corrected standardized/adjusted standardized residuals, visualisation of odds ratio in 2xk tables (where k >= 2)
diseases Dataset: Cross-tabulation of quantity of tobacco smoked daily vs. cause of death
safety Dataset: Cross-tabulation of people's feeling of safety vs. town size
social_class Dataset: Cross-tabulation of social class vs. diagnostic category for a sample of psychiatric patients