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?
Related Posts with Explanation of tabstat command
Stata Date Format from a Fraction YearAfter extinguishing all efforts, I am reaching out to you to perhaps have a bit of Stata help regard…
poisson model and ppml modeldear all I hope to use gravity ppm model but I can't use it with fixed effect because of collineari…
carryforwardhi statalist-- i am having issues with the carryfoward package. hoping someone will be able to help…
Help with converting dates from fractional/decimal form to recognized form in StataHey everyone, I'm a student who needs help with this particular problem. I have in my Stata dataset…
Setting barwidth and outergap in staked hbarI could not find a way to adjust width out the bar and "outergap" (the gap between the edge and the …
Subscribe to:
Post Comments (Atom)
0 Response to Explanation of tabstat command
Post a Comment