Variable Names Truncated in PROC LOGISTIC

Live Online Training : SAS Programming with 50+ Case Studies

- Explain Programming Concepts in Simple English
- Live Projects
- Scenario Based Questions
- Job Placement Assistance
- Get 10% off till Sept 25, 2017
- Batch starts from October 8, 2017

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


SAS Tutorials : 100 Free SAS Tutorials

About Author:

Deepanshu founded ListenData with a simple objective - Make analytics easy to understand and follow. He has close to 7 years of experience in data science and predictive modeling. During his tenure, he has worked with global clients in various domains like retail and commercial banking, Telecom, HR and Automotive.


While I love having friends who agree, I only learn from those who don't.

Let's Get Connected: Email | LinkedIn

Get Free Email Updates :
*Please confirm your email address by clicking on the link sent to your Email*

Related Posts:

2 Responses to "Variable Names Truncated in PROC LOGISTIC"

  1. The Las Vegas 51s are the AAA partner of the Toronto Blue Jays. In spite of the fact that fans who get MLB tickets online for Blue Jays recreations are not ordinarily a similar that buy Vegas 51s tickets, the two groups do share player rights and uniform hues. color run team name ideas

    ReplyDelete
  2. The result being that the auction could not be as competitive as it had the potential to be, and with low revenues from auctions of surplus goods for the government. Liteblue login

    ReplyDelete

Next → ← Prev