One thing that I like about Stata is the possibility to write quick wrappers for commands that get things done. The code below is an example that I wrote to search for variables in less keystrokes than lookfor (which cannot be abbreviated). I also wan…
Continue reading A shorter lookfor command, in five lines of code
My not so Brief Stata Formatting Guide
* I write this as a short guide though I do not always stick to it. This post was inspired by a thoughtful discussion on the linkedin Stata-Users group.* The number one rule is: Always, always comment your code!* See my reasons:* http://www.econometric…
Continue reading My not so Brief Stata Formatting Guide