Skip to content

ENH: polychoric correlation for ordered variables #4165

Open

Description

@josef-pkt

The assumption is that a ordered variable is generated by a underlying latent variable that multivariate normal distributed. The ordered variable is a interval censored observed variable with unknown interval boundaries.
Given that the data is only ordered loc and scale of underlying latent variable is not determined, and is usually taken to be standard multivariate normal (loc=0, diag(cov) = eye)

standard method (relatively fast)

  • get interval censoring threshold from marginal frequencies of the data.
  • for all pairs of observations solve for the correlation coefficient given the thresholds, correlation coefficient is the only unknown.
  • possibly check for positive (semi-) definitness

alternative is solving for thresholds and correlation coefficients simultaneously
problems:

  • if only pairs are considered, then pairs will have different censoring thresholds
  • if the full model is considered, then it becomes a very large estimation problem

main point in the computation is step 2 above:

  • Note, first order condition for estimation does not include a normal cdf, only pdf
  • it should be possible to compute the bivariate normal integrals with scipy (ignoring older papers that include computing normal cdf in the algorithm)
  • starting values and optimization/root-finding method. Given that there is only a scalar parameter to search for, it should be possible to make this reasonabley efficient (even if slower than specialized Fortran code).

bonus:
asymptotic standard errors or cov_params for the estimate of the polychoric correlation coefficient.

References

(based on my Zotero, I don't remember what I looked at)

Jöreskog 1994 is the only important one that I remember

Fox, John. 2010. Polycor: Polychoric and Polyserial Correlations (version 0.7-8). http://cran.r-project.org/web/packages/polycor/index.html.

Jin, Shaobo, and Fan Yang-Wallentin. 2017. “Asymptotic Robustness Study of the Polychoric Correlation Estimation.” Psychometrika 82 (1):67–85. https://doi.org/10.1007/s11336-016-9512-2.

Jöreskog, Karl G. 1990. “New Developments in LISREL: Analysis of Ordinal Variables Using Polychoric Correlations and Weighted Least Squares.” Quality and Quantity 24 (4):387–404. https://doi.org/10.1007/BF00152012.

———. 1994. “On the Estimation of Polychoric Correlations and Their Asymptotic Covariance Matrix.” Psychometrika 59 (3):381–89. https://doi.org/10.1007/BF02296131.

Maydeu-Olivares, Alberto, Carlos García-Forero, David Gallardo-Pujol, and Jordi Renom. 2009. “Testing Categorized Bivariate Normality with Two-Stage Polychoric Correlation Estimates.” Methodology: European Journal of Research Methods for the Behavioral and Social Sciences 5 (4):131–36. https://doi.org/10.1027/1614-2241.5.4.131.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions