modeMPo: Modified Power Distribution

View source: R/modeMPo.R

modeMPoR Documentation

Modified Power Distribution

Description

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

Usage

modeMPo(start=0,parm,lower=0,distr,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 MPo distribution

Author(s)

Mohamed Hussein

Examples

modeMPo(parm=c(a=2,rate=0.2),distr="exp",upper=1000)
modeMPo(parm=c(a=3,rate=1),distr="exp",upper=1000)

MHussein-S/MPofit documentation built on June 14, 2022, 5:16 p.m.