Try something like
bysort catag ined : gen freq = _N
tabdisp catag ined [iw=1], c(freq) format(%12.0gc) cellw(12)
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/