Cheng C.-WHung Y.-CBalakrishnan N.YING-CHAO HUNG2022-11-112022-11-11201401679473https://www.scopus.com/inward/record.uri?eid=2-s2.0-84889090792&doi=10.1016%2fj.csda.2013.02.019&partnerID=40&md5=0ce5bba44d9fe84a7621f7182d9002cfhttps://scholars.lib.ntu.edu.tw/handle/123456789/625023A software package, rBeta2009, developed to generate beta random numbers and Dirichlet random vectors in R is presented. The package incorporates state-of-the-art algorithms so as to minimize the computer generation time. In addition, it is designed in a way that (i) the generation efficiency is robust to changes of computer architecture; (ii) memory allocation is flexible; and (iii) the exported objects can be easily integrated with other software. The usage of this package is then illustrated and evaluated in terms of various performance metrics. © 2013 Elsevier Inc. All rights reserved.Beta variates; Computer time; Dirichlet random vectors; Kolmogorov-Smirnov test; Ljung-Box test; RBeta variates; Computer time; Kolmogorov-Smirnov test; Ljung-Box tests; R; Random vectors; Computer architecture; Random number generationGenerating beta random numbers and Dirichlet random vectors in R: The package rBeta2009journal article10.1016/j.csda.2013.02.0192-s2.0-84889090792