Description Usage Arguments Value Examples
a function to compute a Monte Carlo estimate of the Beta(3, 3) cdf. and use the function to estimate F(x) for x = 0.1,0.2,…,0.9. Compare the estimates with the values returned by the pbeta function in R.
1 | beta_cdf(n, a, b)
|
n |
The number of random Numbers generated |
a |
The lower bound of the interval |
b |
The upper bound of the interval |
a random sample of size n
1 2 3 4 5 6 7 8 9 10 11 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.