Timeline for Get Logistic regressions odds from equation result
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 17, 2015 at 11:51 | comment | added | Learner | No need to change the formula. Formula in the answer should give you the correct results irrespective of the signs of the value. see this pmean.com/13/predicted.html | |
Jun 17, 2015 at 11:38 | comment | added | Rob | Found the correct method If (Equation Results)<0 then: probability=EXP(Equation Results)/(1+EXP(Equation Results)) If (Equation Results)>=0 then: probability=1-EXP(Equation Results)/(1+EXP(Equation Results)) | |
Jun 17, 2015 at 11:32 | comment | added | Learner | hmmm.. that's strange.. The formula does not change for each row. So there is nothing wrong with formula. I doubt something wrong with the data type. | |
Jun 17, 2015 at 11:26 | comment | added | Rob | Sure: EXP(-1.062)/(1+EXP(-1.062)) = 0.74 --> works fine EXP(0.2215)/(1+EXP(0.2215)) = 0.44 --> wrong odds --> should be 0.55 EXP(4.9)/(1+EXP(4.9)) = 0.17 --> wrong odds --> should be 0.83 | |
Jun 17, 2015 at 11:22 | comment | added | Learner | That should work. Can you please give me an example and what error are you getting? | |
Jun 17, 2015 at 11:18 | comment | added | Rob | The following equation works for some of the values: Probability=EXP(Equation Result)/(1+EXP(Equation Result)) But for values of EXP(Equation Result) that are greater than 1 the method doesn't work, do you have am idea why | |
Jun 17, 2015 at 10:14 | history | answered | Learner | CC BY-SA 3.0 |