I'm looking to build out a multiple regression in Python and need to numerically encode my categorical data. I have fields such as gender (Male, Female, Prefer not to Say), education level (High School, Undergraduate, Graduate, MBA, PhD), etc. My question is, does it matter how I assign the numbers to these fields? Will the numbering affect the outcome or validity of my regression? Continue reading...