607
Views
2
CrossRef citations to date
0
Altmetric
Teacher’s Corners

PolychoricRM: A Computationally Efficient R Function for Estimating Polychoric Correlations and their Asymptotic Covariance Matrix

, , &
Pages 310-320 | Published online: 25 Jun 2021
 

ABSTRACT

Many applications of structural equation modeling involve ordinal (e.g., Likert) variables. A popular way of dealing with ordinal variables is to estimate the model with polychoric correlations rather than Pearson correlations. Such an estimation also requires the asymptotic covariance matrix of polychoric correlations. It is computationally intensive to estimate polychoric correlations and their asymptotic covariance matrices. We describe a computationally efficient R function PolychoricRM to estimate polychoric correlations and their asymptotic covariance matrix. The function invokes the computing power of modern Fortran and exploits multiple-core (multiple-thread) CPUs on nearly all current computers.

Notes

1 One can speed up EFA with ordinal variables by passing the polychoric correlation matrix and the ACM to an EFA function directly. Example R code is provided in Appendix C.

2 Olsson (Citation1979a) presented the correlation-related equation before threshold-related equations. We reverse the order and present threshold-related relations first for a more intuitive description of the two-stage method.

3 The scoring method is like the Newton method but with an approximated Hessian matrix.

4 Some example R code are provided in Appendix C.

5 We also compared the two functions with the whole IPIP data set, which contains 50 5-category items and 19,376 participants. The computing cost for PolychoricRM was 7.43 seconds and the computing cost for lavCor was 67.53 seconds.

6 An online support file (https://drive.google.com/file/d/1Mdme5NLScg6IywQUhVl1egYgjTuHlE8r/view?usp=sharing) contains details of the comparisons.

Log in via your institution

Log in to Taylor & Francis Online

PDF download + Online access

  • 48 hours access to article PDF & online version
  • Article PDF can be downloaded
  • Article PDF can be printed
USD 53.00 Add to cart

Issue Purchase

  • 30 days online access to complete issue
  • Article PDFs can be downloaded
  • Article PDFs can be printed
USD 412.00 Add to cart

* Local tax will be added as applicable

Related Research

People also read lists articles that other readers of this article have read.

Recommended articles lists articles that we recommend and is powered by our AI driven recommendation engine.

Cited by lists all citing articles based on Crossref citations.
Articles with the Crossref icon will open in a new tab.