# # # Written by: # -- # John L. Weatherwax 2009-04-21 # # email: wax@alum.mit.edu # # Please send comments and especially bug reports to the # above email address. # #----- nSim = 10^3 w_rbeta = function(nSim,alpha,beta){ X = NULL while( length(X)