diff --git a/test/prob/beta_neg_binomial/beta_neg_binomial_ccdf_log_test.hpp b/test/prob/beta_neg_binomial/beta_neg_binomial_ccdf_log_test.hpp index 82a3da2eb45..4871ca77eeb 100644 --- a/test/prob/beta_neg_binomial/beta_neg_binomial_ccdf_log_test.hpp +++ b/test/prob/beta_neg_binomial/beta_neg_binomial_ccdf_log_test.hpp @@ -13,12 +13,12 @@ class AgradCcdfLogBetaNegBinomial : public AgradCcdfLogTest { vector& ccdf_log) { vector param(4); - param[0] = 10; // n - param[1] = 5.5; // r - param[2] = 2.5; // alpha - param[3] = 0.5; // beta + param[0] = 0; // n + param[1] = 1.0; // r + param[2] = 5.0; // alpha + param[3] = 1.0; // beta parameters.push_back(param); - ccdf_log.push_back(std::log(1.0 - 0.967906252841089)); // expected ccdf_log + ccdf_log.push_back(std::log(1.0 - 0.833333333333333)); // expected ccdf_log } void invalid_values(vector& index, vector& value) {