Beta density functions. More...
|dvariable||dbeta (const dvariable &x, const double &shape1, const double &shape2)|
Beta density functions.
This file contains the negative loglikelihood functions for the beta distribution. The function dbeta is overloaded to accomodate single variables and vectors.
where and are the shape parameters and is the quantile value that must lie between 0-1.
Definition in file dbeta.cpp.
|shape1||= a parameter (a > 0)|
|shape2||= b parameter (b > 0)|
The log density function is implemented as:
This function has nobt been overloaded for differentiable parameters (shape1 and shape2) because the gammln function does not accept them.s
|Generated on Thu Dec 12 2013 11:56:38 for ADMB Documentation by 1.8.0|