Pruthvi
Pruthvi

Reputation: 31

ods output in proc logistic

I am running a proc logistic with selection =score , to get the best model based on chi-square value. Here is the code

  options symbolgen;
  %let input_var=ABC_DEF_CkkkkkedHojjjjjerRen101 dept_gert  home_value   
  child_household ; 

  ods output bestsubsets=score;
  proc logistic data=trail;
  model response(event='Y')=&input_var
  / selection=score best=1;
  run;

The output dataset named score has been generated through ods output. Below is the image of the data set.

score data set image

In the score dataset, in the "variables included in model" column, you can only see a part of variable name "ABC_DEF_CkkkkkedHojjjjjerRen101" and not the entire name. May I know why is this happening and how do I get the entire variable name. Please let me know

Upvotes: 0

Views: 649

Answers (1)

Reeza
Reeza

Reputation: 21274

Add NAMELEN=32 to your proc logistic statement.

Upvotes: 1

Related Questions