unidfit
Discrete uniform maximum estimate
📝Syntax
nHat = unidfit(x)
[nHat, nCI] = unidfit(x, alpha)
📥Input Arguments
Parameter Description
x positive integer finite real nonempty vector or matrix: sample data.
alpha scalar in the range [0, 1]: significance level. Default is 0.05.
📤Output Arguments
Parameter Description
nHat array: estimates of the maximum integer value.
nCI array: confidence intervals for the estimates.
📄Description

unidfit estimates the maximum value of a discrete uniform distribution on integers from 1 to n.

💡Examples
x = [1 2 4 5 5];
[nHat, nCI] = unidfit(x);
🔗See Also
unidlikeunidpdfunidcdfunidrnd
🕔Version History
Version Description
2.0.0 initial version
Edit this page on GitHub