C2_W4 UNQ_C2 - wrong answer of Hazard Ratio

Hi. I am having a problem with calculating the expected hazard ratio. My output is 15.194164307740701, while it should be 15.029017732492221 so I can’t pass the tests and I can’t find the root cause.

My code is: hr = do not post any part of the code which assess your assignment grade. This is considered violation of Code of Conduct. If a mentor wants to see your codes, they would ask you to send by personal DM

The error is:

Thanks for your help!

check if this comment response helps you understand the issue

Thanks for your help!

2 Likes