逻辑回归缺失值

发布于 2024-10-09 23:30:33 字数 68 浏览 0 评论 0原文

我可以进行带有缺失值的逻辑回归吗?

我有很多连续属性和一些分类属性,我可以将它们设置为用户缺失吗?有用吗?

Could I have a logistic regression with missing values?

I have many continuos attributes and some categorical, could I set them as user-missing? Could it be useful?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

远山浅 2024-10-16 23:30:33

为了进行回归分析,您需要为每个事件测量所有变量。也许另一种技术可以处理缺失的属性,但不能处理回归。

发布问题!

顺便说一句,您应该尝试在 https://stats.stackexchange.com/ HTH

For doing a regression analysis you need all variables measured for each event. Perhaps another technique works with missing attributes, but not regression.

BTW, you should try posting the question at https://stats.stackexchange.com/

HTH!

自演自醉 2024-10-16 23:30:33

大多数回归过程都需要完整的数据,但有多种方法可以处理缺失值。这是一个微妙的话题,所以我不会假装在这里给出完整的答案,并建议阅读一些关于该主题的文章。但简而言之:

  1. 永远不要删除观察来解决这个问题。
  2. 删除变量总是被允许的,但显然这对于​​数据预算来说是相当严格的。
  3. 如果有的话,应该谨慎地用全局常量(例如非缺失的平均值或中位数)填充缺失值(当缺失的比例非常低时)。
  4. 使用基于其他自变量选择的值来填充缺失值比上面的第 3 种更可取。

要了解有关此主题的更多信息,请寻求有关术语“插补”的信息,尤其是“单次插补”和“多重插补”、“随机缺失”和“完全随机缺失”。

Most regression procedures require complete data, but there are a variety of methods for dealing with missing values. This is a subtle topic, so I won't pretend to give a complete answer here, and recommend doing some reading on the subject. Briefly, though:

  1. Never delete observations to fix this problem.
  2. Deletion of variables is always allowed, but obviously is quite severe in terms of one's data budget.
  3. Filling in missing values with global constants, such as the mean or median of the non-missings, should be done sparingly (when the proportion of missings is very low) if at all.
  4. Filling in missing values with values chosen based on other independent variables is preferred over number 3, above.

To learn more about this subject, seek information on the terms "imputation", especially "single imputation" and "multiple imputation", "missing at random" and "missing completely at random".

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文