set.seed(8675309)
# NOTE: following inverts rstream::rstream.sample using stats::qbeta
vbeta(3, shape1 = 3, shape2 = 1, ncp = 2)
set.seed(8675309)
# NOTE: following inverts rstream::rstream.sample using stats::qbeta
vbeta(3, 3, 1, stream = 1)
vbeta(3, 3, 1, stream = 2)
set.seed(8675309)
# NOTE: following inverts rstream::rstream.sample using stats::qbeta
vbeta(1, 3, 1, stream = 1)
vbeta(1, 3, 1, stream = 2)
vbeta(1, 3, 1, stream = 1)
vbeta(1, 3, 1, stream = 2)
vbeta(1, 3, 1, stream = 1)
vbeta(1, 3, 1, stream = 2)
set.seed(8675309)
variates <- vbeta(100, 3, 1, stream = 1)
set.seed(8675309)
variates <- vbeta(100, 3, 1, stream = 1, antithetic = TRUE)
Run the code above in your browser using DataLab