Wiley
Browse
1/1
3 files

Supplement 1. MATLAB code for the log-likelihood.

dataset
posted on 2016-08-09, 10:23 authored by Andreas Lindén, Samu Mäntyniemi

File List

nbinll.m

nbinll.doc [note that ESA cannot guarantee the forward migration of this file format]

Description

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.

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.

History