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
--------------------
.
0 Response to Why is the variable name result treated differently by the Stata 17 table command?
Post a Comment