Stata .ado files:

A big part of my job is to use stata to analyse datasets. Sometimes I make that easier for myself by writing an .ado file to automate certain tasks.

Here is tabmat.ado: an ado file that outputs the result of a "tab" command as a matrix (easier to export to excel with putexcel).

And here is tsmat.ado: another ado file that outputs the result of "tabstat" command as a matrix.

My Notepad++ theme for STATA

This is what it looks like:


You can download it here.

If you want to learn how to run stata directly from Notepad++, check out Friedrich Huebler's exellent scripts.

Materials for R training




More to come in the next session...