方法一:
ods rtf file='F:/LOCATION/名字.rtf';
proc logistic data=Nameqi_covs_strata;
model aqCNTH2(event='1') = btargettime bcogprob bsadness bbathing badldecline bhospitals bnmonths picrisk bage80;
where siadlc=0 and (btargettime ne . and bcogprob ne . and bsadness ne . and bbathing ne . and badldecline ne . and bhospitals ne . and
bnmonths ne . and picrisk ne . and bage80 ne .);
run;
ods trf close;
方法二:
ods rtf file='F:/LOCATION/名字.rtf';
proc logistic data=Nameqi_covs_strata descending;
model aqCNTH2 = btargettime bcogprob bsadness bbathing badldecline bhospitals bnmonths picrisk bage80;
where siadlc=0 and (btargettime ne . and bcogprob ne . and bsadness ne . and bbathing ne . and badldecline ne . and bhospitals ne . and
bnmonths ne . and picrisk ne . and bage80 ne .);
run;
ods trf close;