Hello,

I am a little confused when running the "tabstat" command. For example, I entered the command "tabstat male marry single, by(smoke) statistics(mean sd n) longstub format (%9.1g)" on a dataset of mine. Take male for example, the dummy variable is smoke (column is either 0 or 1), and the 0 column has mean=.33, sd=.47, N=40200; and the 1 column has mean=.93, sd=.25, N=9552. The total column below them has mean=.45, sd=.5, and N=49752.

What do the statistical (mean, sd, N) variables actually mean within the 1 and 0 columns? And within the total?