ADMB Documentation
-a65f1c97
|
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 | ||
) |
dvariable dpois | ( | const dvector & | k, |
const dvar_vector & | lambda | ||
) |
Generated on Wed Sep 7 2022 00:01:31 for ADMB Documentation by 1.8.5 |