treatment
indicates treatment (an experimental drug) or placebo, obstime
is the days observed after treatment, and status
is an indicator variable for whether the time observation was censored or not. Graph the survival curves for those patients that received the placebo, and those that received the experimental drug. Did the drug improve the survival? [Note: In Stata, use stset obstime, failure(status)
to declare the outcome variables. You also may need to generate an indicator variable for treatment.]
Survey 2 | |||
Survey 1 | < 1 serving/wk | > 1 serving/wk | Total |
< 1 serving/wk | 136 | 92 | 228 |
> 1 serving/wk | 69 | 240 | 309 |
Total | 205 | 332 | 537 |