From 606bcd677773c3f4ed5fb96cfaa0892d5e83afc1 Mon Sep 17 00:00:00 2001 From: Cam Davidson-Pilon Date: Sun, 3 Feb 2019 22:42:06 -0500 Subject: [PATCH] fix-math-rendering --- docs/Survival analysis with lifelines.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/Survival analysis with lifelines.rst b/docs/Survival analysis with lifelines.rst index 2e7a82c56..f5542c46e 100644 --- a/docs/Survival analysis with lifelines.rst +++ b/docs/Survival analysis with lifelines.rst @@ -494,11 +494,11 @@ Fitting to a Weibull model Another very popular model for survival data is the Weibull model. In contrast the the Nelson-Aalen estimator, this model is a *parametric model*, meaning it has a functional form with parameters that we are fitting the data to. (The Nelson-Aalen estimator has no parameters to fit to). Mathematically, the survival function looks like: - ..math:: S(t) = \exp\left(-(\lambda t)^\rho\right), \lambda >0, \rho > 0, +.. math:: S(t) = \exp\left(-(\lambda t)^\rho\right), \lambda >0, \rho > 0, * A priori*, we do not know what :math:`\lambda` and :math:`\rho` are, but we use the data on hand to estimate these parameters. In fact, we actually model and estimate the cumulative hazard rate instead of the survival function (this is different than the Kaplan-Meier estimator): - ..math:: H(t) = (\lambda t)^\rho, \lambda >0, \rho > 0, +.. math:: H(t) = (\lambda t)^\rho, \lambda >0, \rho > 0, In lifelines, estimation is available using the ``WeibullFitter`` class. The ``plot`` method will plot the cumulative hazard.