Nick and I had a mini-discussion about the benefits of the -meanonly- option of summarize. I did an experiment on my 4-year old 32-bit PC, Stata SE 13.1:
quietly summarizing a million observations took 0.08 seconds.
With the meanonly option it took 0.05 seconds.
I think I can do without the meanonly option.
Code:
clear set obs 1000000 gen x=runiform() set rmsg on quietly summarize x summarize x, meanonly
With the meanonly option it took 0.05 seconds.
I think I can do without the meanonly option.
Comment