问题描述
我正在尝试使用mass软件包运行有序logit回归,并且我不断在R中提出此错误消息。 我正在运行模型
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8" />
<title>Viewer</title>
<link rel="stylesheet" href="../css/view.css" />
</head>
<body>
<div class="header">
<div class="filters" onclick="filters()">
<input type="checkbox" name="filterType" value="Warning" />
Warning
<input type="checkbox" name="filterType" value="Severe" />
Severe
<input type="checkbox" name="filterType" value="State" /> State
</div>
</div>
<div class="output">
<pre id="data">
<span class="st" name="State"><a href="#!" title="remove line" id="1" onclick="removeLine(1)">X</a> State ===> hello state
</span>
<span class="wrn" name="Warning"><a href="#!" title="remove line" id="2" onclick="removeLine(2)">X</a> Warn ===> hello warn
</span>
<span class="err" name="Error"><a href="#!" title="remove line" id="3" onclick="removeLine(3)">X</a> Error ===> hello error
</span>
....(// thousands of span elements like above)
</pre>
</div>
</body>
</html>
fit2 <- polr(level ~ pvi + enrollment,data = schools,Hess = TRUE)
但这给了我错误summary(fit2)
如果我只使用level和pvi运行相同的模型,则不会出现任何错误。注册人数是一个整数变量,范围从50到50,000,并且没有丢失的数据。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)