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

RE: st: RE: messed up tabulate


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: RE: messed up tabulate
Date   Fri, 28 Nov 2003 16:50:47 -0000

Try something like 

bysort catag ined : gen freq = _N 
tabdisp catag ined [iw=1], c(freq) format(%12.0gc) cellw(12) 

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

Edwin Leuven
 
> > Instead of -tabulate-, use -table-.
> 
> thanks for the suggestion, i tried it as follows
> 
> . table catag ined, format(%12.0gc) cellwidth(12)
> 
> but it doesn't work; your solution seems to depend on iweight
> 
> even if it had worked, it would have solved the 
> display bug of -tabulate- at a cost: where my -tabulate- took 4
> seconds the -table- took 193.
> 
> since i use -tabulate- to peruse the data from different angles i 
> can't afford to wait 3 minutes for every crosstab
> 
> perhaps the good people at statacorp could fix -tabulate-'s 
> display of 
> (large) numbers?
> 
> thanks nick for looking into this.

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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