Is there a more elegant way to sum the contents of a row for subsequent computation? (It should not be necessary to make a call to mata to do this).
Code:
tabstat EARNINGS S EXP, stat(var) save stats | EARNINGS S EXP ---------+------------------------------ variance | 140.9398 7.52309 8.552562 ---------------------------------------- scalar foo = r(StatTotal)[1,1] + r(StatTotal)[1,2] + r(StatTotal)[1,3] display foo 157.01546
Comment