pHat = geofit(x)
[pHat, pCI] = geofit(x, alpha)
| Parameter | Description |
|---|---|
| x | nonnegative integer finite real nonempty vector or matrix: failure counts before success. |
| alpha | scalar in the range [0, 1]: significance level. Default is 0.05. |
| Parameter | Description |
|---|---|
| pHat | array: success probability estimates. |
| pCI | array: confidence intervals for the estimates. |
geofit estimates the success probability of the geometric distribution.
x = [0 1 2 3 5 8];
[pHat, pCI] = geofit(x);
| Version | Description |
|---|---|
| 2.0.0 | initial version |