Satvika Chalasani wrote:
I'm trying to obtain the median time to failure using stci, p(50). But it
will not work if I first stset the data using any kind of weights. stci,
median will not work either if I stset the data using weights. I suspect the
problem has to do with weighted data not being allowed in the calculation of
the standard error (to obtain the confidence interval for the median). Now I
don't need the confidence interval, so I'd be glad if someone could let me
know how I can simply get the median.
--------------------------------------------------------------------------------
Use -stsum- instead.
Joseph Coveney
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/