FUNCTION REFERENCE

binofit

Binomial probability estimate and Clopper-Pearson confidence interval.

Binomial probability estimate and Clopper-Pearson confidence interval.

Syntax

phat = binofit(x, n)

Syntax

[phat, pci] = binofit(x, n, alpha)

phat = x./n for each element of x (n scalar or the same size); pci has one row [lower upper] per element, from the beta inverse (exact Clopper-Pearson interval).

Example

[phat, pci] = binofit(7, 20)

Differences from MATLAB: none known.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.