Stan Math Library  2.20.0
reverse mode automatic differentiation
Namespaces | Functions
ordered_probit_lpmf.hpp File Reference
#include <stan/math/prim/meta.hpp>
#include <stan/math/prim/scal/fun/Phi.hpp>
#include <stan/math/prim/scal/err/check_bounded.hpp>
#include <stan/math/prim/scal/err/check_finite.hpp>
#include <stan/math/prim/scal/err/check_greater.hpp>
#include <stan/math/prim/arr/err/check_ordered.hpp>
#include <stan/math/prim/mat/fun/Eigen.hpp>
#include <vector>

Go to the source code of this file.

Namespaces

 stan
 
 stan::math
 Matrices and templated mathematical functions.
 

Functions

template<bool propto, typename T_loc , typename T_cut >
return_type< T_loc, T_cut >::type stan::math::ordered_probit_lpmf (int y, const T_loc &lambda, const Eigen::Matrix< T_cut, Eigen::Dynamic, 1 > &c)
 Returns the (natural) log probability of the specified integer outcome given the continuous location and specified cutpoints in an ordered probit model. More...
 
template<typename T_loc , typename T_cut >
return_type< T_loc, T_cut >::type stan::math::ordered_probit_lpmf (int y, const T_loc &lambda, const Eigen::Matrix< T_cut, Eigen::Dynamic, 1 > &c)
 
template<bool propto, typename T_loc , typename T_cut >
return_type< T_loc, T_cut >::type stan::math::ordered_probit_lpmf (const std::vector< int > &y, const Eigen::Matrix< T_loc, Eigen::Dynamic, 1 > &lambda, const Eigen::Matrix< T_cut, Eigen::Dynamic, 1 > &c)
 Returns the (natural) log probability of the specified array of integers given the vector of continuous locations and specified cutpoints in an ordered probit model. More...
 
template<typename T_loc , typename T_cut >
return_type< T_loc, T_cut >::type stan::math::ordered_probit_lpmf (const std::vector< int > &y, const Eigen::Matrix< T_loc, Eigen::Dynamic, 1 > &lambda, const Eigen::Matrix< T_cut, Eigen::Dynamic, 1 > &c)
 
template<bool propto, typename T_loc , typename T_cut >
return_type< T_loc, T_cut >::type stan::math::ordered_probit_lpmf (const std::vector< int > &y, const Eigen::Matrix< T_loc, Eigen::Dynamic, 1 > &lambda, const std::vector< Eigen::Matrix< T_cut, Eigen::Dynamic, 1 > > &c)
 Returns the (natural) log probability of the specified array of integers given the vector of continuous locations and array of specified cutpoints in an ordered probit model. More...
 
template<typename T_loc , typename T_cut >
return_type< T_loc, T_cut >::type stan::math::ordered_probit_lpmf (const std::vector< int > &y, const Eigen::Matrix< T_loc, Eigen::Dynamic, 1 > &lambda, const std::vector< Eigen::Matrix< T_cut, Eigen::Dynamic, 1 > > &c)
 

     [ Stan Home Page ] © 2011–2018, Stan Development Team.