Hi. I am having a problem with calculating the hazard ratio. My code doesn’t pass the tests and I can’t find the root cause.
The error is:
Error: Wrong output. One possible solution: make sure i = 1 and j = 5
All other tests are passed. My formula seems to be ok and my answer appears to be very close to the correct one. I didn’t do any rounding but my answer is 15.029038554669134, while it should be 15.029017732492221