Revision 601 trunk/src/linad99/vnegbin.cpp
vnegbin.cpp (revision 601)  

1 
/* 

1 
/**


2  2 
* $Id$ 
3  3 
* 
4  4 
* Author: David Fournier 
...  ...  
77  77 
\ingroup PDF 
78  78 
\param x Number of observed occurences, \f$k\f$. 
79  79 
\param mu Mean or expected value, \f$\mu\f$. 
80 
\return Log of Poisson density. \f$\mu+k \log(\mu)\log(k!)\f$.


80 
\return Log of Poisson density. \f$\mu+k*\log(\mu)k!\f$.


81  81 
*/ 
82  82 
dvariable log_density_poisson(double x,const prevariable& mu) 
83  83 
{ 
Also available in: Unified diff