pysurvival icon indicating copy to clipboard operation
pysurvival copied to clipboard

two different predict_risk implementations

Open iamyihwa opened this issue 3 years ago • 0 comments

For others such as predict_survival, predict_hazard, predict_cdf, implementation in models.py are used in Simulations.

However for predict_risk, in Simulations, instead of using the one in models.py , it uses the one in simulations.py

The two predict_risk ( models.py, simulations.py ), give quite different result.

The one from models.py being sum over cumulative hazard, whereas the one in simulations.py being a sum over weight values (or more complex forms depending on the choice.)

Wonder why it is the case.

iamyihwa avatar Feb 08 '22 15:02 iamyihwa