measures of association

Example 8.39: calculating Cramer’s V

June 3, 2011 | Ken Kleinman

Cramer's V is a measure of association for nominal variables. Effectively it is the Pearson chi-square statistic rescaled to have values between 0 and 1, as follows:V = sqrt(X^2 / [nobs * (min(ncols, nrows) - 1)])where X^2 is the Pearson chi-square, n...
[Read more...]

Example 8.29: Risk ratios and odds ratios

March 7, 2011 | Ken Kleinman

When can you safely think of an odds ratio as being similar to a risk ratio?Many people find odds ratios hard to interpret, and thus would prefer to have risk ratios. In response to this, you can find several papers that purport to convert an odds rat...
[Read more...]

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)