Announcement

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

  • Table to produce column percentage

    I am using table to produce some summary statistics, I would like to include in the clist a column percentage, how should I do that (for both n and sum)?

    The kind of summary statistics I would like to include are the ones produced by tabulate in the following:
    tab var_1 var_2, col

    How should I do it for this?
    table var_1 var_2, col, col missing contents(n var_3 mean var_3 sum var_3) format(%9.2f)

  • #2
    Would this work for you?

    Code:
    . ssc describe tablecol
    
    --------------------------------------------------------------------------------------------------------------------
    package tablecol from http://fmwww.bc.edu/repec/bocode/t
    --------------------------------------------------------------------------------------------------------------------
    
    TITLE
          'TABLECOL': module to add column percentages to table command
    
    DESCRIPTION/AUTHOR(S)
          
          tablecol is a wrapper program for table which adds column
          percentages  to the output.  Essentially this provides the
          functionality of the column option of the tabulate command,
          along with the ability to  specify supercolumns and superrows in
          table. This is version 1.1.0 of the software.
          
          KW: tables
          KW: percentages
          
          Requires: Stata version 6.0
          
          
          Author: Nick Winter,  University of Virginia
          Support: email  [email protected]
          
          Distribution-Date: 20101105
          
    
    INSTALLATION FILES                             (type net install tablecol)
          tablecol.ado
          tablecol.hlp
    --------------------------------------------------------------------------------------------------------------------
    (type ssc install tablecol to install)
    David Radwin
    Senior Researcher, California Competes
    californiacompetes.org
    Pronouns: He/Him

    Comment

    Working...
    X