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
Creating a Group VariableI want to create groups for propensity score matching. If I want to classify the data into different…
Auto-ARIMA is now available in Stata! The new arimaauto and xtarimau commandsThanks to Kit Baum's relentless work on uploading new packages into the SSC, Stata now has auto-ARIM…
How to select categorical variable in Hoteck method to impute missing dataHello Everyone I am trying to address the missing values of four variables (price) in my research an…
The new AUTOArima Mata class: you are free to use it if you want auto-ARIMA in your commandThanks to Kit Baum's adding the arimaauto command to the SSC, the class is publicly available after …
Installing package not on SSCI am trying to install the package 'meta'. I have commands in a file I am trying to use where the co…
Subscribe to:
Post Comments (Atom)
0 Response to Explanation of tabstat command
Post a Comment