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

# RE: st: Survival analysis and control variables

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

```Hi Martin,

Thanks for the feedback.  I am trying control for wealth in relation the survival time of losses, not only survival time in general.  In this case, does this equation seem logical?

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

Also do you know if it's possible to get a statistic like an "r-square" to test the difference between the above model and model below:

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

Thanks, for the info about intervening v confounding variables.  I was probably getting a little off track and you brought me back to my focus.  The variable I am hoping to control for through proxies such as wealth and age is "investor sophistication".  I am interested in whether some psychological variables (e.g. emotion regulation) have an influence after controlling for this variable in my analysis.

Cheers,
Dan

-----Original Message-----
Sent: 04 May 2011 12:32
To: statalist@hsphsun2.harvard.edu
Subject: Re: st: Survival analysis and control variables

--- Wed, May 4, 2011 at 12:15 PM, D.W.Richards wrote:
> 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?

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

The real question is: what does age mean nett of wealth and other
control variables? I
find it hard to believe that age has a direct effect. I would think
that age primarily works
through a set of indirect effect, you mentioned wealth, others are
position in the labor
market, risk aversion and time preference. If you start controlling
for these you will just
end up with random noise. Remember, we only want to control for confounding
variables but _not_ for intervening variables.

Hope this helps,
Maarten

--------------------------
Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen
Germany

http://www.maartenbuis.nl
--------------------------

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

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