The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
Change Reference/Baseline in GLM
I am sure there is a super easy way to do this but I can't find it. How can I change the reference level for a categorical variables for my glm?
In python it would be something like this: https://stackoverflow.com/questions/22431503/specifying-which-category-to-treat-as-the-base-with-statsmodels
EDIT:
Found the solution thanks. Its a matter of defining comparison groups in nominal to numerical operator.
In python it would be something like this: https://stackoverflow.com/questions/22431503/specifying-which-category-to-treat-as-the-base-with-statsmodels
EDIT:
Found the solution thanks. Its a matter of defining comparison groups in nominal to numerical operator.
3
Answers
Lindon Ventures
Data Science Consulting from Certified RapidMiner Experts