Hmisc package in R or with
cor.test, we can get the pvalues for pearson or any other correlation. I wanted to calculate biserial and polyserial correlation for data with numeric and ordinal values.
I am using functions
ltm package and
polycor package. I am wondering how can I calculate, pvalues to test if the correlations are statistically significant in case of biserial and polyserial correlations.
Example from the help function:
library(ltm) biserial.cor(rowSums(LSAT), LSAT[])