Can anyone explain why the table command under Version 17 should treat the variable name "result" differently than other variable names? Looking at the output of help reswords, I do not see result included among the reserved names.
Code:
. about Stata/SE 17.0 for Mac (Intel 64-bit) Revision 13 Jul 2021 ,,, . codebook result ------------------------------------------------------------------------------------------------ result Status in next wave ------------------------------------------------------------------------------------------------ Type: Numeric (byte) Range: [0,4] Units: 1 Unique values: 5 Missing .: 0/387,695 Tabulation: Freq. Value 367,131 0 2,536 1 660 2 1,307 3 16,061 4 . table result -------------------- Frequency | 387,695 -------------------- . generate foo = result . table foo -------------------- | Frequency --------+----------- foo | 0 | 367,131 1 | 2,536 2 | 660 3 | 1,307 4 | 16,061 Total | 387,695 -------------------- .
Comment