Qu

binofit

Builtin index · Statistics & ML

binofit(x, n)

Input: x, n · Output: no output

What it is

Maximum-likelihood fit: a result with the named parameters p, plus .params (the same as a vector), .n and .loglik (the log-likelihood at the estimate). Pooled sum(x) / (n * length(x)) for counts out of n trials each. NaN/inf data are an error. Added in v0.4.4.

Overloads

One call shape — this function is not overloaded.

CodeInputOutputDescription
binofit(x, n)
x —Pooled sum(x) / (n * length(x)) for counts out of n trials each.
n vectorMaximum-likelihood fit: a result with the named parameters p, plus .params (the same as a vector), .n and .loglik (the log-likelihood at the estimate).
not documented yetNaN/inf data are an error. Added in v0.4.4.

Examples

No documentation example calls this form yet. The Statistics & ML chapter is where one belongs.