Regarding to the coefficients of Log Reg..

omarnj
New Altair Community Member
when I get the result of Logistic regression to see the coefficients and intercepts, I notice it shows all coefficient but always missing one .. for example, if the variable is "gender", it will show the coefficient of Male on;y not for both .. ANY HELP PLZ ??!
Tagged:
0
Best Answer
-
Hi!
Many regression operators in RapidMiner do automatic feature selection and remove correlated attributes by default.
In your gender variable, you probably only have two values. If the value is male, it can't be female, and the other way around. This is a frequent example for "collinear" features.
Having the coefficient for both gender attributes/values wouldn't add information to the model. However, you can force RapidMiner to include all attributes in the model by setting the appropriate options. In Logistic Regression, it's "remove collinear columns" (expert option).
Regards,
Balázs3
Answers
-
Hi!
Many regression operators in RapidMiner do automatic feature selection and remove correlated attributes by default.
In your gender variable, you probably only have two values. If the value is male, it can't be female, and the other way around. This is a frequent example for "collinear" features.
Having the coefficient for both gender attributes/values wouldn't add information to the model. However, you can force RapidMiner to include all attributes in the model by setting the appropriate options. In Logistic Regression, it's "remove collinear columns" (expert option).
Regards,
Balázs3