The image below demonstrates what I am trying to output from R into LaTeX. I'm willing to use any approach/package that works.
As you can see in the image, the desired output has multiple models (the columns) and multiple regressions (the rows).
I have three hurdles:
First, how can I output standard errors from two different models below one point estimate? Neither of the SEs I seek to present are the conventional SEs; both are modified cluster-robust SEs calculated after I run the regression by using custom coeftest()
functions, and outputting a coeftest
object.
Second, how can I present the stars? I have devised a workaround in R to output the point estimate with the two SE calculations below it, but not with the stars automatically transferred as something like xtable or stargazer does.
Third, I would like to output only the point estimate and standard errors for the treatment variable. As you can see at the bottom of the table, in models (2) & (4) there are control variables, but I do not want to display any further information about them.
Also, it is worth noting that my output is not an lm
object, but instead a coeftest
object, which is stargazer
-compatible but not xtable
-compatible.