dMAP: Modified Alpha Power Distribution

dMAPR Documentation

Modified Alpha Power Distribution

Description

Probability density function of MAP distribution for any base distribution

Usage

dMAP(x,par,distr, log = FALSE)

Arguments

x

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

log

logical; if TRUE, the values of log(pdf), at x, are given.

Value

An object of the same length as x, giving the pdf values computed at x

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

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

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