I understand that it's using "Pearson's product-moment correlation" and it's using biserial correlation when one variable is binary and the other is continuous. What is it doing when given two binary variables? Is the correlation coefficient given useful for exploratory analysis or should I instead look at something like Jaccard's?
Asked
Active
Viewed 215 times
1
cor.test? Read the documentation, with two binary variables rather make a contingency table. Where isggcor? when mentioning functions not on the standard packages you should give the package also. There is aGGally::ggcorrfunction, do you mean that? Note that functions purely about software is off-topic here, try to reformulate to emphasize Q about methodology. Look at https://stats.stackexchange.com/questions/103801/is-it-meaningful-to-calculate-pearson-or-spearman-correlation-between-two-boolea/103806, which might be a duplicate – kjetil b halvorsen Jun 23 '21 at 23:40