@@ -1105,7 +1105,19 @@ CmdStanModel$set("public", name = "format", value = format)
11051105# '
11061106# ' @return A [`CmdStanMCMC`] object.
11071107# '
1108- # ' @template seealso-docs
1108+ # ' @references
1109+ # ' * Hoffman, M. D., and Gelman, A. (2014). The No-U-Turn sampler:
1110+ # ' adaptively setting path lengths in Hamiltonian Monte Carlo.
1111+ # ' *Journal of Machine Learning Research*, 15(47), 1593-1623.
1112+ # ' * Betancourt, M. (2017). A conceptual introduction to Hamiltonian Monte Carlo.
1113+ # ' arXiv:1701.02434. Appendix A describes Stan's dynamic HMC/NUTS implementation.
1114+ # ' * Stan Development Team. Stan Reference Manual (Algorithms section):
1115+ # ' https://mc-stan.org/docs/reference-manual/
1116+ # ' * Stan Development Team. Stan documentation:
1117+ # ' https://mc-stan.org/users/documentation/
1118+ # ' * Stan Development Team. CmdStan User's Guide:
1119+ # ' https://mc-stan.org/docs/cmdstan-guide/
1120+ # '
11091121# ' @inherit cmdstan_model examples
11101122# '
11111123sample <- function (data = NULL ,
@@ -1280,7 +1292,19 @@ CmdStanModel$set("public", name = "sample", value = sample)
12801292# '
12811293# ' @return A [`CmdStanMCMC`] object.
12821294# '
1283- # ' @template seealso-docs
1295+ # ' @references
1296+ # ' * Hoffman, M. D., and Gelman, A. (2014). The No-U-Turn sampler:
1297+ # ' adaptively setting path lengths in Hamiltonian Monte Carlo.
1298+ # ' *Journal of Machine Learning Research*, 15(47), 1593-1623.
1299+ # ' * Betancourt, M. (2017). A conceptual introduction to Hamiltonian Monte Carlo.
1300+ # ' arXiv:1701.02434. Appendix A describes Stan's dynamic HMC/NUTS implementation.
1301+ # ' * Stan Development Team. Stan Reference Manual (Algorithms section):
1302+ # ' https://mc-stan.org/docs/reference-manual/
1303+ # ' * Stan Development Team. Stan documentation:
1304+ # ' https://mc-stan.org/users/documentation/
1305+ # ' * Stan Development Team. CmdStan User's Guide:
1306+ # ' https://mc-stan.org/docs/cmdstan-guide/
1307+ # '
12841308# ' @seealso The Stan Math Library's documentation
12851309# ' ([mc-stan.org/math](https://mc-stan.org/math/)) for more
12861310# ' details on MPI support in Stan.
@@ -1440,7 +1464,14 @@ CmdStanModel$set("public", name = "sample_mpi", value = sample_mpi)
14401464# '
14411465# ' @return A [`CmdStanMLE`] object.
14421466# '
1443- # ' @template seealso-docs
1467+ # ' @references
1468+ # ' * Stan Development Team. Stan Reference Manual (Algorithms section, optimization):
1469+ # ' https://mc-stan.org/docs/reference-manual/
1470+ # ' * Stan Development Team. Stan documentation:
1471+ # ' https://mc-stan.org/users/documentation/
1472+ # ' * Stan Development Team. CmdStan User's Guide:
1473+ # ' https://mc-stan.org/docs/cmdstan-guide/
1474+ # '
14441475# ' @inherit cmdstan_model examples
14451476# '
14461477optimize <- function (data = NULL ,
@@ -1562,7 +1593,14 @@ CmdStanModel$set("public", name = "optimize", value = optimize)
15621593# '
15631594# ' @return A [`CmdStanLaplace`] object.
15641595# '
1565- # ' @template seealso-docs
1596+ # ' @references
1597+ # ' * Stan Development Team. Stan Reference Manual (Algorithms section, Laplace approximation):
1598+ # ' https://mc-stan.org/docs/reference-manual/
1599+ # ' * Stan Development Team. Stan documentation:
1600+ # ' https://mc-stan.org/users/documentation/
1601+ # ' * Stan Development Team. CmdStan User's Guide:
1602+ # ' https://mc-stan.org/docs/cmdstan-guide/
1603+ # '
15661604# ' @examples
15671605# ' \dontrun{
15681606# ' file <- file.path(cmdstan_path(), "examples/bernoulli/bernoulli.stan")
@@ -1727,7 +1765,17 @@ CmdStanModel$set("public", name = "laplace", value = laplace)
17271765# '
17281766# ' @return A [`CmdStanVB`] object.
17291767# '
1730- # ' @template seealso-docs
1768+ # ' @references
1769+ # ' * Kucukelbir, A., Tran, D., Ranganath, R., Gelman, A., and Blei, D. M.
1770+ # ' (2017). Automatic differentiation variational inference.
1771+ # ' *Journal of Machine Learning Research*, 18(14), 1-45.
1772+ # ' * Stan Development Team. Stan Reference Manual (Algorithms section, variational inference):
1773+ # ' https://mc-stan.org/docs/reference-manual/
1774+ # ' * Stan Development Team. Stan documentation:
1775+ # ' https://mc-stan.org/users/documentation/
1776+ # ' * Stan Development Team. CmdStan User's Guide:
1777+ # ' https://mc-stan.org/docs/cmdstan-guide/
1778+ # '
17311779# ' @inherit cmdstan_model examples
17321780# '
17331781variational <- function (data = NULL ,
@@ -1867,7 +1915,17 @@ CmdStanModel$set("public", name = "variational", value = variational)
18671915# ' pathfinder runs in multi-pathfinder.
18681916# ' @return A [`CmdStanPathfinder`] object.
18691917# '
1870- # ' @template seealso-docs
1918+ # ' @references
1919+ # ' * Zhang, L., Carpenter, B., Gelman, A., and Vehtari, A. (2022).
1920+ # ' Pathfinder: parallel quasi-Newton variational inference.
1921+ # ' *Journal of Machine Learning Research*, 23(306), 1-49.
1922+ # ' * Stan Development Team. Stan Reference Manual (Algorithms section, Pathfinder):
1923+ # ' https://mc-stan.org/docs/reference-manual/
1924+ # ' * Stan Development Team. Stan documentation:
1925+ # ' https://mc-stan.org/users/documentation/
1926+ # ' * Stan Development Team. CmdStan User's Guide:
1927+ # ' https://mc-stan.org/docs/cmdstan-guide/
1928+ # '
18711929# ' @inherit cmdstan_model examples
18721930# '
18731931pathfinder <- function (data = NULL ,
0 commit comments