Revision 600 trunk/contrib/statslib/dzinbinom.cpp
dzinbinom.cpp (revision 600)  

10  10 
\brief Zero Inflated Negative binomial with size and mean 
11  11 
\author Mollie Brooks 
12  12 
\param x observed count. should be greater than or equal to 0. 
13 
\param mu is the predicted mean


13 
\param mu is the mean of the negative binomial part


14  14 
\param k is the overdispersion parameter, i.e. size, i.e. shape parameter of underlying heterogeneity (different from tau). should be >0 
15  15 
\param p is the zero inflation paramerer, i.e. extra chance of observing zeros. 0<p<1. 
16 
\return negative log likelihood


16 
\return negative loglikelihood


17  17 
\ingroup STATLIB 
18  18 
**/ 
19  19  
...  ...  
47  47 
\brief Zero Inflated Negative binomial with size and mean 
48  48 
\author Mollie Brooks 
49  49 
\param x observed count. should be greater than or equal to 0. 
50 
\param mu is the predicted mean


50 
\param mu is the mean of the negative binomial part


51  51 
\param k is the overdispersion parameter, i.e. size, i.e. shape parameter of underlying heterogeneity (different from tau). should be >0 
52  52 
\param p is the zero inflation paramerer, i.e. extra chance of observing zeros. 0<p<1. 
53 
\return negative log likelihood


53 
\return negative loglikelihood


54  54 
\ingroup STATLIB 
55  55 
**/ 
56  56  
...  ...  
82  82 
\brief Zero Inflated Negative binomial with size and mean 
83  83 
\author Mollie Brooks 
84  84 
\param x observed counts. should be greater than or equal to 0. 
85 
\param mu is the predicted mean


85 
\param mu is the mean of the negative binomial part


86  86 
\param k is the overdispersion parameter, i.e. size, i.e. shape parameter of underlying heterogeneity (different from tau). should be >0 
87  87 
\param p is the zero inflation paramerer, i.e. extra chance of observing zeros. 0<p<1. 
88 
\return negative log likelihood


88 
\return negative loglikelihood


89  89 
\ingroup STATLIB 
90  90 
**/ 
91  91  
...  ...  
124  124 
\brief Zero Inflated Negative binomial with size and mean 
125  125 
\author Mollie Brooks 
126  126 
\param x observed counts 
127 
\param mu is the predicted mean


127 
\param mu is the mean of the negative binomial part


128  128 
\param k is the overdispersion parameter, i.e. size, i.e. shape parameter of underlying heterogeneity (different from tau). should be >0 
129  129 
\param p is the zero inflation paramerer, i.e. extra chance of observing zeros. 0<p<1. 
130 
\return negative log likelihood


130 
\return negative loglikelihood


131  131 
\ingroup STATLIB 
132  132 
**/ 
133  133 
df1b2variable dzinbinom(const dvector& x, const df1b2vector& mu, const df1b2vector& k, const df1b2variable& p) 
...  ...  
166  166 
\brief Zero Inflated Negative binomial with size and mean 
167  167 
\author Mollie Brooks 
168  168 
\param x observed counts 
169 
\param mu is the predicted mean


169 
\param mu is the mean of the negative binomial part


170  170 
\param k is the overdispersion parameter, i.e. size, i.e. shape parameter of underlying heterogeneity (different from tau). should be >0 
171  171 
\param p is the zero inflation paramerer, i.e. extra chance of observing zeros. 0<p<1. 
172 
\return negative log likelihood


172 
\return negative loglikelihood


173  173 
\ingroup STATLIB 
174  174 
**/ 
175  175 
dvariable dzinbinom(const dvector& x, const dvar_vector& mu, const prevariable& k, const prevariable& p) 
...  ...  
207  207 
\brief Zero Inflated Negative binomial with size and mean 
208  208 
\author Mollie Brooks 
209  209 
\param x observed counts 
210 
\param mu is the predicted mean


210 
\param mu is the mean of the negative binomial part


211  211 
\param k is the overdispersion parameter, i.e. size, i.e. shape parameter of underlying heterogeneity (different from tau). should be >0 
212  212 
\param p is the zero inflation paramerer, i.e. extra chance of observing zeros. 0<p<1. 
213 
\return negative log likelihood


213 
\return negative loglikelihood


214  214 
\ingroup STATLIB 
215  215 
**/ 
216  216 
dvariable dzinbinom(const dvector& x, const dvar_vector& mu, const dvar_vector& k, const prevariable& p) 
...  ...  
252  252 
\brief Zero Inflated Negative binomial with size and mean 
253  253 
\author Mollie Brooks 
254  254 
\param x observed counts 
255 
\param mu is the predicted mean


255 
\param mu is the mean of the negative binomial part


256  256 
\param k is the overdispersion parameter, i.e. size, i.e. shape parameter of underlying heterogeneity (different from tau). should be >0 
257  257 
\param p is the zero inflation paramerer, i.e. extra chance of observing zeros. 0<p<1. 
258 
\return negative log likelihood


258 
\return negative loglikelihood


259  259 
\ingroup STATLIB 
260  260 
**/ 
261  261 
df1b2variable dzinbinom(const dvector& x, const df1b2vector& mu, const df1b2variable& k, const df1b2vector& p) 
...  ...  
293  293 
\brief Zero Inflated Negative binomial with size and mean 
294  294 
\author Mollie Brooks 
295  295 
\param x observed counts 
296 
\param mu is the predicted mean 

296 
\param mu is the mean of the negative binomial part 
Also available in: Unified diff