texreg
, by default at least, doesn't place significance stars on the coefficients from a robust linear model fitted using the rlm
function from the MASS
package. Is there any way to make it? stargazer
does, actually, as the following MWE shows:
library('MASS','stargazer','texreg')
mod <- lm(speed ~ dist, cars)
modR <- rlm(speed ~ dist, cars)
stargazer(mod)
texreg(mod)
stargazer(modR)
texreg(modR)
P.S.: This likely has something to do with the authors of MASS
apparently just not liking P-values, as they are conspicuously omitted from the rlm
output altogether: https://stats.stackexchange.com/questions/205614/p-values-and-significance-in-rlm-mass-package-r
And yet stargazer
can make the stars just fine. Most people seem to think texreg
is better, which is the main reason I ask.
P.P.S.: I thought I'd try using lmRob
from the robust
package instead, but there's an even sillier problem with that: texreg
has a method for an object of signature lmrob
, but not lmRob
, which is what I'm outputting. I assume robust
updated and changed this object name but texreg
hasn't caught up.