glm
我和家人一起调整了一个Tweedie
。现在我需要在响应量表中获得调整后的均值和标准误。至今:
mtcars$am <- as.factor(mtcars$am)
m1 <- glm(hp ~ am, data = mtcars,
family = statmod::tweedie(var.power = 2.2,
link.power = 0 #link log
))
summary(emmeans(m1, "am"), type = "response")
am response SE df asymp.LCL asymp.UCL
0 5.0768 0.11516 Inf 4.8511 5.3025
1 4.8430 0.13600 Inf 4.5764 5.1095
Unknown transformation "mu^0": no transformation done
Confidence level used: 0.95
如何告知我使用了链接log()
?如何处理:“未知转换“mu^0”:未完成转换“?