powered by
Calculates Cramer's V, a measure of association to gauge the strength of the relationship between two nominal-level variables. A score of 0 indicates no relationship; a score of 1 indicates a perfect relationship.
CramersV(chi, r, c, n)
A number equal to the Chi-Squared statistic
A number equal to the number of rows
A number equal to the number of columns
A number equal to the sample size
The Cramer's V statistic, a number
# NOT RUN { CramersV(84.18, 2, 2, 1315) CramersV(chi=84.18, r=2, c=2, n=1315) # }
Run the code above in your browser using DataLab