# Adaptation terminated
# Step size = 0.0568688
# Diagonal elements of inverse mass matrix:
# 1.52909, 0.00343968, 0.0421724

# Adaptation terminated
# Step size = 0.0653806
# Diagonal elements of inverse mass matrix:
# 1.60794, 0.00359979, 0.04294

# Adaptation terminated
# Step size = 0.0527109
# Diagonal elements of inverse mass matrix:
# 1.59558, 0.00351879, 0.0374163

# Adaptation terminated
# Step size = 0.0650232
# Diagonal elements of inverse mass matrix:
# 1.20621, 0.00273073, 0.040554

data {
  int<lower=2> n;            // number of observations
  int<lower=1> m;            // maximum value of observations
  int<lower=0, upper=m> y[n]; // observations
  int<lower=1> k;            // number of explanatory variables, including intercept
  row_vector[k] x[n];            // explanatory matrix
}
parameters {
  vector[k] beta;            // coefficients
}
model {
  for (i in 1:n) {
    y[i] ~ binomial_logit(m, x[i]*beta);
  }
}

CXXFLAGS = -O2 -Wall $(DEBUGFLAG) -mfpmath=sse -msse2 -mstackrealign $(LTO)

std::vector<double, std::allocator<double> > constrain_pars(std::vector<double, std::allocator<double> >)

std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > constrained_param_names(bool, bool)

Rcpp::NumericVector grad_log_prob(std::vector<double, std::allocator<double> >, bool)

Rcpp::NumericVector log_prob(std::vector<double, std::allocator<double> >, bool, bool)

std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > param_fnames_oi()

std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > param_names()

std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > param_names_oi()