BookmarkSubscribeRSS Feed
Xtw
Calcite | Level 5 Xtw
Calcite | Level 5
Hi, may someone please tell me why some categorical variables have only zeros for estimates and zeroes p-values under the parameter estimate output? Is it because they are not significant and should not be included in the model?
3 REPLIES 3
Reeza
Super User

Some levels of categorical variables? Or the variable itself? Those are two different issues. 

 

If it's just a level per categorical variable, it's usually because that's the reference level. When you dummy code a variable that has 3 levels, you need 2 dummy variables only. The third gets rolled into the intercept. This is because you only need two data points to figure out what the third would be. 

 


@Xtw wrote:
Hi, may someone please tell me why some categorical variables have only zeros for estimates and zeroes p-values under the parameter estimate output? Is it because they are not significant and should not be included in the model?

 

Xtw
Calcite | Level 5 Xtw
Calcite | Level 5
Thank you, the variables itself is has no values
Reeza
Super User
Is it a binary variable? What does the log show? The more information your provide the faster and easier it is to provide an answer.

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 3 replies
  • 638 views
  • 0 likes
  • 2 in conversation