Lee Sieswerda
> 
> If I'm understanding your data structure correctly, you 
> could use -tabm-
> with the -trans- and -col- options. Currently, -tabm- is 
> not by-able, so you
> would need to use -if-. As in:
> 
> foreach n in 0/10 {
> 	tabm agekst* if cohort==`n', trans col
> }
> 
If -tabm- could do with being -by-able, I 
will do it. But underneath the surface 
that's a lot of thrashing around with files. 
Nick 
[email protected] 
*
*   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/