Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.

# st: Survival analysis and control variables

 From "D.W.Richards" To "'statalist@hsphsun2.harvard.edu'" Subject st: Survival analysis and control variables Date Wed, 4 May 2011 11:15:36 +0100

```Hi All,

This is a longish post so here is summary-  I am interested in control variables in survival analysis with how to identify shared variance.

My research involves survival analysis to analyse whether a stock is held for longer if it is a gain or a loss.  For each stock traded by an investor, I create a time varying variable which indicates whether it trades at a loss or not on each day it is held.   I then interact demographic variables like age, gender, with the loss variable to understand whether the demographic variables reduce the tendency to hold stocks at a loss.  For example, age of the investor holding a stock decreases the survival time of stocks at a loss.  The equation in a Cox model is:

h(t)= ho(t) exp ( LossB1 + lossxageB2 + ageB3)

where ageB3 is a control variable.  I am most interested in B1 and B2 to assess whether they influence holding of losses.

My next step which I am stuck on is adding further control variables.  For example, age decreases the selling of losses and investor wealth also decreases the selling of losses.  But age is positively correlated with wealth.  I want to discover the effect of age after controlling for wealth.

How do I go about doing this?  Is there a method or paper you can recommend to identify shared variance of variables in survival analysis?

Daniel Richards

--
The Open University is incorporated by Royal Charter (RC 000391), an exempt charity in England & Wales and a charity registered in Scotland (SC 038302).

*
*   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/
```