Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Sort frequency table with asdoc

    Hi,

    I wonder if is possible sort a frequency table with asdoc, example:

    Code:
    sysuse auto.dta, clear
    
    tab rep78, sort
    
    
         Repair |
    Record 1978 |      Freq.     Percent        Cum.
    ------------+-----------------------------------
              3 |         30       43.48       43.48
              4 |         18       26.09       69.57
              5 |         11       15.94       85.51
              2 |          8       11.59       97.10
              1 |          2        2.90      100.00
    ------------+-----------------------------------
          Total |         69      100.00
    
    
    
    
    asdoc tab rep78
    
      
    Click image for larger version

Name:	Sin título.png
Views:	1
Size:	6.6 KB
ID:	1507640
    asdoc tab rep78, sort option sort not allowed

  • #2
    The error message is self-explanatory. I did not think that one day someone will need this option. I have added this to my agenda for future updates.
    Regards
    --------------------------------------------------
    Attaullah Shah, PhD.
    Professor of Finance, Institute of Management Sciences Peshawar, Pakistan
    FinTechProfessor.com
    https://asdocx.com
    Check out my asdoc program, which sends outputs to MS Word.
    For more flexibility, consider using asdocx which can send Stata outputs to MS Word, Excel, LaTeX, or HTML.

    Comment


    • #3
      Thanks Dr Attaullah for you reply, yes maybe its not the most frequent option.

      Regards.

      Comment

      Working...
      X