Lines Matching refs:cdf
131 cout << "Probability of getting none or one right is " << cdf(quiz, 1) << endl; in main()
138 cout << "Probability of getting <= 10 right (to fail) is " << cdf(quiz, 10) << endl; in main()
146 cout << "Probability of getting > 10 right (to pass) is " << 1 - cdf(quiz, 10) << endl; in main()
153 cout << "Probability of getting > 10 right (to pass) is " << cdf(complement(quiz, 10)) << endl; in main()
160 BOOST_ASSERT((cdf(quiz, 10) + cdf(complement(quiz, 10))) == 1.); in main()
166 << cdf(quiz, pass_score -1) << endl; in main()
179 << cdf(complement(quiz, pass_score-1)) in main()
180 << ", only 1 in " << 1/cdf(complement(quiz, pass_score-1)) << endl; in main()
182 BOOST_ASSERT((cdf(quiz, pass_score -1) + cdf(complement(quiz, pass_score-1))) == 1); in main()
194 << cdf(quiz, score) << endl; in main()
224 << cdf(complement(quiz, score)) << endl; in main()
271 << cdf(quiz, high) - cdf(quiz, low - 1) << endl; // 0.61323 in main()
280 << cdf(quiz, high) - cdf(quiz, low - 1) << endl; // 1 and 6 P= 0.91042 in main()
283 << cdf(quiz, high) - cdf(quiz, low - 1) << endl; // 1 <= x 8 P = 0.9825 in main()
286 << cdf(quiz, high) - cdf(quiz, low - 1) << endl; // 4 <= x 4 P = 0.22520 in main()