Maximum Likelihood Estimation of TPPXG Distribution | R Documentation |
Estimation of \alpha
and \theta
parameters of Two Parameter Poisson Xgamma distribution using maximum likelihood.
tppxg.mle(x)
x |
A numeric vector containg non-negative integer values. |
The log-likelihood function of the TPPXG distribution is given by:
\ln L(\alpha,\theta)=2n\ln \theta-n\ln(\alpha+\theta)-\left(3n+\sum_{i=1}^n x_i\right)\ln(1+\theta)+
\sum_{i=1}^n\ln \left((1+\theta)^2+\frac{\alpha \theta}{2}(x_i+1)(x_i+2)\right)
A named numeric vector containing the estimated values for \alpha
, \theta
and maximum likelihood.
Nikolaos Kontemeniotis.
R implementation and documentation: Nikolaos Kontemeniotis kontemeniotisn@gmail.com and Michail Tsagris mtsagris@uoc.gr.
"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."
tppxg.reg
x <- rtppxg(1000)
tppxg.mle(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.