pDTGIW {dtgiw} | R Documentation |
This function calculated the CDF of the DTGIW distribution.
pDTGIW(q, alpha, beta, lambda, theta, lower.tail = TRUE, log.p = FALSE)
q |
vector of quantiles. |
alpha |
shape parameter#1. |
beta |
scale parameter. |
lambda |
shape pameter#2. |
theta |
the transmuted parameter. |
lower.tail |
logical; if TRUE (default), probabilities are Prob of X less than or equal to x. Otherwise, Prob of X greater than x. |
log.p |
logical(TRUE or FALSE); if log.p=FALSE, then return the CDF; if log.p=TRUE, then return the natural logarithms of the CDF. |
The PMF of DTGIW distribution is shown in Theorem 1. based on the research paper in references. For discrete random variables, the CDF of DTGIW distribution can be calculated by summation of the PMF.
the cdf of DTGIW distribution
Atchanut Rattanalertnusorn and Sirinapa Aryuyuen (2021). The zero-truncated discrete transmuted generalized inverse Weibull distribution and its applications, Songklanakarin Journal of Science and Technology (SJST), Volume 43 No.4 (July - August 2021), pp. 1140 - 1151. DOI: 10.14456/sjst-psu.2021.149
x <- c(0:10)
pDTGIW(x,3.45,0.7,1.05,0)