Formatting text in Stata figures

Simple formatting for text in Stata figures

This is not really new, but still comes in handy when formatting text in Stata figures. With a relatively simple code, you can make write text bold, in italics, and even greek letters.

Continue reading “Formatting text in Stata figures”

Follow new journal articles via RSS-feeds

When I started, I mainly checked new articles of my favorite journals and working paper series through email newsletters. To avoid to get too many emails, you can also subscribe to new articles through RSS-feeds (Really Simple Syndication). For me, the main advantage is that I can easily scroll through a lot of new articles at once in one place.

Continue reading “Follow new journal articles via RSS-feeds”

Include entire PDF files in your LaTeX document

I described already earlier how to use images in pdf format in your LaTeX document, e.g. if you want to include a screenshot of a Table of a paper in pdf format in your slides (which results in much better quality than using jpg or similar formats).

But what if you want to include complete pages of a document or even complete pdf documents? I have used the latter for example as a reliable tool to append pdf documents, such as papers.

Continue reading “Include entire PDF files in your LaTeX document”

Routine to export tables from Stata to LaTeX

When it comes to exporting regression tables from Stata to LaTeX, there are several packages that can be used. For a long time, I used outreg2, but now improved my code for the the estout package by Ben Jann. The remainder of this post describes the routine that works best for, you might want to adjust it for your own purposes. (I actually have written about this package before, this post presents a more elaborated code.) Continue reading “Routine to export tables from Stata to LaTeX”

Standardize variables by group

Unfortunately, the otherwise great Stata command egen does not allow to standardize variables group, e.g. for each year separately. There is a small get-around by calculating mean and SD first, and then manually creating the standardized the variable (and then you really wonder why this is not implemented in Stata).

Continue reading “Standardize variables by group”

Blockwise copy & paste in Stata

Simple method to clockwise edit text in do-files

I’m not sure whether it is was always there or whether it just came with an update, but finally I have found out how to blockwise copy & paste in the Stata do-file editor. What I used to do with other text editors (mostly with WinEdt), is now possible with Stata’s built-in editor. Continue reading “Blockwise copy & paste in Stata”

Useful links and resources for academic economists

On this page, I collect advice for academic economists that I came across and found useful. It is a growing collection of advice on writing and presenting your research, tipps regarding your CV as well as on the econ job market.

If you have anything of which you think it might be worth to add to this list, please send me an email or comment below