Qu

nbinfit

Builtin index · Statistics & ML

nbinfit(x)

Input: x · Output: no output

What it is

Maximum-likelihood fit: a result with the named parameters r, p, plus .params (the same as a vector), .n and .loglik (the log-likelihood at the estimate). r from the digamma likelihood equation; needs overdispersed data (variance above the mean) -- otherwise an error pointing to poissfit. NaN/inf data are an error. Added in v0.4.4.

Overloads

One call shape — this function is not overloaded.

CodeInputOutputDescription
nbinfit(x)
x vectornot documented yet
not documented yetMaximum-likelihood fit: a result with the named parameters r, p, plus .params (the same as a vector), .n and .loglik (the log-likelihood at the estimate). r from the digamma likelihood equation; needs overdispersed data (variance above the mean) -- otherwise an error pointing to poissfit. NaN/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.