DS4PS / cpp-525-fall-2020

http://ds4ps.org/cpp-525-fall-2020/
1 stars 0 forks source link

Lab 06 Odds Ratio #15

Closed ecking closed 3 years ago

ecking commented 3 years ago

Hello @Dselby86, I was wondering if you could explain odds ratio and log odds.

My understanding is odds ratio is the coefficient/ 1- coefficient.

My question is 1) What happens when the result is negative? or can it be negative? For example what if your coefficient is negative?

My second question is how does this relate to the log odds or are they two separate things? The lab makes it look like you need the odds ratio in order to figure out the log odds. But when I look at the log odds it looks like the formula is just the exp(coefficient(logs)). Which doesn't seem related to the odds ratio. Also, I'm just a little confused here, because I've been googling odds ratio and I get the exp formula which I thought was for log odds.

Can you please clarify?