compute_CI | R Documentation |
Diagnosis of collinearity in matrix X
compute_CI(matrix)
matrix |
a matrix of data where rows = observations and columns = variables |
Collinearities can inflate the variance of the estimated regression coefficients and numerical stability. The condition indices are calculated by the eigenvalues of the crossproduct matrix of the scaled but uncentered explanatory variables. Indices > 30 may indicate collinearity
It returns the condition index of the matrix
Belsley, D. , Kuh, E. and Welsch, R. E. (1979), Regression Diagnostics: Identifying Influential Data and Sources of Collinearity, John Wiley (New York)
data("Education")
compute_CI(Education)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.