I have two dummy variables and calculated the correlation between them using Stata.
X = Gender ($1=$ female/ $0=$ male)
Y = Quiz solved ($1=$ yes/$0=$no)
I was told by my professor to use the pwcorr command. I got a significant correlation of $-0.08383$.
Is it correct to conclude that the women in the dataset were less likely got the quiz right?
prtest Y, by(X)gets you more interesting and useful summaries and does a test too. (Hint:XandYare lousy variable names. If your professor is insisting on them, shame. In fact, the advice to use correlation here is a little puzzling.) – Nick Cox Feb 20 '21 at 17:53pwcorrthe correlation is significant on the 5% level. Regardless of the significance, I am not quite sure about the interpretation: Assuming the correlation would be significant (and stronger). Would the interpretation of the regression coefficient then be correct, that women solved the quiz correctly less often than men? – xxgaryxx Feb 21 '21 at 08:04