【问题标题】:Linear regression when the dependent is nominal [closed]依赖项为名义时的线性回归
【发布时间】:2019-03-05 01:32:04
【问题描述】:

我使用SPSS分析了以下数据样本,以找出(Type_of_Sacrum)的因变量与(Sex,S.weight,S.length,S.width和Body_Mass)的自变量之间是否存在任何关系。 我对(Type_of_Sacrum and Sex)使用了卡方模型。我还对(Type_of_Sacrum 和 S.weight、S.length、S.width 和 Body_Mass)使用了线性回归。我不确定我是否在做正确的事情,特别是因变量(Type_of_Sacrum)是名义上的。

【问题讨论】:

  • 我投票结束这个问题,因为这是一个统计问题而不是编程问题。

标签: analytics linear-regression


【解决方案1】:

当您的因变量是连续变量时,通常会执行线性回归。(https://www.statisticshowto.datasciencecentral.com/continuous-variable/)

由于您的因变量是分类变量,您可能希望查看执行逻辑回归。 你可以在What is the difference between linear regression and logistic regression?找到一些参考

【讨论】:

    猜你喜欢
    • 2020-04-17
    • 2015-01-24
    • 2014-09-22
    • 2016-02-16
    • 2015-06-21
    • 2020-08-31
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多