mposterior             package:evdbayes             R Documentation

_M_a_x_i_m_i_z_i_n_g _P_o_s_t_e_r_i_o_r _D_i_s_t_r_i_b_u_t_i_o_n_s

_D_e_s_c_r_i_p_t_i_o_n:

     Maximizing prior and posterior distibutions for the location (with
     optional trend), scale and shape parameters under the gev, order
     statistics or point process models.

_U_s_a_g_e:

     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, ...)

_A_r_g_u_m_e_n_t_s:

    init: Numeric vector of length three/four, giving the initial
          values for the optimization.

   prior: An object of class '"evprior"', constructed using
          'prior.prob', 'prior.quant' or 'prior.norm'.

      lh: A character string specifying the likelihood; either '"gev"'
          for gev, '"gpd"' for gpd, '"os"' for order statistics, '"pp"'
          for Poisson process or '"none"' for none (the default). The
          latter can be used to maximize the prior distribution.

  method: The method to be used. See 'optim'.

lower, upper: Bounds on the variables for the '"L-BFGS-B"' method. See
          'optim'.

 control: A list of control parameters. See 'optim'.

 hessian: Logical. See 'optim'.

     ...: Arguments to the likelihood. Should include 'data' unless
          'lh' is '"none"'. Should also include 'thresh' and 'noy' if
          'lh' is '"pp"'. Should include the vector 'trend' if a linear
          trend on the location is implemented. See 'pplik' for
          details.

_V_a_l_u_e:

     A list. See 'optim'.

_S_e_e _A_l_s_o:

     'pplik', 'posterior', 'prior.prob'

