leifeld / texreg

Conversion of R Regression Output to LaTeX or HTML Tables
112 stars 42 forks source link

report t values instead of standard errors beneath regression coefficients #163

Closed waynelapierre closed 3 years ago

waynelapierre commented 4 years ago

How can I make texreg's generated latex regression results report t values instead of standard errors beneath regression coefficients?

richard-herron commented 4 years ago

To replace standard errors with t-statistics, use the override.se and override.pvalues arguments. The package author has a StackOverflow post that should help.

waynelapierre commented 4 years ago

That is far from a solution.

richard-herron commented 4 years ago

I think the package author's solution is reasonable. You could code your own solution and make a pull request. It looks like the package author has processed 60 pull requests.

waynelapierre commented 3 years ago

The stargazer R package can report t values beneath regression coefficients. Maybe texreg can borrow some ideas from stargazer.

leifeld commented 3 years ago

Different packages do things in different ways. If stargazer is better tailored to your needs, I would recommend using it instead of texreg. For my own usage, texreg works just as I want it to. But if you have suggestions via a pull request, I'm happy to consider them, as is customary in open source development.