Abstract
Several researchers have addressed the problem of testing the homogeneity of the scale parameters of several independent inverse Gaussian distributions based on the likelihood ratio test. However, only approximations of the distribution function of the test statistic are available in the literature. In this note, we present the exact distribution of the likelihood ratio test statistic for testing the equality of the scale parameters of several independent inverse Gaussian populations in a closed form. To this end, we apply the Mellin inverse transform and the Jacobi polynomial expansion to the moments of the likelihood ratio test statistic. We also propose an approximate method based on the Jacobi polynomial expansion. Finally, we apply an accurate numerical method, which is based on the inverse of characteristic function, to obtain a near-exact approximation of the likelihood ratio test statistic distribution. The proposed methods are illustrated via numerical and real data examples.
Similar content being viewed by others
References
Alam K, Paul S (2015) Testing equality of scale parameters of two Weibull distributions in the presence of unequal shape parameters ACTA et Commentationes Universitatis Tartuensis de. Mathematica 19:11–26. https://doi.org/10.12697/ACUTM.2015.19.02
Alexits G (1961) Chapter I-fundamental ideas, examples of series of orthogonal functions. In: Convergence Problems of orthogonal series, vol 20. Pergamon, pp 13, 46. https://doi.org/10.1016/b978-1-4831-9774-6.50006-x
Balakrishna N, Rahul T (2014) Inverse Gaussian distribution for modeling conditional durations in finance. Commun Stat Simul Comput 43:476–486. https://doi.org/10.1080/03610918.2012.705938
Billingsley P (1995) Probability and measure, 3rd edn. Wiley, New York
Boik RJ (1993) Algorithm AS 284: null distribution of a statistic for testing sphericity and additivity—a Jacobi polynomial expansion. Appl Stat 42:567. https://doi.org/10.2307/2986335
Bolkhovskaya OV, Maltsev AA, Presti L, Sellone F (2002) Approximation of distribution function of a generalized likelihood ratio for the detection of spatial partially coherent signals in the short sample case. J Radio Electron 12:8
Chang M, You X, Wen M (2012) Testing the homogeneity of inverse Gaussian scale-like parameters. Stat Prob Lett 82:1755–1760. https://doi.org/10.1016/j.spl.2012.05.013
Chhikara RS, Folks JL (1989) The inverse Gaussian distribution. In. Marcel Dekker, New York, p 94
Davies RB (1980) Algorithm AS 155: the distribution of a linear combination of χ2 random variables. J R Stat Soc Ser C (Applied Statistics) 29:323–333. https://doi.org/10.2307/2346911
Derksen RW, Sullivan PJ (1990) Moment approximations for probability density functions. Combust Flame 81:378–391. https://doi.org/10.1016/0010-2180(90)90033-N
Doksum KA, Hóyland A (1992) Models for variable-stress accelerated life testing experiments based on Wiener processes and the inverse Gaussian distribution. Technometrics 34:74–82. https://doi.org/10.2307/1269554
Durham SD, Padgett WJ (1997) Cumulative damage models for system failure with application to carbon fibers and composites. Technometrics 39:34–44. https://doi.org/10.1080/00401706.1997.10485437
Fries A, Bhattacharyya GK (1983) Analysis of two-factor experiments under an inverse Gaussian model. J Am Stat Assoc 78:820–826. https://doi.org/10.2307/2288191
Gil-Pelaez J (1951) Note on the inversion theorem. Biometrika 38:481–482. https://doi.org/10.2307/2332598
Gökpınar E (2018) Standardized log-likelihood ratio test for the equality of inverse Gaussian scale parameters. Iran J Sci Technol Trans A Sci. https://doi.org/10.1007/s40995-018-0617-6
Gokpinar EY, Polat E, Gokpinar F, Gunay S (2013) A new computational approach for testing equality of inverse gaussian means under heterogeneity. Hacettepe J Math Stat 42:581–590
Gul HH, Gokpinar E, Ebegil M, Özdemir YA, Gokpinar F (2019) A new test for the homogeneity of inverse Gaussian scale parameters based on computational approach test. Sains Malaysiana 48:1777–1785. https://doi.org/10.17576/jsm-2019-4808-25
Kalinin VM (1971) Investigations in classical problems of probability theory and mathematical statistics. In: Seminars in mathematics, vol 13, 1 edn. Consultants Bureau, New York. https://doi.org/10.1007/978-1-4684-8211-9
Kang SG, Kim DH, Lee WD (2015) Default Bayesian testing equality of scale parameters in several inverse Gaussian distributions. J Korean Data Inf Sci Soc 26:739–748. https://doi.org/10.7465/jkdi.2015.26.3.739
Kharrati-Kopaei M, Malekzadeh A (2019) On the exact distribution of the likelihood ratio test for testing the homogeneity of scale parameters of several two-parameter exponential distributions: complete and censored samples. Metrika. https://doi.org/10.1007/s00184-018-00704-3
Leonenko NN, Petherick S, Sikorskii A (2012) A normal inverse Gaussian model for a risky asset with dependence. Stat Prob Lett 82:109–115. https://doi.org/10.1016/j.spl.2011.09.007
Liu X, He D (2013) Testing homogeneity of inverse Gaussian scale parameters based on generalized likelihood ratio. Commun Stat Simul Comput 42:382–392. https://doi.org/10.1080/03610918.2011.650257
Luke Y (1969) The special functions and their approximations. In, vol 53A. first edn. Academic Press, p 283
Nagarsenker BN (1976) Exact non-null distribution of the likelihood ratio criteria for covariance matrix. Can J Stat La Revue Canadienne de Statistique 4:237–254. https://doi.org/10.2307/3315139
Nair US (1940) Application of factorial series in the study of distribution laws in statistics. Sankhya 5:175
Ostle B (1963) Statistics in research. Iowa State University Press, Ames, p 358
Provost SB (2005) Moment-based density approximants. Math J 9:727–756
Reinking JT (2002) Orthogonal series representation of probability density and distribution functions. Math J 8:473–483
Sadooghi-Alvandi SM, Malekzadeh A (2013) A note on testing homogeneity of the scale parameters of several inverse Gaussian distributions. Stat Prob Lett 83:1844–1848. https://doi.org/10.1016/j.spl.2013.04.019
Saleh AA, Al-Radady A (2015) Statistical analysis of factorial experiments for quality engineering and similar cases under inverse Gaussian model. Life Sci J 12:20–35. https://doi.org/10.7537/marslsj120315.05
Seshadri V (1999) The inverse Gaussian distribution, statistical theory and applications. In: Lecture notes in statistics, vol 137. Springer, New York, p 188. https://doi.org/10.1007/978-1-4612-1456-4
Shuster JJ, Miura C (1972) Two-way analysis of reciprocals. Biometrika 59:478–481. https://doi.org/10.2307/2334596
Šimková L (2017) CharFun: NUMERICAL computation cumulative distribution function and probability density function from characteristic function. R package version 0.1.0
Takagi K, Kumagai S, Matsunaga C, Kusaka Y (1997) Application of inverse Gaussian distribution to occupational exposure data. Ann Occup Hyg 41:505–514. https://doi.org/10.1016/S0003-4878(97)00015-X
Whitmore GA (1975) The inverse Gaussian distribution as a model of hospital stay. Health Serv Res 10:297–302
Wise ME (1975) Skew distributions in biomedicine including some with negative powers of time. In, Dordrecht, 1975. A Modern course on statistical distributions in scientific work. Springer Netherlands, pp 241–262
Witkovsky V (2016) Numerical inversion of a characteristic function: An alternative tool to form the probability distribution of output quantity in linear measurement models. ACTA IMEKO 5:32–44. https://doi.org/10.21014/acta_imeko.v5i3.382
Witkovský V (2001) On the exact computation of the density and of the quantiles of linear combinations of t and F random variables. J Stat Plan Infer 94:1–13. https://doi.org/10.1016/S0378-3758(00)00208-1
Witkovsky V, Wimmer G, Duby T (2017) Computing the aggregate loss distribution based on numerical inversion of the compound empirical characteristic function of frequency and severity arXiv:170108299v1[statCO]
Wong ACM (2016) Testing homogeneity of inverse Gaussian scale-like parameters: a saddlepoint approach. Stat Pap 57:319–327. https://doi.org/10.1007/s00362-014-0653-z
Acknowledgements
The author would like to acknowledge the Research Council of Shiraz University. The author also would like to thank referees for their constructive comments.
Author information
Authors and Affiliations
Corresponding author
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Electronic supplementary material
Below is the link to the electronic supplementary material.
Appendix: proofs
Appendix: proofs
Proof of Lemma 1
It is well known that \( W_{i} = \lambda_{i} V_{i} \) has a Chi square distribution with \( n_{i} - 1 \) degrees of freedom. Note that the \( LR \) can be rewritten as
If \( \varvec{Z} = \left( {Z_{1} , \ldots ,Z_{k} } \right) = \left( {\frac{{W_{1} }}{{\mathop \sum \nolimits_{i = 1}^{k} w_{i} }}, \ldots ,\frac{{W_{k} }}{{\mathop \sum \nolimits_{i = 1}^{k} W_{i} }}} \right) \), it is known that \( \varvec{Z} \) has a Dirichlet distribution with parameter \( \left( {n_{1}^{*} , \ldots ,n_{k}^{*} } \right) \). It can be verified that
has the following density function
see Kharrati-Kopaei and Malekzadeh (2019). Therefore, the \( h \)th moment of \( L \) under \( H_{1} \) is
for detail, see Kharrati-Kopaei and Malekzadeh (2019). Note that \( E_{{H_{1} }} \left( {L^{h} } \right) \) reduces to \( E_{{H_{0} }} \left( {L^{h} } \right) \) under \( H_{0} \) since \( \mathop \sum \nolimits_{i = 1}^{k} D_{i} = 1 \).
Proof of Theorem 1
Let \( f_{L} \left( . \right) \) denote the PDF of \( L \). If one can obtain \( f_{L} \left( . \right) \) in a closed form, then \( F_{L} \left( . \right) \) is obtained directly. The proof is similar to that of Kharrati-Kopaei and Malekzadeh (2019), and hence we present a sketch of the proof. By applying the MIT to \( E_{{H_{0} }} \left( {L^{h} } \right) \) and changing variable \( h + N/2 = t \), we have
where \( \phi \left( t \right) = \left( {\mathop \prod \nolimits_{i = 1}^{k} \varGamma \left( {f_{i} t - 1/2} \right)f_{i}^{{ - f_{i} t}} } \right)/\varGamma \left( {t - k/2} \right) \). One can expand \( \phi \left( t \right) \) as
where \( v = \left( {k - 1} \right)/2 \), and \( \beta_{j} \) s are obtained recursively as \( \beta_{j} = \frac{1}{j}\mathop \sum \nolimits_{s = 1}^{j} s \alpha_{s} \beta_{j - s} \) with \( \beta_{0} = 1 \) in which \( \alpha_{s} = \frac{{\left( { - 1} \right)^{s} }}{{s\left( {s + 1} \right)}}\left\{ {B_{s + 1} \left( { - k} \right) - B_{s + 1} \left( { - 1} \right)\mathop \sum \limits_{i = 1}^{k} f_{i}^{ - s} } \right\} \) where \( B_{r} \left( a \right) \) is the Bernoulli polynomial of degree \( r \) and order one; see Kalinin (1971), Nagarsenker (1976). Note that \( \left( {2\pi } \right)^{ - v} \left( {\mathop \prod \nolimits_{i = 1}^{k} f_{i} } \right)\phi \left( t \right) \) can be expanded as a factorial series of the form
see Nair (1940). The coefficient \( R_{r} \) can be obtained by equating the coefficients of the two series in (A.1) and (A.2). In this regard, note that \( \log \left( {\varGamma \left( t \right)/\varGamma \left( {t + r + v} \right)} \right) \) can be expanded as \( - \left( {v + n} \right)\log \left( t \right) + \mathop \sum \nolimits_{j = 1}^{\infty } A_{r,j} /t^{j} \) where \( A_{r,j} = \frac{{\left( { - 1} \right)^{j - 1} }}{{j\left( {j + 1} \right)}}\left\{ {B_{j + 1} \left( 0 \right) - B_{j + 1} \left( {v + r} \right)} \right\}. \) Therefore, we can write \( \frac{\varGamma \left( t \right)}{{\varGamma \left( {t + r + v} \right)}} = t^{{ - \left( {v + r} \right)}} \left\{ {1 + \mathop \sum \nolimits_{j = 1}^{\infty } \frac{{C_{r,j} }}{{t^{j} }}} \right\} \) where \( C_{r,j} = \frac{1}{j}\mathop \sum \nolimits_{q = 1}^{j} q A_{r,q} C_{r,j - q} \) with \( C_{r,0} = 1 \). Consequently, the coefficients \( R_{r} \) are obtained recursively by \( \mathop \sum \nolimits_{j = 0}^{i} R_{i - j} C_{i - j,j} = \beta_{i} \) with \( R_{0} = 1 \). Now, \( f_{L} \left( x \right) \) can be obtained by integrating term by term of (A.2) since a factorial series is uniformly convergent in a half-plane; see Nagarsenker (1976). Therefore, we have
However, the Mellin transform of \( \varGamma \left( t \right)/\varGamma \left( {t + r + v} \right) \) is \( \left( {1 - x} \right)^{v + r - 1} /\varGamma \left( {v + r} \right) \); see Nagarsenker (1976). This completes the proof.
Proof of Theorem 2
Note that the support of \( L \) is \( \left( {0, 1} \right) \) since \( LR \) is the LRT statistic. Therefore, the Jacobi polynomial expansion of \( F_{L} \left( x \right) \) can be expressed as
where \( \varGamma \left( . \right) \) is the gamma function and \( F_{{{\text{Beta}}\left( {\nu_{1} ,\nu_{2} } \right)}} \left( . \right) \) denotes the distribution function of a Beta variable with parameters \( \nu_{1} \) and \( \nu_{2} \) and
see Derksen and Sullivan (1990), Kharrati-Kopaei and Malekzadeh (2019), Luke (1969), Provost (2005), Reinking (2002). For the convergence of the JPE, see Alexits (1961). The parameters \( p \) and q are usually determined by matching the moments of the Beta \( \left( {p,q} \right) \) random variable and the statistic \( L \); see Boik (1993), Bolkhovskaya et al. (2002). By matching the first two moments of Beta \( \left( {p,q} \right) \) random variable and \( L \), we have
In this case, it can be easily verified that \( c_{0} = 1 \) and \( c_{1} = c_{2} = 0 \). It completes the proof.
Proof of Lemma 2
Note that \( Y = - 2\log \left( {LR} \right) = \mathop \sum \nolimits_{j = 1}^{k} n_{j} \log \left( {f_{j} } \right) - \mathop \sum \nolimits_{j = 1}^{k} n_{j} { \log }\left( {V_{j} /V} \right) \) where \( \left( {V_{1} /V, \ldots ,V_{k} /V} \right) \) has a Dirichlet distribution with parameter \( \left( {n_{1}^{*} , \ldots ,n_{k}^{*} } \right) \) under \( H_{0} \). Therefore,
This completes the proof.
Rights and permissions
About this article
Cite this article
Kharrati-Kopaei, M. On the exact distribution of the likelihood ratio test statistic for testing the homogeneity of the scale parameters of several inverse Gaussian distributions. Comput Stat 36, 1123–1138 (2021). https://doi.org/10.1007/s00180-020-01053-4
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00180-020-01053-4