Hello,
I am trying to get the differences in the length of stay(LOS) in subpopulation of myocarditis, categorized by whether they have arrhythmia or not (Tarry or not). I get mean and standard error. I would like to get mean and standard deviation. How would I be able to get that? Thanks.
This is what I did and what I got.
. svy linearized, subpop(myocarditis) : mean LOS, over(Tarry)
0: Tarry = 0
1: Tarry = 1
--------------------------------------------------------------
| Linearized
Over | Mean Std. Err. [95% Conf. Interval]
-------------+------------------------------------------------
LOS |
0 | 8.035982 .3003205 7.447308 8.624657
1 | 15.02443 1.001127 13.06207 16.98679
--------------------------------------------------------------
Related Posts with Obtaining mean and SD from survey data
IV regression syntax (different sample periods)Hello, I am trying to run IV regressions in STATA. I use xtivreg or ivregress with year and industr…
Two-Step System GMM with xtabond2 commandDear Stata Experts, I am dealing with a dynamic panel model in which the sample size is 100 firms a…
Determining numeric "rule" used for a categorical variableHi, I'm trying to figure out what "rule" has been used for assigning letter grades in my data. I ha…
Pooling Multimputation Variable OutputsHello all! I am working with a complex survey dataset and have 1 variable, povcat, that needs to be…
Merging Compustat annual and segment databaseI have the compustat segment data that looks as follows: gvkey stype sid datadate cogss dps 100…
Subscribe to:
Post Comments (Atom)
0 Response to Obtaining mean and SD from survey data
Post a Comment