In the auto.dta data set, the variable "foreign" is of type "byte" and has value 0 or 1. The command "list foreign" however, displays the words "domestic" or "foreign" that match with the 0s and 1s. How would I program something like that in an .ado file? (i.e. storing an array of distinct integers in e() or r(), but having them displayed as strings when using commands like "list")
-
Login or Register
- Log in with
Comment