Hello,
I am trying to calculate Cramer's V statistic for the same variable for different groups. For example, I am trying to calculate the effect size of height between women and men. Thus, the variable of interest is one variable (height) by two groups (women v men). I have tried to use the by() command, but I receive the "option by() not allowed" error. I have tried variations of the following command that have given me an error:
tabulate height, by(gender) V
Does anyone have experience on how to include the by() command when calculating the Cramer's V statistic? Thank you!
I am trying to calculate Cramer's V statistic for the same variable for different groups. For example, I am trying to calculate the effect size of height between women and men. Thus, the variable of interest is one variable (height) by two groups (women v men). I have tried to use the by() command, but I receive the "option by() not allowed" error. I have tried variations of the following command that have given me an error:
tabulate height, by(gender) V
Does anyone have experience on how to include the by() command when calculating the Cramer's V statistic? Thank you!
Comment