modeMAP: Modified Alpha Power Distribution

View source: R/modeMAP.R

modeMAPR Documentation

Modified Alpha Power Distribution

Description

Mode of MAP distribution by direct maximization of log(g(x))

Usage

modeMAP(start=0,parm,distr,lower=0,upper)

Arguments

start

Initial values for the parameters to be maximized over.

parm

named vector or list of the distribution parameters.

lower

the lower end point of the interval to be searched.

distr

a character string specifying the base distribution (for example, "exp" for exponential base distribution).

upper

the upper end point of the interval to be searched.

Value

Approximation of the Mode of MAP distribution

Author(s)

Mohamed Hussein

References

Hussein, M.; Elsayed, H.; Cordeiro, G.M. A New Family of Continuous Distributions: Properties and Estimation. Symmetry 2022, 14, 276. https://doi.org/10.3390/sym14020276

Examples

modeMAP(parm=c(alpha=2,beta=2,rate=0.2),distr="exp",upper=1000)
modeMAP(parm=c(alpha=3,beta=2,rate=1),distr="exp",upper=1000)

MHussein-S/MAPfit documentation built on June 30, 2023, 2:02 p.m.