Hi!
Maybe I am completely mislead, but I thought Stan 2.18 came with new glm functions for normal/poisson/etc. regressions. Using RStan 2.18.1 I can’t find them and a quick search of the reference docs and rstan::lookup()
didn’t reaveal anything.
Are these functions only part of CmdStan?
Some of those were merged to develop after 2.18 was released (in August).
// included from constructor for function_signatures() in src/stan/lang/ast.hpp
std::vector<base_expr_type> base_types;
base_types.push_back(int_type());
base_types.push_back(double_type());
base_types.push_back(vector_type());
base_types.push_back(row_vector_type());
base_types.push_back(matrix_type());
std::vector<expr_type> vector_types;
vector_types.push_back(expr_type(double_type())); // scalar
vector_types.push_back(expr_type(double_type(), 1U)); // std vector
vector_types.push_back(expr_type(vector_type())); // Eigen vector
vector_types.push_back(expr_type(row_vector_type())); // Eigen row vector
std::vector<expr_type> int_vector_types;
int_vector_types.push_back(expr_type(int_type())); // scalar
int_vector_types.push_back(expr_type(int_type(), 1U)); // std vector
std::vector<expr_type> all_vector_types;
This file has been truncated. show original