-
There are lots of ways of generating LaTeX output using @Stata. Even if an old favorite serves you well (like -estout- for me), new packages offer awesome, complementary functionality. I summarized the Stata-LaTeX workflows I know about here: (1 of _N) lukestein.github.io/stata-latex-workflows/
-
Automated approaches like -estout- and -outreg2- are awesome for quickly producing nearly-production-ready tables. But customization can be tricky, and you usually have to re-run estimation commands to update your tables. (_n==2)
-
More fully separating @Stata estimation/calculation from table layout has a bunch of benefits (that I mention on the webpage). It usually requires more effort to generate a “first-draft” table, but later customization can be *much* easier. (_n==3)
-
Saving calculated values before laying out and generating LaTeX is the approach taken by e.g., - json-this/coeftable (@GaborNyeki) - stata-tex (@paulnovosad) - regsave/texsave (@JulianReif) - texdoc (Ben Jann) - write_mats (@ale_martinello) See 👆for links to all packages (_n==4)
-
I made this given Twitter discussions suggesting there’s interest. (I also needed to learn more about using github, where the page is hosted.) Suggestions welcome (ideally by updating the page yourself on github)! ((_n==5) & (_n==_N)) lukestein.github.io/stata-latex-workflows/
-
set obs 7 Is there also an appetite for example code that could be used for inspiration/customization? (_n==6) @econsarahreber/1097182556733071360
-
I set up a page on the same site to aggregate @Stata → LaTeX code samples. If you’d like to be in charge of it—since I don’t really—please let me know and I’ll give you github privileges. 🙌 ((_n==7) & (_n==_N)) lukestein.github.io/stata-latex-workflows/gallery/