Cross Validated is a question and answer site for people interested in statistics, machine learning, data analysis, data mining, and data visualization. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
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

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.