我正在尝试对我所拥有的一些序数数据进行一些因子分析,即李克特量表调查问卷从0到5。
我一直在阅读如何处理这个问题,因为它不是连续的数据。然后我找到了以下文件:
http://pareonline.net/pdf/v19n5.pdf
从那时起,即使他使用的程序与R不同,似乎在处理有序数据时,必须使用多重相关,并且他还建议对因子方法进行最小等级因子分析。我有点不确定他建议的Promin轮换是否可用于R?
无论如何,当我尝试在R中执行此分析时,我尝试使用psych
包中的以下代码:
fa(data, cor = "poly", fm = "minrank")
然而,这样做的时候我得到了错误(即使我加入了术语nfactors = <some number>
:
Error in glb.algebraic(S) : 'Cov' is not symmetric
我也收到很多关于In log(P) : NaNs produced
的警告。
我不知道这里有什么问题,以及如何修复它?我的数据集(我现在使用的那个)只是一个219 x 19的矩阵,其值从0到5,并且根本没有空白单元格。
我在这里做错了什么,或者......?
编辑: 数据标题:
# A tibble: 6 x 19
`Pt id` Q1 Q2 Q3 Q4 Q7 Q8 Q10 Q12 Q15 Q17 Q18 Q20 Q21 Q22 Q23 Q24
<dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl>
1 304 5 4 5 0 3 5 0 4 1 4 4 4 4 4 4 4
2 474 5 1 5 0 3 5 0 4 1 4 0 0 0 4 4 0
3 509 5 5 4 5 3 5 0 4 1 0 0 4 4 4 4 4
4 232 5 1 4 0 3 1 0 4 0 0 0 0 0 3 3 0
5 254 5 2 3 0 3 4 0 2 1 0 0 0 1 2 2 0
6 372 5 2 3 0 3 2 0 2 0 0 1 0 0 4 4 0
# ... with 2 more variables: Q25 <dbl>, Q26 <dbl>
来自dput
的所有数据:
structure(list(`Pt id` = c(304, 474, 509, 232, 254, 372, 388,
493, 283, 296, 305, 468, 257, 258, 362, 353, 471, 210, 213, 234,
314, 319, 332, 336, 339, 350, 357, 359, 363, 365, 370, 385, 411,
417, 436, 455, 461, 462, 495, 521, 317, 211, 204, 299, 373, 405,
423, 328, 349, 497, 202, 207, 215, 239, 245, 250, 293, 294, 297,
303, 310, 326, 341, 369, 379, 416, 430, 433, 442, 448, 456, 477,
486, 503, 520, 337, 382, 407, 498, 249, 262, 266, 438, 510, 320,
309, 267, 292, 335, 206, 216, 237, 251, 269, 324, 343, 355, 360,
375, 395, 399, 403, 404, 412, 424, 440, 457, 500, 288, 244, 279,
311, 342, 389, 447, 508, 291, 318, 439, 209, 224, 229, 275, 277,
330, 368, 390, 394, 406, 459, 469, 476, 479, 523, 201, 203, 205,
218, 219, 222, 225, 226, 227, 231, 236, 238, 242, 247, 248, 260,
261, 264, 271, 272, 278, 285, 298, 300, 301, 306, 323, 327, 329,
331, 333, 340, 345, 347, 351, 356, 358, 361, 364, 366, 367, 371,
376, 377, 378, 384, 397, 398, 400, 401, 402, 408, 413, 414, 419,
420, 425, 431, 437, 441, 444, 450, 451, 452, 453, 458, 460, 463,
466, 470, 483, 487, 492, 502, 505, 506, 511, 515, 517), Q1 = c(5,
5, 5, 5, 5, 5, 5, 5, 5, 5, 1, 5, 3, 4, 5, 5, 4, 0, 5, 5, 0, 0,
5, 5, 0, 3, 0, 0, 0, 0, 0, 0, 0, 5, 5, 5, 0, 0, 0, 0, 5, 3, 0,
4, 4, 0, 3, 1, 4, 3, 0, 3, 5, 5, 0, 5, 2, 0, 0, 3, 0, 3, 0, 0,
4, 5, 4, 5, 5, 1, 0, 0, 0, 5, 0, 0, 2, 5, 4, 1, 1, 0, 3, 5, 1,
5, 0, 3, 1, 5, 3, 0, 1, 0, 0, 0, 0, 4, 1, 1, 0, 0, 1, 5, 0, 3,
0, 3, 5, 5, 0, 1, 4, 1, 0, 1, 4, 3, 0, 1, 0, 0, 2, 2, 4, 0, 1,
3, 3, 0, 4, 0, 0, 1, 0, 2, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 3,
2, 3, 0, 0, 5, 3, 0, 3, 0, 3, 0, 2, 0, 0, 0, 0, 0, 0, 3, 0, 0,
5, 4, 3, 0, 3, 3, 0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0, 0, 0, 0, 4, 0, 0, 0, 0, 0, 1, 1, 0, 2, 0, 0, 1,
0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 1, 0, 1, 2, 1, 1, 1, 1, 0, 0, 0, 0, 0,
1, 0, 0, 0, 0, 3, 0, 0, 0, 0), Q26 = c(3, 0, 2, 0, 2, 0,
1, 1, 0, 1, 1, 0, 3, 0, 0, 0, 2, 0, 1, 0, 0, 0, 0, 0, 0,
0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 2, 0, 0, 0, 0, 0, 0, 1,
2, 1, 1, 0, 2, 2, 0, 0, 0, 4, 0, 4, 0, 0, 0, 0, 0, 1, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 2, 0, 0, 2, 0, 1, 0,
1, 0, 3, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 1, 0,
0, 0, 0, 0, 2, 0, 2, 0, 0, 0, 0, 1, 0, 2, 4, 0, 0, 0, 0,
0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 2, 0, 0, 0, 0, 0,
0, 2, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0,
0, 1, 0, 1, 0, 0, 2, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1,
1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)), .Names = c("Pt id",
"Q1", "Q2", "Q3", "Q4", "Q7", "Q8", "Q10", "Q12", "Q15", "Q17",
"Q18", "Q20", "Q21", "Q22", "Q23", "Q24", "Q25", "Q26"), row.names = c(NA,
-213L), class = c("tbl_df", "tbl", "data.frame"))
因此,基本上一些问卷/李克特量表值与患者ID相关联。