e*******e 发帖数: 75 | 4 我再用survival analysis 作分析的时候,用了下面的程序却发现问题:
%macro eun5(var1,var2,var3,var4,var5,var1T,var2T,var3T,var4T,var5T);
PROC PHREG DATA=ONE;
MODEL SURV*CENSOR(1)= &VAR1 &VAR2 &VAR3 &VAR4 &VAR5 &VAR1T &VAR2T &VAR3T &
VAR4T &VAR5T;
&VAR1=VAR1*LOG(SURV);
&VAR2=VAR2*LOG(SURV);
&VAR3=VAR3*LOG(SURV);
&VAR4=VAR4*LOG(SURV);
&VAR5=VAR5*LOG(SURV);
PROPORTIONALITY_TEST: TEST &VAR1T, &VAR2T, &VAR3T, &VAR4T, &VAR5T;
%MEND;
%EUN5 (YR1,YR2,YR3,YR4,YR5,YR1T,YR2T,YR3T,YR4T,YR5T);
最后总是出现:
error: variable var5 is not found |
|