Journal of Computational and Applied Mathematics2022,Vol.40420.DOI:10.1016/j.cam.2021.113394

On the distribution of the likelihood ratio test of independence for random sample size - a computational approach

Coelho, Carlos A. Jorge, Nadab Nunes, Celia Marques, Filipe J.
Journal of Computational and Applied Mathematics2022,Vol.40420.DOI:10.1016/j.cam.2021.113394

On the distribution of the likelihood ratio test of independence for random sample size - a computational approach

Coelho, Carlos A. 1Jorge, Nadab 2Nunes, Celia 2Marques, Filipe J.1
扫码查看

作者信息

  • 1. Univ Nova Lisboa
  • 2. Univ Beira Interior
  • 折叠

Abstract

The test of independence of two groups of variables is addressed in the case where the sample size N is considered randomly distributed. This assumption may lead to a more realist testing procedure since in many situations the sample size is not known in advance. Three sample schemes are considered where N may have a Poisson, Binomial or Hypergeometric distribution. For the case of two groups with p(1) and p(2) variables, it is shown that when either p(1) or p(2) (or both) are even the exact distribution corresponds to a finite or an infinite mixture of Exponentiated Generalized Integer Gamma distributions. In these cases a computational module is made available for the cumulative distribution function of the test statistic. When both p(1) and p(2) are odd, the exact distribution of the test statistic may be represented as a finite or an infinite mixture of products of independent Beta random variables whose density and cumulative distribution functions do not have a manageable closed form. Therefore, a computational approach for the evaluation of the cumulative distribution function is provided based on a numerical inversion formula originally developed for Laplace transforms. When the exact distribution is represented through infinite mixtures, an upper bound for the error of truncation of the cumulative distribution function is provided. Numerical studies are developed in order to analyze the precision of the results and the accuracy of the upper bounds proposed. A simulation study is provided in order to assess the power of the test when the sample size N is considered randomly distributed. The results are compared with the ones obtained for the fixed sample size case. (C) 2021 Elsevier B.V. All rights reserved.

Key words

Characteristic function inversion/Characteritic functions/Exact closed forms/Series expansions/Mixtures/INTEGER GAMMA-DISTRIBUTION/F-TESTS/PRODUCT/STATISTICS/NUMBER/POWERS/MODELS

引用本文复制引用

出版年

2022
Journal of Computational and Applied Mathematics

Journal of Computational and Applied Mathematics

EISCI
ISSN:0377-0427
参考文献量24
段落导航相关论文