Dr. Attaullah Shah
Keymaster
Post count: 106

Turns out that rowsort and colsort options in Stata generate frequencies, without percentages. To make the asdocx output at par with that of the Stata’s output, I have now made some changes to asdocx. Therefore, these options no longer generate percentages. See the following example

asdocx_update
sysuse auto, clear

* using rowsort and colsort options
asdocx tab rep78 foreign ,  rowsort colsort replace

                           Tabulation of rep78 foreign
  0 |1                                      2             3             4 
----+-----------------------------------------------------------------------------
  1 |  Repair Record 1978            Car type                             
----+-----------------------------------------------------------------------------
  2 | 1                              Domestic       Foreign         Total 
  3 |3                                     27             3            30 
  4 |4                                      9             9            18 
  5 |5                                      2             9            11 
  6 |2                                      8             0             8 
  7 |1                                      2             0             2 
  8 | Total                                48            21            69 
----------------------------------------------------------------------------------