Estimates the correlation between two ordinal variables, assuming each 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 1979).
Value
The estimated correlation, using cases complete for both
variables, or NA if either has fewer than two observed levels.
References
Olsson U (1979). Maximum likelihood estimation of the polychoric correlation coefficient. Psychometrika, 44, 443-460.