EconPapers    
Economics at your fingertips  
 

Computing the noncentral gamma distribution, its inverse and the noncentrality parameter

Izabela Oliveira () and Daniel Ferreira ()

Computational Statistics, 2013, vol. 28, issue 4, 1663-1680

Abstract: The noncentral gamma distribution can be viewed as a generalization of the noncentral chi-squared distribution and it can be expressed as a mixture of a Poisson density function with a incomplete gamma function. The noncentral gamma distribution is not available in free conventional statistical programs. This paper aimed to propose an algorithm for the noncentral gamma by combining the method originally proposed by Benton and Krishnamoorthy (Comput Stat Data Anal 43(2):249–267, 2003 ) for the noncentral distributions with the method of inversion of the distribution function with respect to the noncentrality parameter using Newton–Raphson. The algorithms are available in pseudocode and implemented as R functions. To evaluate the accuracy and speed of computation of the algorithms implemented in R, results of the distribution function, density function, quantiles and noncentrality parameter of the noncentral incomplete gamma and its particular case, the noncentral chi-squared, were obtained for the arguments settings used by Benton and Krishnamoorthy (Comput Stat Data Anal 43(2):249–267, 2003 ) and Chen (J Stat Comput Simul 75(10):813–829, 2005 ). The implemented routines performed well and, in general, were as accurate than other approximations. The R package denoted ncg is available to download on the CRAN-R package repository http://cran.r-project.org/ . Copyright Springer-Verlag Berlin Heidelberg 2013

Keywords: Noncentral chi-squared; Poisson; R; Incomplete gamma function (search for similar items in EconPapers)
Date: 2013
References: View references in EconPapers View complete reference list from CitEc
Citations: View citations in EconPapers (1)

Downloads: (external link)
http://hdl.handle.net/10.1007/s00180-012-0371-8 (text/html)
Access to full text is restricted to subscribers.

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:spr:compst:v:28:y:2013:i:4:p:1663-1680

Ordering information: This journal article can be ordered from
http://www.springer.com/statistics/journal/180/PS2

DOI: 10.1007/s00180-012-0371-8

Access Statistics for this article

Computational Statistics is currently edited by Wataru Sakamoto, Ricardo Cao and Jürgen Symanzik

More articles in Computational Statistics from Springer
Bibliographic data for series maintained by Sonal Shukla () and Springer Nature Abstracting and Indexing ().

 
Page updated 2025-03-20
Handle: RePEc:spr:compst:v:28:y:2013:i:4:p:1663-1680