Quantcast
Channel: Statalist
Viewing all articles
Browse latest Browse all 72802

Increase the cell width in output with 'tab' command

$
0
0
Dear Statalisters,

Is there any way of increasing the cell width of the following output so that the results are not truncated ?


Code:
 tab journal if id2==1, sort

                        Name of Journal |      Freq.     Percent        Cum.
----------------------------------------+-----------------------------------
                 Statistics in medicine |         15       35.71       35.71
                             Biometrics |          7       16.67       52.38
                          Biostatistics |          3        7.14       59.52
Journal of the American Statistical A.. |          3        7.14       66.67
                    Biometrical Journal |          1        2.38       69.05
          British Journal of Psychiatry |          1        2.38       71.43
                        Clinical trials |          1        2.38       73.81
                         Family process |          1        2.38       76.19
Health Services & Outcomes Research M.. |          1        2.38       78.57
Journal of Biopharmaceutical Statistics |          1        2.38       80.95
       Journal of Clinical Epidemiology |          1        2.38       83.33
Journal of Educational and Behavioral.. |          1        2.38       85.71
Journal of the Royal Statistical Soci.. |          1        2.38       88.10
Nephrology Dialysis Transplantation: .. |          1        2.38       90.48
                 Psychological Medicine |          1        2.38       92.86
                  Psychological Methods |          1        2.38       95.24
Statistical Methods in Medical Research |          1        2.38       97.62
               The annals of statistics |          1        2.38      100.00
----------------------------------------+-----------------------------------
                                  Total |         42      100.00


'table' command produce better output without truncation but then it does not have sorting option and does not produce percent/cumulative %. Though it can be done by transporting them into Excel but why should one? Any suggestions how to increase the cell width?

Viewing all articles
Browse latest Browse all 72802

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>