Reference Category in Linear Regression
Hello everyone,

although I searched the forum, I did not find anything applicable for my cas. If have overlooked something, I am sorry.
The Linear Regression model gives me the following result:

I would like to have D = NONE as a reference-category so that it would not be inside the result.
(How) is that possible?
Have a nice day and weekend 

Find more posts tagged with
Comments
Sort by:
1 - 3 of
31
Hi @yyhuang,
thank you very much for your reply - this is very nice to know.
Nevertheless, I think I was not specific enough. What I would expect is, that there would be no estimates / values for the reference category. For example in my case, I would expect the level D = "NONE" to be not in the results or with a value of 0 or 1.
In your case, I would expect the Level "First" to be not in the results or with a value of 0 or 1.
thank you very much for your reply - this is very nice to know.
Nevertheless, I think I was not specific enough. What I would expect is, that there would be no estimates / values for the reference category. For example in my case, I would expect the level D = "NONE" to be not in the results or with a value of 0 or 1.
In your case, I would expect the Level "First" to be not in the results or with a value of 0 or 1.
I hope you have a nice weekend.
Edit: The reason why I am asking this is that other softwares such as RStudio and IBM SPSS behave in that way.
If I run the same structured data through RStudio, you can see that for example "PR flag greater five percent" and D = "Big" were taken as the reference-levels and are not inside the results / have no estimates.

to change the reference/baseline category in linear regression, you can manually reorder the example set. The baseline category is determined by the appearance order. The first appeared nominal value in data is chosen to be the reference category. For instance in Titanic data, after some re-ordering, my statistics summary for categorical factors (details for counts of nominal values) has an updated over view:
The process xml that change the example order and update the model with new reference category ---