Inverse Cumulative Density Function of the TPXG Distribution {TPXG} | R Documentation |
Inverse Cumulative Density Function of the TPXG Distribution
Description
Computes the inverse cumulative density function of the Two-Parameter Xgamma distribution for given probabilities.
Usage
qtpxg(p, alpha = 1, theta = 1 , tol = 1e-5)
Arguments
p |
A numeric vector containing values in [0,1]. |
alpha |
A positive real number. |
theta |
A positive real number |
tol |
A positive real number specifying the tolerance level for the convergence of the Newton-Raphson algorithm. |
Details
This function uses the Newton-Raphson algorithm in order to estimate the inverse cumulative density function.
Value
A numeric vector containing the inverse cumulative density function values of the TPXG 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
"Sen, S., Chandra, N. and Maiti, S. S. (2018). On properties and applications of a two-parameter XGamma distribution. Journal of Statistical Theory and Applications, 17(4): 674–685."
See Also
Examples
p <- runif(100)
qtpxg(p, 1, 1)