Description Usage Arguments Details References
Estimate parameters of a beta distribution using method of moments.
1 | estBetaParam(mu, sigma)
|
mu |
Mean of the beta distribution. mu must be between 0 and 1. |
sigma |
Standard deviation of the beta distribution. sigma cannot have a negative value. |
Beta(α,β) distribution has two shape parameters, α and β, estimated as:
α = [(1-mu)/sigma^2 - 1/mu] * mu^2
β = alpha * (1/mu - 1)
https://stats.stackexchange.com/questions/12232/calculating-the-parameters-of-a-beta-distribution-using-the-mean-and-variance
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.