Dear all,
a question on a general problem with no specific reference to particular data.
Suppose you're running regressions in a loop and want to export results using eststo and esttab (ssc des estout) within the loop. You aim for a single tex-formatted pdf file containing the many tables, so you use append and tex (or booktabs or fagment). Is there any (even better, a quick and easy) way to introduce a page break in the tex file, after the code of each table is appended?
It's not clear to me that longtable or width() can help - but I rarely use LaTex and happy to be corrected. I also saw tex3pt (ssc des tex3pt) which seems to have been written pecisely to improve the esttab-to-tex path, but I can't make it work within the very same loop producing regressions, as it seems to me that options required to introduce LaTex code to initialize and eventually close a document, on the one hand, and the clearpage option to introduce the page break cannot be used in the same instance of the command - and the help file exemplifies multiple tables by running the command twice, with no loop (yes a more complex loop with conditions switching the content of some locals for options is conceivable but contrived). Am I missing something about what's feasible with these two commands? I know there are many other commands (although I also think outreg2 (ssc des outreg2) wouldn't do what I want), but I'd like to understand what's feasible in this case. Thanks
Related Posts with insert page break when appending output into a .tex file with -esttab-
Moving cumulative sum over 10-year periodDear Statalist Community, I am currently struggling with a data transformation task and was wonderi…
Reshape data from long to wide format using the rolling windowsDear all, I am desperately looking for your help. I am trying to reshape my data from long to wide …
Moving cumulative sum over 10-year periodDear Statalist Community, I am currently struggling with a data transformation task and was wonderi…
Ologit, Paralell Regression Assumption and weightsHi, it's the first time i write here, hope the question is not too emantary, I'm trying to replicat…
Regression for state-wide daily data with fixed population percentage within statesHello, So I have data set up as such (sample data that I just made up): Code: * Example generated b…
Subscribe to:
Post Comments (Atom)
0 Response to insert page break when appending output into a .tex file with -esttab-
Post a Comment