proc phreg outest=a covout data=str ;
class smoke(ref='1') drink(ref='1');
model fu_yrs*death(0)= x*smoke/risklimits;
strata drink;
run;
proc print data=a;
run;
我就是对SAS如此的一窍不通……
这篇博客详细解读了SAS脚本中procphregoutest和procprintdata的使用,涉及smoke、drink变量的影响和死亡率预测模型(modelfu_yrs*death),还展示了如何通过stratadrink进行分层分析。适合理解SAS在生存分析中的实践应用。
proc phreg outest=a covout data=str ;
class smoke(ref='1') drink(ref='1');
model fu_yrs*death(0)= x*smoke/risklimits;
strata drink;
run;
proc print data=a;
run;
我就是对SAS如此的一窍不通……
2048

被折叠的 条评论
为什么被折叠?
