w******8 发帖数: 59 | 1 Dear all, I am running this procedure for time dependent covariates. I also
have two time INDEPENDENT covariates: Age at baseline which is continuous;
HIVPatient ( a status indicating whether having HIV) which is binary.
The following codes works fine without adding HIVPatient, but I don't
understand why there is nothing estimated for HIVPatient once I included it.
I think this is weird. Could someone help me?
Thanks!
proc phreg data = OnePer;
class HIVPatient(PARAM=Reference Ref='0');
model fu_days * dead(0) = HIVPatient age_bl CD4;
array Time[6] Time1-Time6;
array CDF[6] CDF1-CDF6 ;
do j = 1 to 6;
if fu_days ge Time[j] and Time[j] ne . then
CD4 = CDF[j];
end;
run;
|
|