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.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

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
  • 988 views
  • 0 likes
  • 2 in conversation