# Using Stata for Survival Analysis with Exponential Model

Trying to:

• Plot survival function estimates (by arm or treatment) as well as associated point-wise confidence intervals based on the Exponential distribution
• Compare the Kaplan-Meier curves with the survival curves from the exponential distribution model (for each arm/treatment)

Not Stata users and we are not provided any manuals. Have gone through intense Googling but perhaps have not been searching the most appropriate way. Thanks in advance.

-
The manuals should be in pdf form on the computer where Stata is installed (they are automatically installed when you install Stata). I have not done much survival analysis in Stata, but for your problem you will probably need -stset- (exactly how to use this command will depend on your data structure), then -streg- for the exponential model, then -stcurve- to plot the estimated survival function. Not sure if there is an easy way to put KM and modelled curve on the same graph. –  timbp Nov 21 '12 at 22:56
Stata manuals come bundled with the software in pdf format. Type "help st" and click on the blue link "[ST] st" at the top of the page that comes up. –  Dimitriy V. Masterov Nov 21 '12 at 22:56
Some commands that might be useful to you: stset, streg, stcurve, sts graph and sts generate. –  boscovich Nov 22 '12 at 11:30