![]() |
Stan Math Library
2.20.0
reverse mode automatic differentiation
|
#include <stan/math/prim/meta.hpp>
#include <stan/math/prim/mat/fun/Eigen.hpp>
#include <stan/math/prim/scal/err/check_bounded.hpp>
#include <stan/math/prim/scal/err/check_consistent_size.hpp>
#include <stan/math/prim/scal/err/check_finite.hpp>
#include <stan/math/prim/scal/fun/inv_logit.hpp>
#include <boost/random/bernoulli_distribution.hpp>
#include <boost/random/variate_generator.hpp>
#include <vector>
Go to the source code of this file.
Namespaces | |
stan | |
stan::math | |
Matrices and templated mathematical functions. | |
Functions | |
template<typename T_x , typename T_alpha , typename T_beta , class RNG > | |
VectorBuilder< true, int, T_alpha >::type | stan::math::bernoulli_logit_glm_rng (const T_x &x, const T_alpha &alpha, const T_beta &beta, RNG &rng) |
Returns a draw from the Generalized Linear Model (GLM) with Bernoulli distribution and logit link function. More... | |