ods trace on;
It helps for us to receive all possible outputs
for example Type3
proc logistic data = k outest=jj;
class ses race schtyp/param =glm;
model female = age ses race schtyp science write/outroc =roc lackfit;
units age=35 45 55;
ods output ParameterEstimates = model_female
Type3=chisq;
run;
I want to keep only significent variables:
data chisq1;
set chisq;
/*format ProbChiSq;*/
if ProbChiSq>0.05 then delete;
run;
PROC SQL ;
SELECT effect INTO :mm separated BY " "
from chisq1;
quit;
%put &mm;
proc logistic data = k outest=jj;
class &mm/param =glm;
model female = &mm/outroc =roc lackfit;
units age=35 45 55;
ods output ParameterEstimates = model_female
TypeIII=chisq;
run;
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment