Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: SVY medians and Elixhauser

From   Steve Samuels <>
Subject   Re: st: SVY medians and Elixhauser
Date   Sun, 7 Apr 2013 19:41:33 -0400

To get medians and other quantiles with survey data, use Roger Newson's
-sccendif- command, part of his -scsomersd- package, available from
SSC. It will compute medians and CIs that account for the weighting and
first stage clusters, but not the survey strata. You'll have to
download some additional commands. Details are in the -help-.


On Apr 7, 2013, at 4:01 PM, Mike Butterfield wrote:

Hi All,

I am using the Nationwide Inpatient Sample 2008 and have been having
trouble with two things:

1.  I would like to find median values for some of my continuous variables,
but have not yet found a way to do this while using SVY.

2. I want to use the Elixhauser comorbidity index in my logistic regression
model and have downloaded the code, but do not know how to actually use

I would really appreciate anyone could refer me to some
annotated/output or other resources so
I could figure these things out.

Mike B., UC-Berkeley SPH
*   For searches and help try:

*   For searches and help try:

© Copyright 1996–2016 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index