Hi there,
I have run a logit regression and I am now trying to determine the value of a continuous variable that corresponds to a 0.5 probability of an event occurring. In my code below, I am trying to find the value of cont1 that corresponds to 0.5 probability of event == 1. I realise that this will depend on cont2, so it would be useful if I could include a way of setting cont2 to a specific, but adjustable value, then being able to calculate the value of cont1 at prob 0.5 from that.
Many thanks,
Jack
I have run a logit regression and I am now trying to determine the value of a continuous variable that corresponds to a 0.5 probability of an event occurring. In my code below, I am trying to find the value of cont1 that corresponds to 0.5 probability of event == 1. I realise that this will depend on cont2, so it would be useful if I could include a way of setting cont2 to a specific, but adjustable value, then being able to calculate the value of cont1 at prob 0.5 from that.
I would be very grateful for some advice!
logit event cont1 cont2
margins, at(cont1=(0(0.1)6))
Many thanks,
Jack
Comment