![]() ![]() In the expample above, display r(r) returns the number of rows in the table, that is, the number of unique observations for variable varname. Results of r-class commands, such as -tab-, are stored in r(). ![]() Besides displaying output in the results window, Stata stores the results of some commands so that you can use them in subsequent commands. The option nofreq supresses the reporting of the frequency table. There are at least 3 convenient ways to count the number of distinct values contained in a variable: -tab-, -inspect-, and -codebook.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |