Estimates the correlation between a continuous variable and an ordinal variable, assuming the ordinal variable arises from cutting an underlying normal variable into categories. Uses the two-step estimator: thresholds from the marginal proportions, then maximum likelihood for the correlation (Olsson, Drasgow and Dorans 1982).
Value
The estimated correlation, using cases complete for both
variables, or NA if y has fewer than two observed levels or x is
constant.
References
Olsson U, Drasgow F, Dorans NJ (1982). The polyserial correlation coefficient. Psychometrika, 47, 337-347.