StataTex Blog
banner
statatexblog.com
StataTex Blog
@statatexblog.com
tips for #stata #latex and other useful resources for economists.

Website: https://statatexblog.com
Useful links: https://statatexblog.com/useful-links/
Stata courses: https://statatexblog.com/stata-courses/
#EconSky 📉📈
@jansauermann.bsky.social
Cleaning up messy (string) variables in #Stata https://statatexblog.com/82 #econsky
January 19, 2026 at 4:19 AM
#LaTeXTip: use \FloatBarrier to keep figures and tables in place (requires \usepackage{placeins})
January 17, 2026 at 11:31 PM
All #econjobmarket tips in one place: ul-links/#from-graduate-to-post-graduate-the-econ-job-market" class="hover:underline text-blue-600 dark:text-sky-400 no-card-link" target="_blank" rel="noopener" data-link="bsky">https://statatexblog.com/useful-links/#from-graduate-to-post-graduate-the-econ-job-market
January 16, 2026 at 4:18 PM
Using loops in LaTeX documents (e.g. to include large number of figures) https://bit.ly/3wZRTqw #econsky
January 14, 2026 at 11:31 PM
Create balanced panels in Stata using tsfill: https://statatexblog.com/2025/09/02/create-balanced-panels-in-stata/
January 13, 2026 at 5:19 AM
Export single numbers from #Stata to #LaTeX or #MSWord https://statatexblog.com/89 #econsky
January 11, 2026 at 12:05 PM
Claudia Goldin & Lawrence Katz: The Ten Most Important Rules of Writing Your Job Market Paper https://bit.ly/3x33WDy @PikaGoldin @lkatz42
January 10, 2026 at 11:40 AM
Stata condition for batch or interactive mode https://bit.ly/49ximAY #econsky
January 9, 2026 at 5:04 AM
Remove blanks from string variables in Stata https://bit.ly/3zpaxKb
January 8, 2026 at 4:43 AM
#StataTip: if you want to use quotation marks in a local, embed the local in compound quotation marks:
local compound=`"Bernie said "Hi" "'|#StataTip: if you want to use quotation marks in a local, embed the local in compound quotation marks:
local compound=`"Bernie said "Hi" "'
January 6, 2026 at 4:59 AM
Use of embedded quotation marks and compound quotation marks within locals in #Stata https://bit.ly/3HEquRn
January 4, 2026 at 3:39 PM
#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.
January 2, 2026 at 9:30 PM
Create duplicate observations in Stata https://bit.ly/36TF5aP
January 1, 2026 at 5:54 AM
#RandomTip: convert PDF tables to Excel https://pdftables.com
December 30, 2025 at 12:59 PM
Check out @jankabatek.com's list of Stata tips & tricks (especially useful for larger register data!): https://www.jankabatek.com/stata/
December 28, 2025 at 2:18 PM
Add normal distribution to kernel density plot in #Stata https://bit.ly/3VCld4y
December 26, 2025 at 7:42 PM
Great teaching resources on a variety on topics in applied labor and education by @iza.org WoL
https://wol.iza.org/chapters #econsky
December 25, 2025 at 3:07 PM
Export single numbers from #Stata to #LaTeX or #MSWord https://statatexblog.com/89 #econsky
December 23, 2025 at 9:44 PM
Modifying automatic numbering in LaTeX documents https://bit.ly/3QZukcL
December 22, 2025 at 12:01 PM
Claudia Goldin & Lawrence Katz: The Ten Most Important Rules of Writing Your Job Market Paper https://bit.ly/3x33WDy @PikaGoldin @lkatz42
December 21, 2025 at 11:22 AM
#LaTeXTip for #beamer: when you want to repeat the exact same slide later during your presentation, label the first slide and use
\againframe{originalslide}
December 17, 2025 at 8:33 PM
December 16, 2025 at 7:16 PM
Blockwise copy & paste in Stata https://bit.ly/36ZngqE
December 15, 2025 at 3:18 PM
Create duplicate observations in Stata https://bit.ly/36TF5aP
December 14, 2025 at 7:50 AM
December 12, 2025 at 9:47 AM