![]() |
Stan
2.5.0
probability, sampling & optimization
|
#include <boost/random/negative_binomial_distribution.hpp>#include <boost/random/variate_generator.hpp>#include <boost/math/special_functions/digamma.hpp>#include <stan/agrad/partials_vari.hpp>#include <stan/math/error_handling.hpp>#include <stan/math/constants.hpp>#include <stan/math/functions/multiply_log.hpp>#include <stan/math/functions/log_sum_exp.hpp>#include <stan/math/functions/value_of.hpp>#include <stan/meta/traits.hpp>#include <stan/prob/traits.hpp>#include <stan/prob/constants.hpp>#include <stan/prob/internal_math.hpp>#include <stan/prob/distributions/univariate/continuous/gamma.hpp>#include <stan/prob/distributions/univariate/discrete/poisson.hpp>#include <stan/math/functions/binomial_coefficient_log.hpp>Go to the source code of this file.
Namespaces | |
| stan | |
| Probability, optimization and sampling library. | |
| stan::prob | |
| Templated probability distributions. | |
Functions | |
| template<bool propto, typename T_n , typename T_location , typename T_inv_scale > | |
| return_type< T_location, T_inv_scale >::type | stan::prob::neg_binomial_2_log (const T_n &n, const T_location &mu, const T_inv_scale &phi) |
| template<typename T_n , typename T_location , typename T_inv_scale > | |
| return_type< T_location, T_inv_scale >::type | stan::prob::neg_binomial_2_log (const T_n &n, const T_location &mu, const T_inv_scale &phi) |
| template<bool propto, typename T_n , typename T_log_location , typename T_inv_scale > | |
| return_type< T_log_location, T_inv_scale >::type | stan::prob::neg_binomial_2_log_log (const T_n &n, const T_log_location &eta, const T_inv_scale &phi) |
| template<typename T_n , typename T_log_location , typename T_inv_scale > | |
| return_type< T_log_location, T_inv_scale >::type | stan::prob::neg_binomial_2_log_log (const T_n &n, const T_log_location &eta, const T_inv_scale &phi) |
| template<class RNG > | |
| int | stan::prob::neg_binomial_2_rng (const double mu, const double phi, RNG &rng) |
| template<class RNG > | |
| int | stan::prob::neg_binomial_2_log_rng (const double eta, const double phi, RNG &rng) |