betafit
Beta parameter estimates
📝Syntax
phat = betafit(x)
[phat, pci] = betafit(x, alpha)
📥Input Arguments
Parameter Description
x finite real nonempty vector or matrix with values in the open interval (0, 1): sample data.
alpha scalar in the range [0, 1]: significance level. Default is 0.05.
📤Output Arguments
Parameter Description
phat array: beta distribution shape parameter estimates.
pci array: confidence intervals for the estimates.
📄Description

betafit estimates the two shape parameters of the beta distribution.

💡Examples
x = [0.12 0.2 0.35 0.5 0.7 0.85];
[phat, pci] = betafit(x);
🔗See Also
betalikebetapdfbetacdf
🕔Version History
Version Description
2.0.0 initial version
Edit this page on GitHub