Cumulative Mass Function of the TPPXG Distribution {TPXG} | R Documentation |
Cumulative Mass Function of the TPPXG Distribution
Description
Computes the cumulative mass function of the Two Parameter Poisson Xgamma distribution for given values.
Usage
ptppxg(x , alpha = 1, theta = 1)
Arguments
x |
A numeric vector containg non-negative integer values. |
alpha |
A positive real number. |
theta |
A positive real number. |
Details
The cumulative distribution function of the Two Parameter Poisson Xgamma is given by:
F(x)=1-\frac{1}{2(\alpha+\theta)(1+\theta)^{x+3}}\left((x^2+5x+6)\alpha \theta^2+2(x+3)\alpha \theta
+2(1+\theta)^2+2\alpha \right)
Value
A numeric vector containing the cumulative mass function of the TPPXG distribution for each of the given values of x.
Author(s)
Nikolaos Kontemeniotis.
R implementation and documentation: Nikolaos Kontemeniotis kontemeniotisn@gmail.com and Michail Tsagris mtsagris@uoc.gr.
References
"Wani, M. A., Ahmad, P. B., Para, B. A. and Elah, N. (2023). A new regression model for count data with applications to health care data. International Journal of Data Science and Analytics."
See Also
Examples
x <- rtppxg(100)
ptppxg(x, 1, 1)