Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | "David Radwin" <dradwin@mprinc.com> |
To | <statalist@hsphsun2.harvard.edu> |
Subject | st: RE: Displaying column percentages in a table |
Date | Thu, 4 Nov 2010 11:18:02 -0700 (PDT) |
If you like the -table- format, try Nick Winter's -tablecol-, available from SSC. You can instead use the official -tabulate- commands, but then you forgo some other features. David -- David Radwin Research Associate MPR Associates, Inc. 2150 Shattuck Ave., Suite 800 Berkeley, CA 94704 Phone: 510-849-4942 Fax: 510-849-0794 www.mprinc.com > -----Original Message----- > From: owner-statalist@hsphsun2.harvard.edu [mailto:owner- > statalist@hsphsun2.harvard.edu] On Behalf Of Dan Waldo > Sent: Thursday, November 04, 2010 11:03 AM > To: statalist > Subject: st: Displaying column percentages in a table > > Dear listers, > > At present, I have this instruction: > > .table POVLL MCAID [pw=MARSUPWT] , f(%14.0fc) row > > In place of the count in each table cell, I would like to see the column > percentage. I suspect there is a simple command or option that does this, > but for the life of me I cannot find it. > > Advice is most welcome. > * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/