Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: custom table of summary stats

From   "Garrard, Wendy M." <>
To   <>
Subject   st: custom table of summary stats
Date   Fri, 11 Feb 2005 14:42:49 -0600

Hello Statalist,
I need a rather simple table of summary stats, but having trouble identifying which of the many Stata commands (tabstat, tab, tabi, tab1, etc.) will do what I need.  Please, someone point me in the right direction.
The data is for meta-analysis. I am trying to output descriptives for several categorical variables, and the summary statistics per category reflect the count of studies, % of total studies, sum of sample n's, and % of total sample N that contribute to each category.  The % of subjects is the element that is making this tricky. There are many categorical variables, so I want to avoid doing this as a piecemeal caclulation.
Categ. Var.     Study(n)   Study(%)   Subj.(n)   Subj.(%)
                (N=100)               (N=1,000)
   Child          50        .50          400       .40
   Teen           50        .50          600       .60
Family SES   
   Low            35        .35          400       .40
   Middle         55        .65          480       .48
   High           10        .10          120       .12
Thanks very much,

*   For searches and help try:

© Copyright 1996–2022 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index