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
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
December 10, 2025 at 5:36 PM
Returning percentiles as scalars in Stata https://bit.ly/3hXcMP2
December 9, 2025 at 2:46 PM
Using locals and loops to generate long strings https://bit.ly/3eLTs5n
December 7, 2025 at 11:23 PM
Displaying numbers in Stata: commas, decimals, and decimal places https://bit.ly/3hYkb0v #econsky
December 6, 2025 at 9:30 PM