Skip to content

Commit cfb9b45

Browse files
Fix a small typo in the survival analysis notebook (#528)
* fix typo in survival function * run pre-commit --------- Co-authored-by: Oriol (ZBook) <[email protected]>
1 parent 030e7ac commit cfb9b45

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/survival_analysis/survival_analysis.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@
209209
"\n",
210210
"Solving this differential equation for the survival function shows that\n",
211211
"\n",
212-
"$$S(t) = \\exp\\left(-\\int_0^s \\lambda(s)\\ ds\\right).$$\n",
212+
"$$S(t) = \\exp\\left(-\\int_0^t \\lambda(s)\\ ds\\right).$$\n",
213213
"\n",
214214
"This representation of the survival function shows that the cumulative hazard function\n",
215215
"\n",

examples/survival_analysis/survival_analysis.myst.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ $$\begin{align*}
8787

8888
Solving this differential equation for the survival function shows that
8989

90-
$$S(t) = \exp\left(-\int_0^s \lambda(s)\ ds\right).$$
90+
$$S(t) = \exp\left(-\int_0^t \lambda(s)\ ds\right).$$
9191

9292
This representation of the survival function shows that the cumulative hazard function
9393

0 commit comments

Comments
 (0)