🦉 🎤   RapidMiner Wisdom 2020 - CALL FOR SPEAKERS   🦉 🎤

We are inviting all community members to submit proposals to speak at Wisdom 2020 in Boston.


Whether it's a cool RapidMiner trick or a use case implementation, we want to see what you have.
Form link is below and deadline for submissions is November 15. See you in Boston!

CLICK HERE TO GO TO ENTRY FORM

Change Reference/Baseline in GLM

asav_yuasav_yu Member Posts: 14 Contributor II
edited May 30 in Help
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.
sgenzermschmitzSGolbert

Answers

  • Telcontar120Telcontar120 Moderator, RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 1,248   Unicorn
    Correct.  Although you actually don't need the comparison group method at all, the GLM implementation can handle the dummy coding approach, which is a bit more popular.  So either works fine.

    Brian T.
    Lindon Ventures 
    Data Science Consulting from Certified RapidMiner Experts
Sign In or Register to comment.