Skip to content

Commit

Permalink
add subheading
Browse files Browse the repository at this point in the history
  • Loading branch information
mccarthy-m-g committed May 27, 2024
1 parent 40a7b1d commit 7a59c5b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vignettes/articles/chapter-10.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ In Section 10.2 Singer and Willett (2003) introduce three statistics for summari

where $m$ is the time interval immediately before the median lifetime, $\hat S(t_m)$ is the value of the survivor function in the $m$th interval, and $\hat S(t_{m + 1})$ is the value of the survivor function in the next interval.

### Using the life table to estimate hazard probability, survival probability, and median lifetime

First, the discrete-time hazard function and the survival function. Note the use of if-else statements to provide preset values for the "beginning of time", which by definition will always be `NA` for the discrete-time hazard function and `1` for the survival function.

```{r}
Expand Down

0 comments on commit 7a59c5b

Please sign in to comment.