geofit
Geometric probability estimate
📝Syntax
pHat = geofit(x)
[pHat, pCI] = geofit(x, alpha)
📥Input Arguments
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.
📤Output Arguments
Parameter Description
pHat array: success probability estimates.
pCI array: confidence intervals for the estimates.
📄Description

geofit estimates the success probability of the geometric distribution.

💡Examples
x = [0 1 2 3 5 8];
[pHat, pCI] = geofit(x);
🔗See Also
geolikegeopdf
🕔Version History
Version Description
2.0.0 initial version
Edit this page on GitHub