Density function, distribution function, quantile function, random number generation and hazard rate function for the weighted Lindley distribution with parameters theta and alpha.
where Γ ≤ft(α,θ x
ight) = int_{θ x}^{∞}x^{α -1}e^{-x}dx is the upper incomplete gamma function.
Particular case:α=1 the one-parameter Lindley distribution.
Value
dwlindley gives the density, pwlindley gives the distribution function, qwlindley gives the quantile function, rwlindley generates random deviates and hwlindley gives the hazard rate function.
Invalid arguments will return an error message.
Note
The uniroot function with default arguments is used to find out the quantiles.
[d-h-p-q-r]wlindley are calculated directly from the definitions. rwlindley uses either a two-component mixture of the gamma distributions or the quantile function.
References
Al-Mutairi, D. K., Ghitany, M. E., Kundu, D., (2015). Inferences on stress-strength reliability from weighted Lindley distributions. Communications in Statistics - Theory and Methods, 44, (19), 4096-4113.
Bashir, S., Rasul, M., (2015). Some properties of the weighted Lindley distribution. EPRA Internation Journal of Economic and Business Review, 3, (8), 11-17.
Ghitany, M. E., Alqallaf, F., Al-Mutairi, D. K. and Husain, H. A., (2011). A two-parameter weighted Lindley distribution and its applications to survival data. Mathematics and Computers in Simulation, 81, (6), 1190-1201.
Mazucheli, J., Louzada, F., Ghitany, M. E., (2013). Comparison of estimation methods for the parameters of the weighted Lindley distribution. Applied Mathematics and Computation, 220, 463-471.
Mazucheli, J., Coelho-Barros, E. A. and Achcar, J. (2016). An alternative reparametrization on the weighted Lindley distribution. Pesquisa Operacional, (to appear).