我试图通过r中的MRCV包运行MI.Test()。但是,包装似乎已经冻结。这是我使用的代码
Stress_PS <- data.frame(AustinPulse$S1_Cost, AustinPulse$S2_Avail,
AustinPulse$S3_Age, AustinPulse$S4_trans,
AustinPulse$S5_Qual,AustinPulse$SC1_Spouse, AustinPulse$SC2_Caretaker,
AustinPulse$SC3_ChildAlone,AustinPulse$SC4_MsWork, AustinPulse$SC5_Rearang,
AustinPulse$SC6_PTO, AustinPulse$SC7_NonPTO, AustinPulse$SC8_WKHome)
head(Stress_PS, n = 4)
AustinPulse.S1_Cost AustinPulse.S2_Avail AustinPulse.S3_Age
1 0 0
2 1 0
3 0 0
4 0 0
Stress_IR_TABLE <- item.response.table(data = Stress_PS, I = 5, J = 8)
Stress_MI_Table <- marginal.table(data = Stress_PS, I = 5, J = 8)
Stress_MMI_All <- MI.test(data = Stress_PS, I = 5, J = 8, type = "all", B =
199, plot.hist = TRUE)
Bootstrap Progress:
|========================================================================|
100%
然后什么也没有发生,因此RStudio必须重新启动。有人可以帮我做这个工作吗?
谢谢。