Description Usage Arguments Details Value Author(s) References Examples
This function can be used to estimate a polychoric (or tetrachoric) correlation matrix assuming standardized latent items. If thresholds are given, it estimates polychoric covariances, means and variances.
1 |
x |
A matrix or dataframe containing ordinal data, or a vector containing ordinal data. |
y |
A vector containing ordinal data. Only if x is also a vector. |
thresholds |
An optional list containing thresholds for each item. |
... |
Arguments sent to |
If 'thresholds' is not assigned, then the latent means and variances of each item are fixed to 0 and 1 respectively resulting in a correlation matrix. If ‘thresholds’ is assigned then the means and variances are estimated for each item and a covariance matrix is returned. For dichotomous items the variance is fixed to 1.
The polychoric correlations are estimated in a two-step procedure (Luo, 2011). first the thresholds are obtained from the marginal distribution of each variable and then the covariances are optimized to the frequency table.
covmat |
The estimated covariance matrix. |
thresholds |
A list containing the estimated thresholds. |
means |
A vector of estimated means. |
vars |
A vector of estimated variances. |
Sacha Epskamp
Luo, H. (2011) Some Aspects on Confirmatory Factor Analysis of Ordinal Variables and Generating Non-normal Data. Retrieved from http://urn.kb.se/resolve?urn=urn:nbn:se:uu:diva-149423
1 2 3 4 5 6 7 8 9 10 11 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.