See also the following resources related to asdoc. If we were to append the results to the same file, we shall add append after the comma or leave it (append is the default, we can use replace to replace the existing file) asdoc cor Īnd for creating a table of correlations among all numerical variables, we shall just type asdoc cor. inspect varlist display r(Nunique) Besides reporting the number of unique values, -inspect- also reports: the number of negative, zero, positive, and missing values. Let us load the auto.dta set for practice and find summary stats of all numeric variables and send the output to MS Word with asdoc sysuse autoĪnd voila, a beautiful table of the descriptive statistic is ready. The problem with using -tab- to count the unique number of values is its row limits: 12,000 rows (Stata/MP and Stata/SE), 3,000 rows (Stata/IC), or 500 rows (Small Stata). We shall add just asdoc as a prefix to sum. For example, we use the sum command to find summary statistics of all numeric variables in the dataset. You need to add just asdoc as a prefix to Stata commands.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |