search for: matrix18

Displaying 2 results from an estimated 2 matches for "matrix18".

Did you mean: matrix1
2012 Oct 02
0
Error messages when attempting to calculate polychoric correlation matrices using the psych package
...hor command when trying to find an equivalent for the polychoric command found in the psych package (I am following a procedure outlined in Gadermann, Guhn & Zumbo, 2012 that uses this command rather than the polycor package) . The polychoric command is returning an error: > polychoric(data.matrix18) Error in max(x, na.rm = TRUE) - min(x, na.rm = TRUE) : non-numeric argument to binary operator I have now computed a polychoric correlation matrix using your hetcor command and the two-step estimation method (ML returned an error that I have read about in other posts); I didn't have to modi...
2012 Oct 01
1
Error messages when attempting to calculate polychoric correlation matrices
...steps because there were no observed responses for one extreme of the item. The dataset has no missing data following multiple imputation and preliminary analyses were conducted using SPSS. I have included a command that will reproduce the dataset below, apologies for the size of the command: data.matrix18 <- structure(list(SABAS02 = structure(c(6, 2, 5, 6, 4, 6, 5, 3, 5, 1, 4, 4, 6, 5, 5, 5, 4, 4, 4, 3, 4, 6, 5, 2, 5, 4, 5, 4, 4, 5, 5, 5, 2, 5, 4, 5, 5, 5, 6, 3, 6, 4, 5, 5, 5, 5, 4, 4, 5, 5, 5, 4, 5, 5, 4, 6, 6, 5, 6, 4, 4, 5, 4, 5, 5, 5, 6, 4, 4, 5, 4, 6, 5, 6, 5, 6, 6, 5, 4, 6, 6, 5, 3, 4, 2, 4...