Aug 8, 2012

Execution time of Stata commands

When conducting more complex analyses, keeping track of how long it took to run a certain command can be a crucial information. Of course, one can just keep their computer running all night for a moderatley complex analysis; however, sometimes it can make a difference whether a particular analysis took three or ten hours. Stata has a build-in command -rmsg- that allows for doing so:
set rmsg on
The more complex command -timer- gives further options.