@@ -1097,7 +1097,19 @@ CmdStanModel$set("public", name = "format", value = format)
10971097# '
10981098# ' @return A [`CmdStanMCMC`] object.
10991099# '
1100- # ' @template seealso-docs
1100+ # ' @references
1101+ # ' * Hoffman, M. D., and Gelman, A. (2014). The No-U-Turn sampler:
1102+ # ' adaptively setting path lengths in Hamiltonian Monte Carlo.
1103+ # ' *Journal of Machine Learning Research*, 15(47), 1593-1623.
1104+ # ' * Betancourt, M. (2017). A conceptual introduction to Hamiltonian Monte Carlo.
1105+ # ' arXiv:1701.02434. Appendix A describes Stan's dynamic HMC/NUTS implementation.
1106+ # ' * Stan Development Team. Stan Reference Manual (Algorithms section):
1107+ # ' https://mc-stan.org/docs/reference-manual/
1108+ # ' * Stan Development Team. Stan documentation:
1109+ # ' https://mc-stan.org/users/documentation/
1110+ # ' * Stan Development Team. CmdStan User's Guide:
1111+ # ' https://mc-stan.org/docs/cmdstan-guide/
1112+ # '
11011113# ' @inherit cmdstan_model examples
11021114# '
11031115sample <- function (data = NULL ,
@@ -1247,7 +1259,19 @@ CmdStanModel$set("public", name = "sample", value = sample)
12471259# '
12481260# ' @return A [`CmdStanMCMC`] object.
12491261# '
1250- # ' @template seealso-docs
1262+ # ' @references
1263+ # ' * Hoffman, M. D., and Gelman, A. (2014). The No-U-Turn sampler:
1264+ # ' adaptively setting path lengths in Hamiltonian Monte Carlo.
1265+ # ' *Journal of Machine Learning Research*, 15(47), 1593-1623.
1266+ # ' * Betancourt, M. (2017). A conceptual introduction to Hamiltonian Monte Carlo.
1267+ # ' arXiv:1701.02434. Appendix A describes Stan's dynamic HMC/NUTS implementation.
1268+ # ' * Stan Development Team. Stan Reference Manual (Algorithms section):
1269+ # ' https://mc-stan.org/docs/reference-manual/
1270+ # ' * Stan Development Team. Stan documentation:
1271+ # ' https://mc-stan.org/users/documentation/
1272+ # ' * Stan Development Team. CmdStan User's Guide:
1273+ # ' https://mc-stan.org/docs/cmdstan-guide/
1274+ # '
12511275# ' @seealso The Stan Math Library's documentation
12521276# ' ([mc-stan.org/math](https://mc-stan.org/math/)) for more
12531277# ' details on MPI support in Stan.
@@ -1407,7 +1431,14 @@ CmdStanModel$set("public", name = "sample_mpi", value = sample_mpi)
14071431# '
14081432# ' @return A [`CmdStanMLE`] object.
14091433# '
1410- # ' @template seealso-docs
1434+ # ' @references
1435+ # ' * Stan Development Team. Stan Reference Manual (Algorithms section, optimization):
1436+ # ' https://mc-stan.org/docs/reference-manual/
1437+ # ' * Stan Development Team. Stan documentation:
1438+ # ' https://mc-stan.org/users/documentation/
1439+ # ' * Stan Development Team. CmdStan User's Guide:
1440+ # ' https://mc-stan.org/docs/cmdstan-guide/
1441+ # '
14111442# ' @inherit cmdstan_model examples
14121443# '
14131444optimize <- function (data = NULL ,
@@ -1529,7 +1560,14 @@ CmdStanModel$set("public", name = "optimize", value = optimize)
15291560# '
15301561# ' @return A [`CmdStanLaplace`] object.
15311562# '
1532- # ' @template seealso-docs
1563+ # ' @references
1564+ # ' * Stan Development Team. Stan Reference Manual (Algorithms section, Laplace approximation):
1565+ # ' https://mc-stan.org/docs/reference-manual/
1566+ # ' * Stan Development Team. Stan documentation:
1567+ # ' https://mc-stan.org/users/documentation/
1568+ # ' * Stan Development Team. CmdStan User's Guide:
1569+ # ' https://mc-stan.org/docs/cmdstan-guide/
1570+ # '
15331571# ' @examples
15341572# ' \dontrun{
15351573# ' file <- file.path(cmdstan_path(), "examples/bernoulli/bernoulli.stan")
@@ -1694,7 +1732,17 @@ CmdStanModel$set("public", name = "laplace", value = laplace)
16941732# '
16951733# ' @return A [`CmdStanVB`] object.
16961734# '
1697- # ' @template seealso-docs
1735+ # ' @references
1736+ # ' * Kucukelbir, A., Tran, D., Ranganath, R., Gelman, A., and Blei, D. M.
1737+ # ' (2017). Automatic differentiation variational inference.
1738+ # ' *Journal of Machine Learning Research*, 18(14), 1-45.
1739+ # ' * Stan Development Team. Stan Reference Manual (Algorithms section, variational inference):
1740+ # ' https://mc-stan.org/docs/reference-manual/
1741+ # ' * Stan Development Team. Stan documentation:
1742+ # ' https://mc-stan.org/users/documentation/
1743+ # ' * Stan Development Team. CmdStan User's Guide:
1744+ # ' https://mc-stan.org/docs/cmdstan-guide/
1745+ # '
16981746# ' @inherit cmdstan_model examples
16991747# '
17001748variational <- function (data = NULL ,
@@ -1834,7 +1882,17 @@ CmdStanModel$set("public", name = "variational", value = variational)
18341882# ' pathfinder runs in multi-pathfinder.
18351883# ' @return A [`CmdStanPathfinder`] object.
18361884# '
1837- # ' @template seealso-docs
1885+ # ' @references
1886+ # ' * Zhang, L., Carpenter, B., Gelman, A., and Vehtari, A. (2022).
1887+ # ' Pathfinder: parallel quasi-Newton variational inference.
1888+ # ' *Journal of Machine Learning Research*, 23(306), 1-49.
1889+ # ' * Stan Development Team. Stan Reference Manual (Algorithms section, Pathfinder):
1890+ # ' https://mc-stan.org/docs/reference-manual/
1891+ # ' * Stan Development Team. Stan documentation:
1892+ # ' https://mc-stan.org/users/documentation/
1893+ # ' * Stan Development Team. CmdStan User's Guide:
1894+ # ' https://mc-stan.org/docs/cmdstan-guide/
1895+ # '
18381896# ' @inherit cmdstan_model examples
18391897# '
18401898pathfinder <- function (data = NULL ,
0 commit comments