pMAP: Modified Alpha Power Distribution

pMAPR Documentation

Modified Alpha Power Distribution

Description

Cumulative distribution function of MAP distribution for any base distribution

Usage

pMAP(q,par,distr,lower.tail = TRUE, log.p = FALSE)

Arguments

q

vector of quantiles

par

named vector or list of the distribution parameters

distr

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

lower.tail

logical; if TRUE, probability is P(X <= x), otherwise, P(X > x).

log.p

logical; if TRUE, probabilitiy p is given as log(p).

Value

An object of the same length as q, giving the cdf values computed at q

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

pMAP(q=2,par=list(alpha=1,beta=1.5,rate=3),distr="exp")
pMAP(c(2,3,4),par=c(scale=2,shape=2,alpha=3,beta=2),distr="weibull")

mhsayed2021/MAPfit documentation built on July 1, 2023, 9:19 p.m.