FUNCTION REFERENCE
nbinfit
Negative binomial parameter estimates and confidence intervals.
Negative binomial parameter estimates and confidence intervals.
Syntax
phat = nbinfit(x)Syntax
[phat, pci] = nbinfit(x, alpha, options)phat = [R P] maximises the likelihood of overdispersed counts (sample variance above the mean); pci is Wald (R on the log scale, P on the logit scale).
Example
[phat, pci] = nbinfit([0 2 5 1 0 7 3 1 0 9])Differences from MATLAB: data that are not overdispersed raise an error.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.