It seems like a lot of edits, but that's because my text editor removes whitespace on save.
I tried to odds function and the lower limit for the odds ratio was negative.
I checked the code and modified the addition of the interval width so it happens on the log odds scale before conversion back to the odds scale. So on lines 34 and 35, I changed the location of the closing parenthesis for the exp function.
Hello,
It seems like a lot of edits, but that's because my text editor removes whitespace on save. I tried to
odds
function and the lower limit for the odds ratio was negative. I checked the code and modified the addition of the interval width so it happens on the log odds scale before conversion back to the odds scale. So on lines 34 and 35, I changed the location of the closing parenthesis for theexp
function.-James.