Description Usage Arguments Value Examples
Beta Method of Moments Calculates the method of monements estimators of a beta distribution fitted to the data
1 |
data |
- a vector of data |
A list with the elements a and b which are the parameters of a beta(a,b) distribution.
1 2 3 4 5 | set.seed(2)
data1 = rbeta(100, 1, 1)
fitbetavecMOM(data1)
data2 = rbeta(100, 43, 27)
fitbetavecMOM(data2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.