How can I find what value of the independent variable is needed to achieve a certain probability in logistic regression? for example, assume we have the following model where X1 is binary (0,1) and X2 is continuous.
m<-glm(Y~ X1+X2 , data=data, family="binomial")
how to find X2 value, at each level of X1, that is associated with Probability (P) =51% for example? I am using R language!
In this link, it provides an answer when there is only 1 predictor ( continuous). I am asking when there are multiple predictors ( some are continuous and some are categorical). Thank you
Thank you!