@@ -1808,12 +1808,11 @@ CmdStanMCMC$set("public", name = "num_chains", value = num_chains)
18081808# '
18091809# ' @description A `CmdStanMLE` object is the fitted model object returned by the
18101810# ' [`$optimize()`][model-method-optimize] method of a [`CmdStanModel`] object.
1811- # ' The name "MLE" may be somewhat misleading because the `$optimize()` method
1812- # ' can compute either a penalized maximum likelihood estimate or a maximum a
1813- # ' posteriori estimate, depending on the value of the `jacobian` argument when
1814- # ' the model is fit. Additionally, for models without constrained parameters,
1815- # ' the penalized MLE and the posterior mode are equivalent, as the Jacobian
1816- # ' adjustment has no effect.
1811+ # ' This object will either contain a penalized maximum likelihood estimate
1812+ # ' (MLE) or a maximum a posteriori estimate (MAP), depending on the value of
1813+ # ' the `jacobian` argument when the model is fit (and whether the model has
1814+ # ' constrained parameters). See [`$optimize()`][model-method-optimize] and the
1815+ # ' CmdStan User's Guide for more details.
18171816# '
18181817# ' @section Methods: `CmdStanMLE` objects have the following associated methods,
18191818# ' all of which have their own (linked) documentation pages.
@@ -1894,12 +1893,11 @@ CmdStanMLE <- R6::R6Class(
18941893# ' which is available via the [`$lp()`][fit-method-lp] method and also
18951894# ' included in the [`$draws()`][fit-method-draws] method.
18961895# '
1897- # ' The name `mle` may be somewhat misleading because the `$optimize()` method
1898- # ' can compute either a penalized maximum likelihood estimate or a maximum a
1899- # ' posteriori estimate, depending on the value of the `jacobian` argument when
1900- # ' the model is fit. Additionally, for models without constrained parameters,
1901- # ' the penalized MLE and the posterior mode are equivalent, as the Jacobian
1902- # ' adjustment has no effect.
1896+ # ' For models with constrained parameters that are fit with `jacobian=TRUE`,
1897+ # ' the `$mle()` method actually returns the maximum a posteriori (MAP)
1898+ # ' estimate (posterior mode) rather than the MLE. See
1899+ # ' [`$optimize()`][model-method-optimize] and the CmdStan User's Guide for
1900+ # ' more details.
19031901# '
19041902# ' @param variables (character vector) The variables (parameters, transformed
19051903# ' parameters, and generated quantities) to include. If NULL (the default)
0 commit comments