| .mom_triangular | R Documentation |
E[X] = (a + b + c) / 3 Var[X] = (a^2 + b^2 + c^2 - ab - ac - bc) / 18
.mom_triangular(x)
We fix a = min(x), b = max(x) and solve for mode c from the mean equation: c = 3.mean(x) - a - b
Variance constraint is used as a sanity check.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.