Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

st: Interaction between continious and categorical variable in Cox model


From   Sanam P <sanamp25@yahoo.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: Interaction between continious and categorical variable in Cox model
Date   Tue, 25 May 2010 22:54:16 -0700 (PDT)

Dear Statalisters,

I have included interaction between a categorical variable with 4 levels with a continuous variable in a Cox regression model using :
  
xi:stcox ... i.categorical*continuous

The model now include below variables involved in the interaction, with their Hazards ratios and p-values. 

 
Categorical-2
Categorical-3
Categorical-4
Continuous
Categorical X continious~2
Categorical X continious~3
Categorical X continious~4
 
I think that  HR of "categorical-2"  means the risk in second category of the categorical variable compared with first category when the continious variable is equal to zero. and the hazards related to the "continiuos' means the slope of the continious variable at first level of the categorical variable.
 
I was wondering whether you could kindly guide me how to calculate and interpret hazards for the last 3 terms involved in the interaction term. 
 
Many thanks,
Sanam


      


*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index