Gorgui Gning, Aladji Babacar Niang, Soumaila Dembele, G. Lo
{"title":"A complete computer-based approach for data generation patterning to a pdf in \\(\\mathbb{R}\\) and application to gamma and gig data","authors":"Gorgui Gning, Aladji Babacar Niang, Soumaila Dembele, G. Lo","doi":"10.16929/ajas/2022.1331.271","DOIUrl":null,"url":null,"abstract":"Here, we present an automatic data generation method which is fully computer-based for a variate $X$ with an absolutely continuous probability density function (pdf) $f$ 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 \\(f\\). We apply the method to generate gig(a,b,c) data. The comparison with analogues, as in \\textbf{R} Software is very successful. The method may work where the rejection method fails because of a lack of \\textit{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<\\i> and/or gig<\\i> laws in R codes are presented.","PeriodicalId":332314,"journal":{"name":"African Journal of Applied Statistics","volume":"63 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-07-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"African Journal of Applied Statistics","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.16929/ajas/2022.1331.271","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
Here, we present an automatic data generation method which is fully computer-based for a variate $X$ with an absolutely continuous probability density function (pdf) $f$ 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 \(f\). We apply the method to generate gig(a,b,c) data. The comparison with analogues, as in \textbf{R} Software is very successful. The method may work where the rejection method fails because of a lack of \textit{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<\i> and/or gig<\i> laws in R codes are presented.