From 5c21e2e3c371c1e529928750af866f6f88a88370 Mon Sep 17 00:00:00 2001 From: VisruthSK <67435125+VisruthSK@users.noreply.github.com> Date: Sat, 28 Feb 2026 15:03:41 -0800 Subject: [PATCH 1/3] Generated some references --- R/model.R | 64 +++++++++++++++++++++++++++++++++ man/model-method-laplace.Rd | 10 ++++++ man/model-method-optimize.Rd | 10 ++++++ man/model-method-pathfinder.Rd | 13 +++++++ man/model-method-sample.Rd | 15 ++++++++ man/model-method-sample_mpi.Rd | 15 ++++++++ man/model-method-variational.Rd | 13 +++++++ 7 files changed, 140 insertions(+) diff --git a/R/model.R b/R/model.R index 2b87f7eac..b42824df2 100644 --- a/R/model.R +++ b/R/model.R @@ -1097,6 +1097,19 @@ CmdStanModel$set("public", name = "format", value = format) #' #' @return A [`CmdStanMCMC`] object. #' +#' @references +#' * Hoffman, M. D., and Gelman, A. (2014). The No-U-Turn sampler: +#' adaptively setting path lengths in Hamiltonian Monte Carlo. +#' *Journal of Machine Learning Research*, 15(47), 1593-1623. +#' * Betancourt, M. (2017). A conceptual introduction to Hamiltonian Monte Carlo. +#' arXiv:1701.02434. Appendix A describes Stan's dynamic HMC/NUTS implementation. +#' * Stan Development Team. Stan Reference Manual (Algorithms section): +#' https://mc-stan.org/docs/reference-manual/ +#' * Stan Development Team. Stan documentation: +#' https://mc-stan.org/users/documentation/ +#' * Stan Development Team. CmdStan User's Guide: +#' https://mc-stan.org/docs/cmdstan-guide/ +#' #' @template seealso-docs #' @inherit cmdstan_model examples #' @@ -1247,6 +1260,19 @@ CmdStanModel$set("public", name = "sample", value = sample) #' #' @return A [`CmdStanMCMC`] object. #' +#' @references +#' * Hoffman, M. D., and Gelman, A. (2014). The No-U-Turn sampler: +#' adaptively setting path lengths in Hamiltonian Monte Carlo. +#' *Journal of Machine Learning Research*, 15(47), 1593-1623. +#' * Betancourt, M. (2017). A conceptual introduction to Hamiltonian Monte Carlo. +#' arXiv:1701.02434. Appendix A describes Stan's dynamic HMC/NUTS implementation. +#' * Stan Development Team. Stan Reference Manual (Algorithms section): +#' https://mc-stan.org/docs/reference-manual/ +#' * Stan Development Team. Stan documentation: +#' https://mc-stan.org/users/documentation/ +#' * Stan Development Team. CmdStan User's Guide: +#' https://mc-stan.org/docs/cmdstan-guide/ +#' #' @template seealso-docs #' @seealso The Stan Math Library's documentation #' ([mc-stan.org/math](https://mc-stan.org/math/)) for more @@ -1407,6 +1433,14 @@ CmdStanModel$set("public", name = "sample_mpi", value = sample_mpi) #' #' @return A [`CmdStanMLE`] object. #' +#' @references +#' * Stan Development Team. Stan Reference Manual (Algorithms section, optimization): +#' https://mc-stan.org/docs/reference-manual/ +#' * Stan Development Team. Stan documentation: +#' https://mc-stan.org/users/documentation/ +#' * Stan Development Team. CmdStan User's Guide: +#' https://mc-stan.org/docs/cmdstan-guide/ +#' #' @template seealso-docs #' @inherit cmdstan_model examples #' @@ -1529,6 +1563,14 @@ CmdStanModel$set("public", name = "optimize", value = optimize) #' #' @return A [`CmdStanLaplace`] object. #' +#' @references +#' * Stan Development Team. Stan Reference Manual (Algorithms section, Laplace approximation): +#' https://mc-stan.org/docs/reference-manual/ +#' * Stan Development Team. Stan documentation: +#' https://mc-stan.org/users/documentation/ +#' * Stan Development Team. CmdStan User's Guide: +#' https://mc-stan.org/docs/cmdstan-guide/ +#' #' @template seealso-docs #' @examples #' \dontrun{ @@ -1694,6 +1736,17 @@ CmdStanModel$set("public", name = "laplace", value = laplace) #' #' @return A [`CmdStanVB`] object. #' +#' @references +#' * Kucukelbir, A., Tran, D., Ranganath, R., Gelman, A., and Blei, D. M. +#' (2017). Automatic differentiation variational inference. +#' *Journal of Machine Learning Research*, 18(14), 1-45. +#' * Stan Development Team. Stan Reference Manual (Algorithms section, variational inference): +#' https://mc-stan.org/docs/reference-manual/ +#' * Stan Development Team. Stan documentation: +#' https://mc-stan.org/users/documentation/ +#' * Stan Development Team. CmdStan User's Guide: +#' https://mc-stan.org/docs/cmdstan-guide/ +#' #' @template seealso-docs #' @inherit cmdstan_model examples #' @@ -1834,6 +1887,17 @@ CmdStanModel$set("public", name = "variational", value = variational) #' pathfinder runs in multi-pathfinder. #' @return A [`CmdStanPathfinder`] object. #' +#' @references +#' * Zhang, L., Carpenter, B., Gelman, A., and Vehtari, A. (2022). +#' Pathfinder: parallel quasi-Newton variational inference. +#' *Journal of Machine Learning Research*, 23(306), 1-49. +#' * Stan Development Team. Stan Reference Manual (Algorithms section, Pathfinder): +#' https://mc-stan.org/docs/reference-manual/ +#' * Stan Development Team. Stan documentation: +#' https://mc-stan.org/users/documentation/ +#' * Stan Development Team. CmdStan User's Guide: +#' https://mc-stan.org/docs/cmdstan-guide/ +#' #' @template seealso-docs #' @inherit cmdstan_model examples #' diff --git a/man/model-method-laplace.Rd b/man/model-method-laplace.Rd index 52d684138..81663a397 100644 --- a/man/model-method-laplace.Rd +++ b/man/model-method-laplace.Rd @@ -223,6 +223,16 @@ bayesplot::mcmc_hist(fit_laplace$draws("theta")) } +} +\references{ +\itemize{ +\item Stan Development Team. Stan Reference Manual (Algorithms section, Laplace approximation): +https://mc-stan.org/docs/reference-manual/ +\item Stan Development Team. Stan documentation: +https://mc-stan.org/users/documentation/ +\item Stan Development Team. CmdStan User's Guide: +https://mc-stan.org/docs/cmdstan-guide/ +} } \seealso{ The CmdStanR website diff --git a/man/model-method-optimize.Rd b/man/model-method-optimize.Rd index 6f36bdf15..79a3ca9ea 100644 --- a/man/model-method-optimize.Rd +++ b/man/model-method-optimize.Rd @@ -348,6 +348,16 @@ fit_optim_w_init_list <- mod$optimize( fit_optim_w_init_list$init() } +} +\references{ +\itemize{ +\item Stan Development Team. Stan Reference Manual (Algorithms section, optimization): +https://mc-stan.org/docs/reference-manual/ +\item Stan Development Team. Stan documentation: +https://mc-stan.org/users/documentation/ +\item Stan Development Team. CmdStan User's Guide: +https://mc-stan.org/docs/cmdstan-guide/ +} } \seealso{ The CmdStanR website diff --git a/man/model-method-pathfinder.Rd b/man/model-method-pathfinder.Rd index ff7260bbd..11c3d116c 100644 --- a/man/model-method-pathfinder.Rd +++ b/man/model-method-pathfinder.Rd @@ -364,6 +364,19 @@ fit_optim_w_init_list <- mod$optimize( fit_optim_w_init_list$init() } +} +\references{ +\itemize{ +\item Zhang, L., Carpenter, B., Gelman, A., and Vehtari, A. (2022). +Pathfinder: parallel quasi-Newton variational inference. +\emph{Journal of Machine Learning Research}, 23(306), 1-49. +\item Stan Development Team. Stan Reference Manual (Algorithms section, Pathfinder): +https://mc-stan.org/docs/reference-manual/ +\item Stan Development Team. Stan documentation: +https://mc-stan.org/users/documentation/ +\item Stan Development Team. CmdStan User's Guide: +https://mc-stan.org/docs/cmdstan-guide/ +} } \seealso{ The CmdStanR website diff --git a/man/model-method-sample.Rd b/man/model-method-sample.Rd index 72fba0480..d8d4edfa8 100644 --- a/man/model-method-sample.Rd +++ b/man/model-method-sample.Rd @@ -427,6 +427,21 @@ fit_optim_w_init_list <- mod$optimize( fit_optim_w_init_list$init() } +} +\references{ +\itemize{ +\item Hoffman, M. D., and Gelman, A. (2014). The No-U-Turn sampler: +adaptively setting path lengths in Hamiltonian Monte Carlo. +\emph{Journal of Machine Learning Research}, 15(47), 1593-1623. +\item Betancourt, M. (2017). A conceptual introduction to Hamiltonian Monte Carlo. +arXiv:1701.02434. Appendix A describes Stan's dynamic HMC/NUTS implementation. +\item Stan Development Team. Stan Reference Manual (Algorithms section): +https://mc-stan.org/docs/reference-manual/ +\item Stan Development Team. Stan documentation: +https://mc-stan.org/users/documentation/ +\item Stan Development Team. CmdStan User's Guide: +https://mc-stan.org/docs/cmdstan-guide/ +} } \seealso{ The CmdStanR website diff --git a/man/model-method-sample_mpi.Rd b/man/model-method-sample_mpi.Rd index b33464f44..ec3615b21 100644 --- a/man/model-method-sample_mpi.Rd +++ b/man/model-method-sample_mpi.Rd @@ -319,6 +319,21 @@ only define the number of processes. To use \code{n_procs} processes specify # fit <- mod$sample_mpi(..., mpi_args = list("n" = 4)) } +} +\references{ +\itemize{ +\item Hoffman, M. D., and Gelman, A. (2014). The No-U-Turn sampler: +adaptively setting path lengths in Hamiltonian Monte Carlo. +\emph{Journal of Machine Learning Research}, 15(47), 1593-1623. +\item Betancourt, M. (2017). A conceptual introduction to Hamiltonian Monte Carlo. +arXiv:1701.02434. Appendix A describes Stan's dynamic HMC/NUTS implementation. +\item Stan Development Team. Stan Reference Manual (Algorithms section): +https://mc-stan.org/docs/reference-manual/ +\item Stan Development Team. Stan documentation: +https://mc-stan.org/users/documentation/ +\item Stan Development Team. CmdStan User's Guide: +https://mc-stan.org/docs/cmdstan-guide/ +} } \seealso{ The CmdStanR website diff --git a/man/model-method-variational.Rd b/man/model-method-variational.Rd index 4313dcec0..e59c680cb 100644 --- a/man/model-method-variational.Rd +++ b/man/model-method-variational.Rd @@ -335,6 +335,19 @@ fit_optim_w_init_list <- mod$optimize( fit_optim_w_init_list$init() } +} +\references{ +\itemize{ +\item Kucukelbir, A., Tran, D., Ranganath, R., Gelman, A., and Blei, D. M. +(2017). Automatic differentiation variational inference. +\emph{Journal of Machine Learning Research}, 18(14), 1-45. +\item Stan Development Team. Stan Reference Manual (Algorithms section, variational inference): +https://mc-stan.org/docs/reference-manual/ +\item Stan Development Team. Stan documentation: +https://mc-stan.org/users/documentation/ +\item Stan Development Team. CmdStan User's Guide: +https://mc-stan.org/docs/cmdstan-guide/ +} } \seealso{ The CmdStanR website From ed386f60aa547fec77bfa6089c3309ce578feefe Mon Sep 17 00:00:00 2001 From: VisruthSK <67435125+VisruthSK@users.noreply.github.com> Date: Sat, 28 Feb 2026 15:22:34 -0800 Subject: [PATCH 2/3] Removed documentation from see also blocks --- R/model.R | 6 ------ man/model-method-laplace.Rd | 10 ---------- man/model-method-optimize.Rd | 10 ---------- man/model-method-pathfinder.Rd | 10 ---------- man/model-method-sample.Rd | 10 ---------- man/model-method-sample_mpi.Rd | 10 ---------- man/model-method-variational.Rd | 10 ---------- 7 files changed, 66 deletions(-) diff --git a/R/model.R b/R/model.R index b42824df2..068d3e0ab 100644 --- a/R/model.R +++ b/R/model.R @@ -1110,7 +1110,6 @@ CmdStanModel$set("public", name = "format", value = format) #' * Stan Development Team. CmdStan User's Guide: #' https://mc-stan.org/docs/cmdstan-guide/ #' -#' @template seealso-docs #' @inherit cmdstan_model examples #' sample <- function(data = NULL, @@ -1273,7 +1272,6 @@ CmdStanModel$set("public", name = "sample", value = sample) #' * Stan Development Team. CmdStan User's Guide: #' https://mc-stan.org/docs/cmdstan-guide/ #' -#' @template seealso-docs #' @seealso The Stan Math Library's documentation #' ([mc-stan.org/math](https://mc-stan.org/math/)) for more #' details on MPI support in Stan. @@ -1441,7 +1439,6 @@ CmdStanModel$set("public", name = "sample_mpi", value = sample_mpi) #' * Stan Development Team. CmdStan User's Guide: #' https://mc-stan.org/docs/cmdstan-guide/ #' -#' @template seealso-docs #' @inherit cmdstan_model examples #' optimize <- function(data = NULL, @@ -1571,7 +1568,6 @@ CmdStanModel$set("public", name = "optimize", value = optimize) #' * Stan Development Team. CmdStan User's Guide: #' https://mc-stan.org/docs/cmdstan-guide/ #' -#' @template seealso-docs #' @examples #' \dontrun{ #' file <- file.path(cmdstan_path(), "examples/bernoulli/bernoulli.stan") @@ -1747,7 +1743,6 @@ CmdStanModel$set("public", name = "laplace", value = laplace) #' * Stan Development Team. CmdStan User's Guide: #' https://mc-stan.org/docs/cmdstan-guide/ #' -#' @template seealso-docs #' @inherit cmdstan_model examples #' variational <- function(data = NULL, @@ -1898,7 +1893,6 @@ CmdStanModel$set("public", name = "variational", value = variational) #' * Stan Development Team. CmdStan User's Guide: #' https://mc-stan.org/docs/cmdstan-guide/ #' -#' @template seealso-docs #' @inherit cmdstan_model examples #' pathfinder <- function(data = NULL, diff --git a/man/model-method-laplace.Rd b/man/model-method-laplace.Rd index 81663a397..7161731ad 100644 --- a/man/model-method-laplace.Rd +++ b/man/model-method-laplace.Rd @@ -235,16 +235,6 @@ https://mc-stan.org/docs/cmdstan-guide/ } } \seealso{ -The CmdStanR website -(\href{https://mc-stan.org/cmdstanr/}{mc-stan.org/cmdstanr}) for online -documentation and tutorials. - -The Stan and CmdStan documentation: -\itemize{ -\item Stan documentation: \href{https://mc-stan.org/users/documentation/}{mc-stan.org/users/documentation} -\item CmdStan User’s Guide: \href{https://mc-stan.org/docs/cmdstan-guide/}{mc-stan.org/docs/cmdstan-guide} -} - Other CmdStanModel methods: \code{\link{model-method-check_syntax}}, \code{\link{model-method-compile}}, diff --git a/man/model-method-optimize.Rd b/man/model-method-optimize.Rd index 79a3ca9ea..0b9a3c861 100644 --- a/man/model-method-optimize.Rd +++ b/man/model-method-optimize.Rd @@ -360,16 +360,6 @@ https://mc-stan.org/docs/cmdstan-guide/ } } \seealso{ -The CmdStanR website -(\href{https://mc-stan.org/cmdstanr/}{mc-stan.org/cmdstanr}) for online -documentation and tutorials. - -The Stan and CmdStan documentation: -\itemize{ -\item Stan documentation: \href{https://mc-stan.org/users/documentation/}{mc-stan.org/users/documentation} -\item CmdStan User’s Guide: \href{https://mc-stan.org/docs/cmdstan-guide/}{mc-stan.org/docs/cmdstan-guide} -} - Other CmdStanModel methods: \code{\link{model-method-check_syntax}}, \code{\link{model-method-compile}}, diff --git a/man/model-method-pathfinder.Rd b/man/model-method-pathfinder.Rd index 11c3d116c..a43dda65d 100644 --- a/man/model-method-pathfinder.Rd +++ b/man/model-method-pathfinder.Rd @@ -379,16 +379,6 @@ https://mc-stan.org/docs/cmdstan-guide/ } } \seealso{ -The CmdStanR website -(\href{https://mc-stan.org/cmdstanr/}{mc-stan.org/cmdstanr}) for online -documentation and tutorials. - -The Stan and CmdStan documentation: -\itemize{ -\item Stan documentation: \href{https://mc-stan.org/users/documentation/}{mc-stan.org/users/documentation} -\item CmdStan User’s Guide: \href{https://mc-stan.org/docs/cmdstan-guide/}{mc-stan.org/docs/cmdstan-guide} -} - Other CmdStanModel methods: \code{\link{model-method-check_syntax}}, \code{\link{model-method-compile}}, diff --git a/man/model-method-sample.Rd b/man/model-method-sample.Rd index d8d4edfa8..53bef2695 100644 --- a/man/model-method-sample.Rd +++ b/man/model-method-sample.Rd @@ -444,16 +444,6 @@ https://mc-stan.org/docs/cmdstan-guide/ } } \seealso{ -The CmdStanR website -(\href{https://mc-stan.org/cmdstanr/}{mc-stan.org/cmdstanr}) for online -documentation and tutorials. - -The Stan and CmdStan documentation: -\itemize{ -\item Stan documentation: \href{https://mc-stan.org/users/documentation/}{mc-stan.org/users/documentation} -\item CmdStan User’s Guide: \href{https://mc-stan.org/docs/cmdstan-guide/}{mc-stan.org/docs/cmdstan-guide} -} - Other CmdStanModel methods: \code{\link{model-method-check_syntax}}, \code{\link{model-method-compile}}, diff --git a/man/model-method-sample_mpi.Rd b/man/model-method-sample_mpi.Rd index ec3615b21..a6479b2e4 100644 --- a/man/model-method-sample_mpi.Rd +++ b/man/model-method-sample_mpi.Rd @@ -336,16 +336,6 @@ https://mc-stan.org/docs/cmdstan-guide/ } } \seealso{ -The CmdStanR website -(\href{https://mc-stan.org/cmdstanr/}{mc-stan.org/cmdstanr}) for online -documentation and tutorials. - -The Stan and CmdStan documentation: -\itemize{ -\item Stan documentation: \href{https://mc-stan.org/users/documentation/}{mc-stan.org/users/documentation} -\item CmdStan User’s Guide: \href{https://mc-stan.org/docs/cmdstan-guide/}{mc-stan.org/docs/cmdstan-guide} -} - The Stan Math Library's documentation (\href{https://mc-stan.org/math/}{mc-stan.org/math}) for more details on MPI support in Stan. diff --git a/man/model-method-variational.Rd b/man/model-method-variational.Rd index e59c680cb..56101213f 100644 --- a/man/model-method-variational.Rd +++ b/man/model-method-variational.Rd @@ -350,16 +350,6 @@ https://mc-stan.org/docs/cmdstan-guide/ } } \seealso{ -The CmdStanR website -(\href{https://mc-stan.org/cmdstanr/}{mc-stan.org/cmdstanr}) for online -documentation and tutorials. - -The Stan and CmdStan documentation: -\itemize{ -\item Stan documentation: \href{https://mc-stan.org/users/documentation/}{mc-stan.org/users/documentation} -\item CmdStan User’s Guide: \href{https://mc-stan.org/docs/cmdstan-guide/}{mc-stan.org/docs/cmdstan-guide} -} - Other CmdStanModel methods: \code{\link{model-method-check_syntax}}, \code{\link{model-method-compile}}, From b13fb078be6de00c6e2511cdd9f8ed68b9d56be7 Mon Sep 17 00:00:00 2001 From: VisruthSK <67435125+VisruthSK@users.noreply.github.com> Date: Mon, 2 Mar 2026 12:15:44 -0800 Subject: [PATCH 3/3] Generated loo/posterior citations --- R/fit.R | 22 ++++++++++++++++++++++ man/fit-method-loo.Rd | 15 +++++++++++++++ man/fit-method-summary.Rd | 11 +++++++++++ 3 files changed, 48 insertions(+) diff --git a/R/fit.R b/R/fit.R index ca5d6fdba..1c2df276b 100644 --- a/R/fit.R +++ b/R/fit.R @@ -768,6 +768,15 @@ lp_approx <- function() { #' The `$print()` method returns the fitted model object itself (invisibly), #' which is the standard behavior for print methods in \R. #' +#' @references +#' * Vehtari, A., Gelman, A., Simpson, D., Carpenter, B., and Buerkner, P.-C. +#' (2021). Rank-normalization, folding, and localization: An improved R-hat +#' for assessing convergence of MCMC (with discussion). +#' *Bayesian Analysis*, 16(2), 667-718. doi:10.1214/20-BA1221. +#' * Vehtari, A. (2021). Comparison of MCMC effective sample size estimators. +#' https://avehtari.github.io/rhat_ess/ess_comparison.html +#' (for ESS diagnostics such as `ess_bulk` and `ess_tail`). +#' #' @seealso [`CmdStanMCMC`], [`CmdStanMLE`], [`CmdStanLaplace`], [`CmdStanVB`], [`CmdStanGQ`] #' #' @examples @@ -1524,6 +1533,19 @@ CmdStanMCMC <- R6::R6Class( #' @return The object returned by [loo::loo.array()] or #' [loo::loo_moment_match.default()]. #' +#' @references +#' * Vehtari, A., Gelman, A., and Gabry, J. (2017). Practical Bayesian model +#' evaluation using leave-one-out cross-validation and WAIC. +#' *Statistics and Computing*, 27(5), 1413-1432. +#' doi:10.1007/s11222-016-9696-4. +#' * Vehtari, A., Simpson, D., Gelman, A., Yao, Y., and Gabry, J. (2024). +#' Pareto smoothed importance sampling. +#' *Journal of Machine Learning Research*, 25(72), 1-58. +#' * Paananen, T., Piironen, J., Buerkner, P.-C., and Vehtari, A. (2021). +#' Implicitly adaptive importance sampling. +#' *Statistics and Computing*, 31, 16. doi:10.1007/s11222-020-09982-2 +#' (for `moment_match = TRUE`). +#' #' @seealso The \pkg{loo} package website with #' [documentation](https://mc-stan.org/loo/reference/index.html) and #' [vignettes](https://mc-stan.org/loo/articles/). diff --git a/man/fit-method-loo.Rd b/man/fit-method-loo.Rd index d2ccb4718..f9dcb7c9a 100644 --- a/man/fit-method-loo.Rd +++ b/man/fit-method-loo.Rd @@ -60,6 +60,21 @@ loo_result <- fit$loo(cores = 2) print(loo_result) } +} +\references{ +\itemize{ +\item Vehtari, A., Gelman, A., and Gabry, J. (2017). Practical Bayesian model +evaluation using leave-one-out cross-validation and WAIC. +\emph{Statistics and Computing}, 27(5), 1413-1432. +doi:10.1007/s11222-016-9696-4. +\item Vehtari, A., Simpson, D., Gelman, A., Yao, Y., and Gabry, J. (2024). +Pareto smoothed importance sampling. +\emph{Journal of Machine Learning Research}, 25(72), 1-58. +\item Paananen, T., Piironen, J., Buerkner, P.-C., and Vehtari, A. (2021). +Implicitly adaptive importance sampling. +\emph{Statistics and Computing}, 31, 16. doi:10.1007/s11222-020-09982-2 +(for \code{moment_match = TRUE}). +} } \seealso{ The \pkg{loo} package website with diff --git a/man/fit-method-summary.Rd b/man/fit-method-summary.Rd index 787feb2ad..20eee6d4f 100644 --- a/man/fit-method-summary.Rd +++ b/man/fit-method-summary.Rd @@ -73,6 +73,17 @@ fit$print(c("alpha", "beta"), var2 = ~var(as.vector(.x))) } +} +\references{ +\itemize{ +\item Vehtari, A., Gelman, A., Simpson, D., Carpenter, B., and Buerkner, P.-C. +(2021). Rank-normalization, folding, and localization: An improved R-hat +for assessing convergence of MCMC (with discussion). +\emph{Bayesian Analysis}, 16(2), 667-718. doi:10.1214/20-BA1221. +\item Vehtari, A. (2021). Comparison of MCMC effective sample size estimators. +https://avehtari.github.io/rhat_ess/ess_comparison.html +(for ESS diagnostics such as \code{ess_bulk} and \code{ess_tail}). +} } \seealso{ \code{\link{CmdStanMCMC}}, \code{\link{CmdStanMLE}}, \code{\link{CmdStanLaplace}}, \code{\link{CmdStanVB}}, \code{\link{CmdStanGQ}}