A bit rusty with my plotting, I cannot find how to solve a simple problem.
I tried to recreate an example plot from a Stata help file:
Code:
webuse brcancer stset rectime, failure(censrec = 1) stpm2 hormon, scale(hazard) df(4) eform predict s, survival ci
Code:
. twoway (line s _t, sort) (line s_lci _t, sort lpattern(dash)) (line s_uci _t, sort lpattern(dash)) . twoway (line s _t) (line s_lci _t, lpattern(dash)) (line s_uci _t, lpattern(dash))
Could you please point me to where I am missing?
Thanks very much for your attention!
G Kassler
0 Response to Plotting prediction with confidence intervals
Post a Comment