Fits a beta distribution based on quantiles
Arguments
- point
Point estimates corresponding to the median
- lci
Lower limit (quantile 0.025)
- uci
Upper limit (quantile 0.975)
Note
This is a wrap of the fitdist
to obtain
the best parameters for a beta distribution based
on quantiles.
When using confidence intervals (not ML), the shape parameters are obtained using the following formula:
\(varp = (p_uci-p_lci)/4^2\)
\(shape1 = p_mean * (p_mean * (1 - p_mean) / varp - 1)\)
\(shape2 =(1 - p_mean) * (p_mean * (1 - p_mean) / varp - 1) \)