Logistic regression - Transposing formulas I am trying to

London Douglas

London Douglas

Answered question

2022-03-22

Logistic regression - Transposing formulas
I am trying to understand the math behind Logistic regression. I am confused about transposing one formula to another.
Here is what I have: Our regression formula
y=b0+b1x
Our sigmoid function
p=11+ey
Our logistic function
ln(p1p)=b0+b1x
From what I understand, we have to solve for y using the sigmoid function. I did this:
1.p=11+ey
2.1p=1+ey
3.1p1=ey
4.ln(1p1)=ln(ey)
5.ln(1p1)=y
6.ln(1p1)=y
6 is y for our logistic function, but I don't see how can we get to our logistic function y
ln(p1p)
Can anyone help me transpose this or point me in the right direction?
If anyone downvotes me, please explain why in a comment.

Answer & Explanation

Matronola3zw6

Matronola3zw6

Beginner2022-03-23Added 10 answers

log(1p1)=log(1pp)=log(p1p)

Do you have a similar question?

Recalculate according to your conditions!

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?