Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: boostrap method and survival analysis


From   Friederike Barthel <[email protected]>
To   "'[email protected]'" <[email protected]>
Subject   st: boostrap method and survival analysis
Date   Mon, 9 Dec 2002 14:56:18 -0000

I am trying to bootstrap a data set and then run the survival analysis on
it....so far i have got the following outline:

program define bootstrap
 version 7.0
 if "`1'"=="?" {
 global S_1 " ?????? "
 exit
 }
stset progtm, failure(progid)
st test trt
post `1' ????????
end


what can I input for the ??????? so that in my output i will have the
observed and expected numbers of failures for treatment group 1 and 2? 

Thank you

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



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index