Poisson density functions. More...
#include "statsLib.h"
Go to the source code of this file.
Functions | |
dvariable | dpois (const double &k, const prevariable &lambda) |
dvariable | dpois (const prevariable &k, const prevariable &lambda) |
dvariable | dpois (const dvector &k, const dvar_vector &lambda) |
Poisson density functions.
This file contains the negative loglikelihood functions for the Poisson distribution. The function dpois is overloaded to accommodate variable and data objects.
The negative log likelihood function is implemented as:
where is the probability and number of trials, and is the number of successes.
Definition in file dpois.cpp.
dvariable dpois | ( | const double & | k, |
const prevariable & | lambda | ||
) |
dvariable dpois | ( | const prevariable & | k, |
const prevariable & | lambda | ||
) |
Generated on Tue Mar 8 2016 19:51:36 for ADMB Documentation by 1.8.0 |