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

RE: st: RE: messed up tabulate


From   Edwin Leuven <[email protected]>
To   [email protected]
Subject   RE: st: RE: messed up tabulate
Date   Fri, 28 Nov 2003 18:07:38 +0100 (CET)

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

tabdisp in my stata (8.2) does not allow weights, but
sorting 22 million observations and then calling -tabdisp- isn't going to 
shorten the time that i am waiting for results

i appreciate that there might be *a* way, but for data exploration things 
should be easy, quick and clear

now they are not clear that's why i'd like to appeal to statacorp to fix 
this

thanks, edwin





> 
> Nick 
> [email protected] 
> 
> 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/
> 

-- 
Edwin Leuven
Department of Economics
University of Amsterdam
Roetersstraat 11
1018 WB Amsterdam
the Netherlands
tel: +31 20 525 5241
fax: +31 20 525 4310
http://www.fee.uva.nl/scholar/mdw/leuven
*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index