EconPapers    
Economics at your fingertips  
 

Generating beta random numbers and Dirichlet random vectors in R: The package rBeta2009

Ching-Wei Cheng, Ying-Chao Hung and Narayanaswamy Balakrishnan

Computational Statistics & Data Analysis, 2014, vol. 71, issue C, 1011-1020

Abstract: A 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.

Keywords: R; Beta variates; Dirichlet random vectors; Computer time; Kolmogorov–Smirnov test; Ljung–Box test (search for similar items in EconPapers)
Date: 2014
References: View references in EconPapers View complete reference list from CitEc
Citations:

Downloads: (external link)
http://www.sciencedirect.com/science/article/pii/S0167947313000753
Full text for ScienceDirect subscribers only.

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:eee:csdana:v:71:y:2014:i:c:p:1011-1020

DOI: 10.1016/j.csda.2013.02.019

Access Statistics for this article

Computational Statistics & Data Analysis is currently edited by S.P. Azen

More articles in Computational Statistics & Data Analysis from Elsevier
Bibliographic data for series maintained by Catherine Liu ().

 
Page updated 2025-03-19
Handle: RePEc:eee:csdana:v:71:y:2014:i:c:p:1011-1020