tpmd {new.dist} | R Documentation |
Power Muth Distribution
Description
Density, distribution function, quantile function and random generation for
the Power Muth distribution with parameters shape
and scale
.
Usage
dtpmd(x, beta = 1, alpha, log = FALSE)
ptpmd(q, beta = 1, alpha, lower.tail = TRUE, log.p = FALSE)
qtpmd(p, beta = 1, alpha, lower.tail = TRUE)
rtpmd(n, beta = 1, alpha)
Arguments
x , q |
vector of quantiles. |
beta |
a scale parameter. |
alpha |
a shape parameter. |
log , log.p |
logical; if TRUE, probabilities p are given as log(p). |
lower.tail |
logical; if TRUE (default), probabilities are
|
p |
vector of probabilities. |
n |
number of observations. If |
Details
The Power Muth distribution with shape
parameter and
scale
parameter has density
where
Value
dtpmd
gives the density, ptpmd
gives the distribution
function, qtpmd
gives the quantile function and rtpmd
generates
random deviates.
Note
Hazard function;
References
Jodra, P., Gomez, H. W., Jimenez-Gamero, M. D., & Alba-Fernandez, M. V. (2017). The power Muth distribution . Mathematical Modelling and Analysis, 22(2), 186-201.
Examples
library(new.dist)
dtpmd(1, beta=2, alpha=3)
ptpmd(1,beta=2,alpha=3)
qtpmd(.5,beta=2,alpha=3)
rtpmd(10,beta=2,alpha=3)