phat = betafit(x)
[phat, pci] = betafit(x, alpha)
| 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. |
| Parameter | Description |
|---|---|
| phat | array: beta distribution shape parameter estimates. |
| pci | array: confidence intervals for the estimates. |
betafit estimates the two shape parameters of the beta distribution.
x = [0.12 0.2 0.35 0.5 0.7 0.85];
[phat, pci] = betafit(x);
| Version | Description |
|---|---|
| 2.0.0 | initial version |