tips for Stata LaTeX and other useful resources for economists
Search
Stata resources
All Stata posts
Various StataTips
LaTeX Resources
All LaTeX Posts
Various LaTeXTips
About
Privacy Policy
Newsletter
Author:
Jan Sauermann
Stata – Data Management
Stata condition batch/interactive mode
Stata – Figures
Separate axis labels in Stata
Stata – Figures
,
Stata – Formatting Output
,
Stata – Tests and Regressions
Add normal distribution to kernel density plot in Stata
#LaTeXTips
#LaTeXTip: ignore slide for calculating total number of slides (handy for, e.g., appendix slides): \begin{frame}[noframenumbering]
Links
Subscribe to our newsletter
Stata
Information about Stata macros: number of elements and order within locals and globals
Stata – Data Management
,
Stata – String Variables
Useful string functions in Stata (updated list)
#StataTips
#StataTip: for blockwise selection of code in @Stata|’s do-file editor, press the option key (Mac) or alt key (Windows) and mark the respective cells with your mouse/cursor.
#StataTips
#StataTip: to format output in your log file or results window in @Stata, you can print text in red (–di as error “Text in red”–) or bold (–di as result “Text”–). If you are using black background use “as text” (green), “result” (yellow), “error” (red), and “input” (white)
RandomTips
Great overview of @Stata #string functions: https://stataexpert.com/index.php/2020/07/16/working-with-strings/