Skip to content

Commit 870b20c

Browse files
feat: add \riskset and \risksetf macros for survival analysis risk set (#48)
Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com> Co-authored-by: Douglas Ezra Morrison <d-morrison@users.noreply.github.com>
1 parent 14a63ca commit 870b20c

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

interpretations.tsv

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ name interpretation
2727
\Sf survival function S(·) applied to argument
2828
\surv survival function symbol (alias for \S)
2929
\survf survival function applied to argument (alias for \Sf)
30+
\riskset risk set symbol ℛ (survival analysis)
31+
\risksetf risk set at time t: ℛ(t)
3032
\ph estimated probability p-hat
3133
\P probability operator P
3234
\hp estimated probability (alias for \ph)

macros.qmd

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@
2626
\providecommand{\Sf}[1]{\S\paren{#1}}
2727
\def\surv{\distop{S}}
2828
\providecommand{\survf}[1]{\surv\paren{#1}}
29+
\def\riskset{\mathcal{R}}
30+
\providecommand{\risksetf}[1]{\riskset\paren{#1}}
2931
\def\ph{\mathop{\hat{\p}}\nolimits}
3032
\def\P{\distop{P}}
3133
\def\hp{\mathop{\hat{\p}}\nolimits}

0 commit comments

Comments
 (0)