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, statalist.org is already up and running.


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

Re: st: weighted Kaplan meier curve in stata


From   Steve Samuels <sjsamuels@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: weighted Kaplan meier curve in stata
Date   Fri, 12 Mar 2010 14:08:14 -0500

KM curves are computed by two programs: 1) -ltable-, but that takes
only frequency weights, and 2) stlist-. To use -stlist- you must first
-stset- your data.  The -stset- command accepts probability weights,
so that is the way to go.
-Steve

On Fri, Mar 12, 2010 at 1:02 PM,  <Natasha.Tilston@lshtm.ac.uk> wrote:
> Hi,
>
> I would be very grateful if anyone can tell me if sampling weights have
> ever been used with the Kaplan Meier curve? and can stata be asked to do
> this? I am new to stata, and from what I have seen so far only frequency
> weights have been used. I have spent ages trying to find something on this
> but haven't had any luck!
> I have a sample and weights attached to them, I now would like to do a
> weighted KM curve in stata. Any suggestions are welcome!
>
> Many thanks in advance
>
> *
> *   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/
>



-- 
Steven Samuels
sjsamuels@gmail.com
18 Cantine's Island
Saugerties NY 12477
USA
845-246-0774

*
*   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/


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