Sastronaut
Programmer
I'm using ODS to output parameter estimates from proc logistic to an output data set. ODS is truncating my variable names to 20 characters. Anyone know a work-around for this? proc template perhaps?
You can see that the variable name is cutoff in line 2 of the output data:
Code:
data x;
DO I=1 TO 1000;
THIS_VAR_IS_EXACTLY_28_CHARS = RANUNI(1);
DEPVAR = (RANUNI(2) < .25);
OUTPUT;
END;
RUN;
ODS OUTPUT Logistic.ParameterEstimates = BETAS;
PROC LOGISTIC DATA=X DESCENDING;
MODEL DEPVAR = THIS_VAR_IS_EXACTLY_28_CHARS;
RUN;
PROC PRINT DATA=BETAS;
RUN;
You can see that the variable name is cutoff in line 2 of the output data:
Code:
Prob
Obs Variable DF Estimate StdErr WaldChiSq ChiSq
1 Intercept 1 -1.0462 0.1437 53.0183 <.0001
2 THIS_VAR_IS_EXACTLY_ 1 -0.0200 0.2454 0.0067 0.9349