Logistic Regression Assumption - check linearity of independent variables and log odds

How does one check this assumption for logistic regression? We don't need to check linearity of the target against predictor variables, just predictor vars and log odds.

I searched and got lost with several posts including here here and here.

These posts and others talk about the assumption, but I'm not following how to plot or visualize it myself.

From the last link from Reddit, it looks like I would want to fit a simple logictic regresson for each continuious variable that I have, get the prediction in logodds form then plot it against the variable. Do that for every predictor. Have I go that right?

How do we check linearity of independent variables and log odds in R?

Hello! This is not a super in-depth response and I hope others chime in, but you can check it visually and I found a tutorial that will show you how to do that. I found these instructions useful (under 5.3 go to "Step 4: check assumptions").

1 Like

Super helpful link, thanks for sharing

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.