Is there a way in Stata 17+ to establish some kind of style setting such that statistic names can be abbreviated? For example, the command below shows the default behavior of the table command, which displays the full name of each statistic (i.e., "Mean", "Standard Deviation"). I would like to set a custom style wherein such statistic names always/permanently are abbreviated. I can't seem to accomplish this using table options or the collect style suite of commands, so I'm beginning to think it isn't possible except on a table-by-table basis using the collect label levels result approach.
Code:
. sysuse auto2, clear (1978 automobile data) . table foreign rep78, stat(mean price) stat(sd price) ------------------------------------------------------------------------------------------ | Repair record 1978 | Poor Fair Average Good Excellent Total -----------------------+------------------------------------------------------------------ Car origin | Domestic | Mean | 4564.5 5967.625 6607.074 5881.556 4204.5 6179.25 Standard deviation | 522.5519 3579.357 3661.267 1592.019 311.8341 3188.969 Foreign | Mean | 4828.667 6261.444 6292.667 6070.143 Standard deviation | 1285.613 1896.092 2765.629 2220.984 Total | Mean | 4564.5 5967.625 6429.233 6071.5 5913 6146.043 Standard deviation | 522.5519 3579.357 3525.14 1709.608 2615.763 2912.44 ------------------------------------------------------------------------------------------
Comment