Supplement 1. MATLAB code for the log-likelihood.
LindénAndreas
MäntyniemiSamu
2016
<h2>File List</h2><blockquote>
<p><a href="nbinll.m">nbinll.m</a></p>
<a href="nbinll.doc">nbinll.doc</a>
[note that ESA cannot guarantee the forward migration of this file format]
</blockquote><h2>Description</h2><blockquote>
<p>The file nbinll.m contains MATLAB code for a function returning the log-likelihood of a set of parameters. The likelihood is based on the assumption that the given count data (DATA) is negatively binomially distributed around predefined expectations (X), with the overdispersion parameters ω (OMEGA) and θ (THETA). The file itself contains MATLAB style user instructions/help.</p>
<p>The file nbinll.doc is basically the same information as in previous file but in MS-Word format. This file is visually more appealing for viewing the code outside the MATLAB editor.</p>
</blockquote>