Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: st: RE: Displaying column percentages in a table


From   Nick Cox <n.j.cox@durham.ac.uk>
To   "'statalist@hsphsun2.harvard.edu'" <statalist@hsphsun2.harvard.edu>
Subject   RE: st: RE: Displaying column percentages in a table
Date   Thu, 4 Nov 2010 18:44:27 +0000

That's a small bug. A call to -tablecol- with -nofreq- option will result in that option being passed direct to -tabdisp-, which is illegal. The intent was that the -nofreq- call  would be trapped but it's not specified as a separate option in the -syntax- statement. 

Nick 
n.j.cox@durham.ac.uk 

Dan Waldo

Thank you, David. This puts me pretty much where I want to be. -tabulate- does not accept noninteger weights, so that's a nonstarter; I was a little surprised to see that -tablecol- does not appear to support the nofreq option (documentation notwithstanding). But I'll iterate on this ... thanks for putting me in a good starting position.

--- On Thu, 11/4/10, David Radwin <dradwin@mprinc.com> wrote:

> 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.
> 
Dan Waldo
 
> > 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.
> > 

*
*   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/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index