We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 65fc8e6 + 177994d commit 8ab9760Copy full SHA for 8ab9760
1 file changed
test/prob/beta_neg_binomial/beta_neg_binomial_ccdf_log_test.hpp
@@ -13,12 +13,12 @@ class AgradCcdfLogBetaNegBinomial : public AgradCcdfLogTest {
13
vector<double>& ccdf_log) {
14
vector<double> param(4);
15
16
- param[0] = 10; // n
17
- param[1] = 5.5; // r
18
- param[2] = 2.5; // alpha
19
- param[3] = 0.5; // beta
+ param[0] = 0; // n
+ param[1] = 1.0; // r
+ param[2] = 5.0; // alpha
+ param[3] = 1.0; // beta
20
parameters.push_back(param);
21
- 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
22
}
23
24
void invalid_values(vector<size_t>& index, vector<double>& value) {
0 commit comments