play">\begin{equation*}
S(t) = \exp\left(- \int_{0}^{t} h(u) du \right)
\end{equation*}</script>
where <script type="math/tex">H(t) = \int_{0}^{t} h(u) du </script> is the cumulative hazard function</p>
<p>However, the hazard function is rarely used in its original form. Most of the time, we subdivide the time axis in <script type="math/tex">J</script> parts and calculate the risk score of a sample <script type="math/tex">x</script>, such that:
<script type="math/tex; mode=display">\begin{equation*}
r(x) = 