【问题标题】:how can I calculate the p-value in R? [duplicate]如何计算 R 中的 p 值? [复制]
【发布时间】:2020-10-15 06:29:03
【问题描述】:

如何找到这些回归的 p 值?

transphobia <- read.csv("https://raw.githubusercontent.com/umbertomig/intro-prob-stat-FGV/master/datasets/broockman_kalla_2016.csv")
trans <- subset(transphobia, !is.na(therm_trans_t0))

therm3.dummy <- lm(therm_trans_t3~treat_ind + therm_trans_t0 + vf_age + vf_racename + vf_female + vf_democrat + factor(canvasser_id), data = trans)


therm4.dummy <- lm(therm_trans_t4~treat_ind + therm_trans_t0 + vf_age + vf_racename + vf_female + vf_democrat + factor(canvasser_id), data = trans)

【问题讨论】:

    标签: r regression p-value


    【解决方案1】:

    只需获取摘要输出:summary(therm3.dummy)summary(therm4.dummy)

    【讨论】:

      猜你喜欢
      • 2015-08-13
      • 2014-06-23
      • 2019-12-10
      • 1970-01-01
      • 2017-12-20
      • 2017-12-20
      • 2017-11-29
      • 2014-04-13
      • 2017-11-30
      相关资源
      最近更新 更多