Abstract
Here, we present an automatic data generation method which is fully computer-based for a variate with an absolutely continuous probability density function (pdf) exactly computable. The method uses computer-based on calculations of integrals (trapezoidal and/or the Monte-carlo method) for approximating the cumulative distribution function and next, the dichotomy algorithm to get the quantile function from which we obtain data from . We apply the method to generate gig(a,b,c) data. The comparison with analogues, as in R Software is very successful. The method may work where the rejection method fails because of a lack of pdf bound which can be generated. The method might be slower but the area of more and more powerful computer is favorable to it. The implementation for gamma and/or gig laws in R codes are presented.
Dans ce papier, nous proposons une méthode automatique de génération aléatoire de données basée sur l’évaluation des intégrales par la méthode trapezoidale ou par la méthode Monte-Carlo et l’algorithme de dichotomie pour le calcul des fonctions des quantiles. Cette méthode à été utilisée pour la génération de données gamma et gig.
Citation
Gorgui Gning. Aladji Babacar Niang. Soumaila Dembele. Gane Samb Lo. "A complete computer-based approach for data generation patterning to a pdf in and application to gamma and gig data." Afr. J. Appl. Stat. 9 (2) 1331 - 1367, August 2023. https://doi.org/10.16929/ajas/2022.1331.271
Information