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:

example_npp_colors2.gif

You can download it here.

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

I've now migrated to mac. My favorite editor is atom, but I haven't gotten around to making my custom theme yet. The stata-exec package will let you run stata straight from atom. Great stuff!

Materials for R training

These won't mean anything to you unless you're taking my 8610 Quant Methods class

jblyrics.txt.

region_custom.txt.

Rcode.

zftemp.

superbowl.

simplest html.

simplest html with a table.

AshenfelterKrueger1994_twins.

CardKrueger1994_fastfood.

ECLS.