Skip to content

Commit

Permalink
Merge pull request #695 from stan-dev/user-guide-survival-models
Browse files Browse the repository at this point in the history
survival model chapter with refs
  • Loading branch information
WardBrian authored Jan 16, 2024
2 parents a92595a + 7f22d4b commit 4948b7d
Show file tree
Hide file tree
Showing 6 changed files with 858 additions and 47 deletions.
43 changes: 41 additions & 2 deletions src/bibtex/all.bib
Original file line number Diff line number Diff line change
Expand Up @@ -1667,7 +1667,6 @@ @article{cashvariable:1990
volume = {16},
issn = {0098-3500},
doi = {10.1145/79505.79507},
abstract = {Explicit Runge-Kutta methods (RKMs) are among the most popular classes of formulas for the approximate numerical integration of nonstiff, initial value problems. However, high-order Runge-Kutta methods require more function evaluations per integration step than, for example, Adams methods used in PECE mode, and so, with RKMs, it is expecially important to avoid rejected steps. Steps are often rejected when certain derivatives of the solutions are very large for part of the region of integration. This corresponds, for example, to regions where the solution has a sharp front or, in the limit, some derivative of the solution is discontinuous. In these circumstances the assumption that the local truncation error is changing slowly is invalid, and so any step-choosing algorithm is likely to produce an unacceptable step. In this paper we derive a family of explicit Runge-Kutta formulas. Each formula is very efficient for problems with smooth solution as well as problems having rapidly varying solutions. Each member of this family consists of a fifty-order formula that contains imbedded formulas of all orders 1 through 4. By computing solutions at several different orders, it is possible to detect sharp fronts or discontinuities before all the function evaluations defining the full Runge-Kutta step have been computed. We can then either accept a lower order solution or abort the step, depending on which course of action seems appropriate. The efficiency of the new algorithm is demonstrated on the DETEST test set as well as on some difficult test problems with sharp fronts or discontinuities.},
number = {3},
urldate = {2021-02-03},
journal = {ACM Transactions on Mathematical Software},
Expand All @@ -1677,7 +1676,6 @@ @article{cashvariable:1990
pages = {201--222},
}


@article{mazziatest:2012,
title = {A {Test} {Set} for stiff {Initial} {Value} {Problem} {Solvers} in the open source software {R}: {Package} {deTestSet}},
volume = {236},
Expand Down Expand Up @@ -1767,6 +1765,46 @@ @article{PullinEtAl:2021
url = {https://arxiv.org/abs/2010.09335},
}

@article{cox:1972,
title={Regression models and life-tables},
author={Cox, David R},
journal={Journal of the Royal Statistical Society: Series B (Methodological)},
volume={34},
number={2},
pages={187--202},
year={1972}
}

@article{breslow:1975,
author={N.~E. Breslow},
year={1975},
title={Analysis of survival data under the proportional hazards model},
journal={International Statisticas Review},
volume={43},
number={1},
pages={45--58}
}

@article{efron:1977,
title={The efficiency of {C}ox's likelihood function for censored data},
author={Efron, Bradley},
journal={Journal of the American statistical Association},
pages={557--565},
year={1977},
volume={72},
number={359},
}

@article{plackett:1975,
title={The analysis of permutations},
author={Plackett, Robin L},
journal={Journal of the Royal Statistical Society Series C: Applied Statistics},
volume={24},
number={2},
pages={193--202},
year={1975}
}

@article{zhang_pathfinder:2022,
author = {Lu Zhang and Bob Carpenter and Andrew Gelman and Aki Vehtari},
title = {Pathfinder: Parallel quasi-Newton variational inference},
Expand All @@ -1777,3 +1815,4 @@ @article{zhang_pathfinder:2022
pages = {1--49},
url = {http://jmlr.org/papers/v23/21-0889.html}
}

21 changes: 6 additions & 15 deletions src/functions-reference/header.tex
Original file line number Diff line number Diff line change
@@ -1,19 +1,10 @@
\let\digamma\undefined
\IfFileExists{lucimatx.sty}{
% ----- if Lucida availalable------------------
\usepackage[
scale=0.875,
stdmathitalics=true,
stdmathdigits=true]{lucimatx}
\linespread{1.05}
}{
% ------ if Lucida not available --------------
\usepackage{charter}
% \usepackage{mathpazo} % palatino with math
% \usepackage{mathptmx} % times with math
\usepackage{amssymb}
\linespread{1.05}
}


\usepackage{mathpazo}
\usepackage[scale=0.9]{sourcecodepro}
\usepackage{amssymb}
\linespread{1.03}

\usepackage{titlesec}
\titleformat{\chapter}{\bfseries\LARGE}{\thechapter.}{1.5pc}{}{}
Expand Down
20 changes: 5 additions & 15 deletions src/reference-manual/header.tex
Original file line number Diff line number Diff line change
@@ -1,19 +1,9 @@
\let\digamma\undefined
\IfFileExists{lucimatx.sty}{
% ----- if Lucida availalable------------------
\usepackage[
scale=0.875,
stdmathitalics=true,
stdmathdigits=true]{lucimatx}
\linespread{1.02}
}{
% ------ if Lucida not available --------------
\usepackage{charter}
% \usepackage{mathpazo} % palatino with math
% \usepackage{mathptmx} % times with math
\usepackage{amssymb}
\linespread{1.03}
}

\usepackage{mathpazo}
\usepackage[scale=0.9]{sourcecodepro}
\usepackage{amssymb}
\linespread{1.03}

\usepackage{titlesec}
\titleformat{\chapter}{\bfseries\LARGE}{\thechapter.}{1.5pc}{}{}
Expand Down
1 change: 1 addition & 0 deletions src/stan-users-guide/_bookdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ rmd_files: [
"time-series.Rmd",
"missing-data.Rmd",
"truncation-censoring.Rmd",
"survival.Rmd",
"finite-mixtures.Rmd",
"measurement-error.Rmd",
"latent-discrete.Rmd",
Expand Down
19 changes: 4 additions & 15 deletions src/stan-users-guide/header.tex
Original file line number Diff line number Diff line change
@@ -1,20 +1,9 @@
\let\digamma\undefined

\IfFileExists{lucimatx.sty}{
% ----- if Lucida availalable------------------
\usepackage[
scale=0.875,
stdmathitalics=true,
stdmathdigits=true]{lucimatx}
\linespread{1.02}
}{
% ------ if Lucida not available --------------
\usepackage{charter}
% \usepackage{mathpazo} % palatino with math
% \usepackage{mathptmx} % times with math
\usepackage{amssymb}
\linespread{1.03}
}
\usepackage{mathpazo}
\usepackage[scale=0.9]{sourcecodepro}
\usepackage{amssymb}
\linespread{1.03}

\usepackage{booktabs}
\usepackage{amsthm}
Expand Down
Loading

0 comments on commit 4948b7d

Please sign in to comment.