Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: RE: graph interaction in survival analysis


From   "Kieran McCaul" <[email protected]>
To   <[email protected]>
Subject   st: RE: graph interaction in survival analysis
Date   Sun, 25 Oct 2009 05:08:59 +0800

...


See -help stcurve-


If x and y are dichotomous and you have fitted
xi: stcox i.x*i.y

stcurve, survival at1(_Ix_1==0 _Iy_1==0)  ///
at1(_Ix_1==1 _Iy_1==0)  ///
at1(_Ix_1==0 _Iy_1==1)  ///
at1(_Ix_1==1 _Iy_1==1) 


______________________________________________
Kieran McCaul MPH PhD
WA Centre for Health & Ageing (M573)
University of Western Australia
Level 6, Ainslie House
48 Murray St
Perth 6000
Phone: (08) 9224-2701
Fax: (08) 9224 8009
email: [email protected]
http://myprofile.cos.com/mccaul 
http://www.researcherid.com/rid/B-8751-2008
______________________________________________
If you live to be one hundred, you've got it made.
Very few people die past that age - George Burns

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of D Ma
Sent: Saturday, 24 October 2009 8:23 PM
To: [email protected]
Subject: st: graph interaction in survival analysis

Dear Statalist Colleagues,

I am trying to graph an interaction between two binary/dichotomous variables in stcox (and stpiece).  Could anyone give me some suggestions as to how to graph such an interaction?  Thanks!

Dali


      


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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