下面这个命令应该没有错 但是每当我增加一个自变量(超过6个自变量) 系统就报错 这是什么原因呢?
谢谢~急急急
ologm1<-polr(as.factor(newcgss$online_engagement)~
+ agegroup+yeareducate+newsex+newnation+political+internet_frq,
+ method="logistic",data=newcgss)
> summary(ologm1)
错误提示:
Re-fitting to get Hessian
Error in polr(formula = as.factor(newcgss$online_engagement) ~ agegroup + :
'start' is not of the correct length