Description Usage Arguments Value Examples
the required times of getting n points which satidfy Beta(a,b) distribution by the acceptance-rejection method
1 | arf(n, a, b)
|
n |
the whole number of Beta distribution |
a |
the first parameter of Beta distribution |
b |
the second parameter of Beta distribution |
times n
1 2 3 4 5 6 7 | ## Not run:
n=1000
a=3
b=2
arf(1000,3,2)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.