Quantcast
Channel: Statalist
Viewing all articles
Browse latest Browse all 72802

consecutive model numbers in multiple "esttab" outputs

$
0
0
Dear all,

I run many regression models that I try to convert to latex tables directly using the esttab function.

My problem now is that, say, I am running 8 regression models, saving them (in my case, as a tex-file) using the esttab command, and then running another nine models and saving them also using the esttab command. This gives me two tables with results, one with models 1-8, the other with models 1-9. However, I would need the second one to be 9-17.

I tried experimenting with the options "nonumbers" (to prevent the original model numbers and replace them with labels 1, 2, .... 17), but then I would also need to have a title/label for each model (as it is default, i.e. the dependent variable, ideally), and I do not see the possibility to add a second label. Currently, I would have to refer to my models as "table 6, model 8" and "table 7, model 9", and I do not think that is reasonable (or is it?).

Originally, I would save the estimates form each regression with estimates store, then type esttab * and use estimates clear before and after. But even storing all the estimates simultaneously as est1, ...est 8, est9, ...est17 and then calling them using esttab est1 ... est8 and esttab est9 .... est17 does not work, as model numbers are always reset.

I would appreciate any help.

Viewing all articles
Browse latest Browse all 72802

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>