MCofBeta: a Monte Carlo estimate of the Beta function

Description Usage Arguments Value Examples

Description

a Monte Carlo estimate of the Beta(a, b) cdf

Usage

1
MCofBeta(n, a, b)

Arguments

n

the number of sampling times

a

for Beta function

b

for Beta function

Value

a value n

Examples

1
2
3
4
5
6
## Not run: 
MCofBeta(1e4,3,3)
c(MCofBeta(1e4,3,3),beta(3,3))
#compare the MC estimation and the theoretical value

## End(Not run)

peachandbeach/StatComp18069 documentation built on May 5, 2019, 11:07 p.m.