When using stargazer
there is an argument, omit.stat
, however I need to remove the test statistics from below my coefficient values and it isn't an argument listed in the stargazer package documentation (PDF) (pp. 14–15). Does anyone know how I might go about this?
For Example:
install.packages('stargazer'); library(stargazer)
linear.1 <- lm(rating ~ complaints + privileges + learning + raises + critical,
data=attitude)
linear.2 <- lm(rating ~ complaints + privileges + learning, data=attitude)
attitude$high.rating <- (attitude$rating > 70)
probit.model <- glm(high.rating ~ learning + critical + advance,
data=attitude, family = binomial(link = "probit"))
stargazer(linear.1, linear.2, probit.model, title="Regression Results",
align=TRUE, dep.var.labels=c("Overall Rating","High Rating"),
covariate.labels=c("Handling of Complaints","No Special Privileges",
"Opportunity to Learn","Performance-Based Raises","Too Critical",
"Advancement"), omit.stat=c("LL","ser","f"), no.space=TRUE)
The above gives me a table with test statistics, which I would like to omit entirely. The following replaces them with confidence intervals but that isn't any better.
stargazer(linear.1, linear.2, title="Regression Results",
dep.var.labels=c("Overall Rating","High Rating"),
covariate.labels=c("Handling of Complaints","No Special Privileges",
"Opportunity to Learn","Performance-Based Raises",
"Too Critical","Advancement"), omit.stat=c("LL","ser","f"),
ci=TRUE, ci.level=0.90, single.row=TRUE)
The tables can be seen on the R-statistics blog entry, Tailor Your Tables with stargazer: New Features for LaTeX and Text Output, as the first and second respectively.