Lately many of my posts have involved the Stata programming language. I think that the amount I’ve been blogging about Stata warrants a blog of it’s own to separate these from other topics that I cover. So, starting today you can find my writings on Stata tips and tricks at my a new blog Statabytes. [...]
Archives for the Month of June, 2011
Using -levelsof- to future-proof a loop through factorial variables in Stata
Thursday, 2 June 2011
Stata’s -levelsof- command was a solution to a problem I encountered the other day when I had to write a script that looped through a dataset and was one that I previously didn’t know about. In general, I feel that if you find yourself making looping through observations in a dataset or creating many nested [...]

