Sunday, February 11, 2018

How to Avoid Making Stata Coding Errors

OK, I'm not sure whether they can be avoided completely, but these are definitely good tricks for minimizing how often they occur and spotting them quickly. Thank you, Tal Gross, for putting them together. 

My favorites: Use sensible names for variables and programs. Comment everything! Always keep the original data set untouched in a nice safe place. 



Source: phdcomics.com

1 comment:

  1. Another nice set of suggestions: https://michaelshill.net/2015/07/31/in-stata-coding-style-is-the-essential/

    ReplyDelete