I've noticed just now that some of Stata's own commands report the output diagnostics using different formats, which is somewhat inconvenient:
Array
I didn't have time to investigate the details, but here is a minimal example that demonstrates the difference:
Code:
clear set obs 10000000 generate x=mod(_n,10) generate t=. by x, sort: replace t=cond(x>5,1,0)
Array
Naturally, the suggestion is to use a common format (with or without commas), unless there are reasons not to do so (of which I am not aware).
This is probably something that is only of interest to StataCorp, and those few that decide to parse the output logs for some sort of automatic output analysis. But I felt it is still worth mentioning.
Best, Sergiy Radyakin
PS: Stata 16.0.797 (for Windows).
0 Response to Reporting format for Stata's own commands
Post a Comment