Inverse Cumulative Mass Function of the TPPXG Distribution {TPXG}R Documentation

Inverse Cumulative Mass Function of the TPPXG Distribution

Description

Computes the inverse cumulative mass function (quantile function) of the Two Parameter Poisson Xgamma distribution for given probability values.

Usage

qtppxg(p, alpha = 1, theta = 1, tol = 1e-5)

Arguments

p

A numeric vector containg 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 mass function.

Value

A numeric vector containing the inverse cumulative mass function of the TPPXG distribution at the given values of p.

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

dtppxg,ptppxg,rtppxg

Examples

p <- runif(100)
qtppxg(p, 1, 1)

[Package TPXG version 1.0 Index]