Affiliation:
1. Departamento de Enfermería, Facultad de Ciencias de la Salud y de los Alimentos, Universidad del Bío-Bío, Chillán 3800708, Chile
Abstract
Simulating the probability of type I error is a powerful statistical tool that allows confirming if the statistical test achieves the established nominal level. However, its computational implementation has the drawback of significantly long execution times. Therefore, this article analyzes the performance of two parallel implementations (parRapply and boot) which significantly reduce the execution time of simulations of type I error probability for a goodness-of-fit test for the bivariate Poisson distribution. The results obtained demonstrate how the parallelization strategies accelerate the simulations, reducing the time by 50% to 90% when using 2 to 12 processors running in parallel. This reduction is graphically evidenced as the execution time of the analyzed parallel versions fits almost perfectly (R2≈0.999) to the power model y=apb, where p is the number of processors used, and a>0 and b<0 are the constants of the model. Furthermore, it is shown that the parallelization strategies used scale with an increasing number of processors. All algorithms were implemented in the R programming language, and their code is included at the end of this article.
Funder
Universidad del Bío-Bío
Dirección de Investigación y Creación Artística
Vicerrectoría Académica
Reference21 articles.
1. Testing for the bivariate Poisson distribution;Metrika,2014
2. An adaptable parallel algorithm for the direct numerical simulation of incompressible turbulent flows using a Fourier spectral/hp element method and MPI virtual topologies;Bolis;Comput. Phys. Commun.,2016
3. An easy-to-implement parallel algorithm to simulate complex instabilities in three-dimensional (fractional) hyperbolic systems;Comput. Phys. Commun.,2020
4. A parallel algorithm for ridge-penalized estimation of the multivariate exponential family from data of mixed types;Laman;Stat. Comput.,2021
5. Yang, D., Li, M., and Liu, H. (2022). A Parallel Computing Algorithm for the Emergency-Oriented Atmospheric Dispersion Model CALPUFF. Atmosphere, 13.