Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Eugene DePasquale <edepasqu@gmail.com> |
To | statalist@hsphsun2.harvard.edu |
Subject | st: survival analysis help |
Date | Fri, 17 Feb 2012 20:14:44 -0500 |
Hello, I am having difficulty with survival analysis with Stata and survival on the transplant waiting list. There are 2 major possibilities (for simplicity) - either death on the waiting list or transplantation. Death is the event, while transplantation would be a censoring event as I am interested in survival for those who are not transplanted. event = 1 (death on waiting list) & event = 0 (alive on waiting list) transplant = 1 (transplanted) & transplant = 0 (not transplanted) txdate = date of transplant I am not sure how to set this up appropriately - I have this below, but I'm not sure how to incorporate the censoring. stset time, fail(event) id(id) Any help would be greatly appreciated. Thanks, Eugene * * 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/