Hi,
I am trying to use PHREG procedure in 9.2 SAS to analyse my data on bahaviour of crayfish, and I encountered problems with modeling effects of time-dependent covariates. Maybe somebody would be able to help me to solve my problem. In short, I observed a number of crayfish over 30 minutes. I recorded time after which they were leaving their shelter (censored = 0 if they did not leave after 30 minutes) in control and treatment groups. In addition, water in tanks with crayfish changed its quality after 15 minutes - crayfish were exposed to a time-dependent state of water (time-dependent covariate).
I used the following model:
proc phreg data=tak;
class treatment;
model time*censored(0)= treatment status;
if time <= 15 then status= 0.0;
else status= 1.0;
run;
but I do not receive statistical results for the time-dependent covariate "status" (in the result table 0 valuues are desplayed for this variable). I would be grateful for any suggestions how to solve this problem and what can be a problem. You can also contact me directly via my e-mail:
bamwandzara@yahoo.pl
best regards
Marcin, Poland