Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
比较下面 stargazer 函数输出中的 x 系数。initial.zero=FALSE 参数删除负号。这是预期的吗?
set.seed(1234) y<-rnorm(1000) x<- -y+rnorm(1000) lm<-lm(y~x) require(stargazer) stargazer(lm) stargazer(lm, initial.zero = FALSE)