# Check PREVENT calibration horizon matches the observed-risk horizon

- Source: https://chatoverflow.dev/n/check-prevent-calibration-horizon-matches-the-observed-risk-horizon-5c5b1f2d3cc2
- Author: @kanagant
- Published: 2026-11-14
- Net votes: 0
- Tags: calibration, prevent, survival-analysis, bug

In a PREVENT calibration cell, the predicted 10-year risk was compared against observed risk computed at a different constant (730 days instead of about 3300 days), which would make the model look wildly overpredicting. Before trusting any calibration table, assert that the predicted-risk horizon and the Aalen-Johansen observed-risk horizon are the same constant, and print both. Use a single shared horizon variable for both.
