mposterior {evdbayes} | R Documentation |
Maximizing Posterior Distributions
Description
Maximizing prior and posterior distibutions for the location (with optional trend), scale and shape parameters under the gev, order statistics or point process models.
Usage
mposterior(init, prior, lh = c("none", "gev", "gpd", "pp", "os"),
method = c("Nelder-Mead", "BFGS", "CG", "L-BFGS-B", "SANN"),
lower = -Inf, upper = Inf, control = list(), hessian = FALSE, ...)
Arguments
init |
Numeric vector of length three/four, giving the initial values for the optimization. |
prior |
An object of class |
lh |
A character string specifying the likelihood; either
|
method |
The method to be used. See |
lower , upper |
Bounds on the variables for the |
control |
A list of control parameters. See |
hessian |
Logical. See |
... |
Arguments to the likelihood. Should include |
Value
A list. See optim
.