I have a data set of 4 predictors and 1 response, all of which are categorical.
I'm looking to answer questions like: (for the sample below) Of the weapons in predictor, which one best correlates to not dying? Can someone point me in the right direction or towards a tutorial?
I'm working in Python so a library would be helpful but I most need the model and the explanation because it's been a good few years since my university stats classes.
Sample data set:
Setting | Gender | Weapon | Time_of_day || Outcome
Urban | Male | Knife | Dawn || Dead
Urban | Male | Gun | Dawn || Dead
Forest | Male | Gun | Noon || Alive
Urban | Female | Knife | Night || Alive
Highway | Male | Gun | Dawn || Alive
Urban | Female | Knife | Dawn || Dead
Forest | Female | Rope | Noon || Injured