Created
September 22, 2016 17:16
-
-
Save cimentadaj/0ef02f6680b38f23e0733a9572b3f790 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
install.packages("stargazer") # in case you don't have this package | |
library(stargazer) | |
m1 <- glm(mtcars$vs ~ mtcars$hp + mtcars$mpg) | |
stargazer(m1, type = "text") # Our standard log odds | |
stargazer(m1, apply.coef = exp, type = "text") # The coefficients are correct, but look at the significance levels! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment