pMPo: Modified Power Distribution

pMPoR Documentation

Modified Power Distribution

Description

Cumulative distribution function of MPo distribution for any base distribution

Usage

pMPo(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

Examples

pMPo(q=2,par=list(a=1,rate=3),distr="exp")
pMPo(c(2,3,4),par=c(scale=2,shape=2,a=3),distr="weibull")

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