Variable Names Truncated in PROC LOGISTIC

Deepanshu Bhalla Add Comment
In one of my logistic regression model, there are some variables that have name more than 20 characters long. By default, PROC LOGISTIC truncates the name to 20 characters.

Solution : You can use NAMELEN option in PROC LOGISTIC. Specify NAMELEN=32 option as shown in the image below.

NAMELEN =n specifies the length of effect names in tables and output data sets to be n characters, where n is a value between 20 and 200. The default length is 20 characters.

PROC LOGISTIC : VARIABLE NAME TRUNCATION

Related Posts
Spread the Word!
Share
About Author:
Deepanshu Bhalla

Deepanshu founded ListenData with a simple objective - Make analytics easy to understand and follow. He has over 10 years of experience in data science. During his tenure, he worked with global clients in various domains like Banking, Insurance, Private Equity, Telecom and HR.

Post Comment 0 Response to "Variable Names Truncated in PROC LOGISTIC"
Next → ← Prev