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 at the end of May, and its replacement, statalist.org 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 <sjsamuels@gmail.com>
To   statalist@hsphsun2.harvard.edu
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-.

Steve
sjsamuels@gmail.com

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
it.

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

Best,
Mike B., UC-Berkeley SPH
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


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