[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: Standard Error on a Survival median, weighted data
Hello
I have weighted data but need confidence intervals on the median survival time. I can pick out the median and get it to come out in sts list (see below) but the confidence intervals are suppressed because the data is weighted. Does anyone know how can I get confidence intervals on the median survival with weighted data without assuming a parametric model
Thanks
Milly
stset time [pw=weight],fail(fail)
stsum
local median=r(p50)
sts list, at(14 `median' 20)
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/