Hi!

I'm following the beneficial and good guide "Publication quality tables in Stata: a tutorial for the tabout program" by Ian Watson, sysuse nlsw88.

I find that when I use the tabout commands as in the examples totals are incorrect. I.e. total number of persons in the var collgrad is 2,246 when typing tab collgrad, m, but when typing tabout south race collgrad [iw=wt] using table2.txt, cells(freq row col) format(0c 1p 1p) clab(_ _ _) layourt(rb) h3(nil) replace the total number is 11,141.

The tables look fine, but the numbers don't match?


I really appreciate any help!