Boost logo

Boost-Commit :

From: pbristow_at_[hidden]
Date: 2007-08-15 13:19:25

Author: pbristow
Date: 2007-08-15 13:19:24 EDT (Wed, 15 Aug 2007)
New Revision: 38687

added coin flip example - but it needs more refinement.
Text files modified:
   sandbox/math_toolkit/libs/math/doc/distributions/binomial_example.qbk | 26 ++++++++++++++++++++++++--
   1 files changed, 24 insertions(+), 2 deletions(-)

Modified: sandbox/math_toolkit/libs/math/doc/distributions/binomial_example.qbk
--- sandbox/math_toolkit/libs/math/doc/distributions/binomial_example.qbk (original)
+++ sandbox/math_toolkit/libs/math/doc/distributions/binomial_example.qbk 2007-08-15 13:19:24 EDT (Wed, 15 Aug 2007)
@@ -2,7 +2,7 @@
 See also the reference documentation for the __binomial_distrib.
-[section:binomial_coinflip_example_example Binomial Coin-Flipping Example Example]
+[section:binomial_coinflip_example Binomial Coin-Flipping Example Example]
 [import ../../example/binomial_coinflip_example.cpp]
@@ -10,7 +10,29 @@
 See [@../../example/binomial_coinflip_example.cpp binomial_coinflip_example.cpp]
 for full source code and output.
-[endsect] [/section:binomial_coinflip_example_example Binomial Coin-Flipping example]
+[endsect] [/section:binomial_quiz_example_example Binomial Quiz example]
+[section:binomial_quiz_example Binomial Quiz Example Example]
+[import ../../example/binomial_quiz_example.cpp]
+A subroutine to tabulate confidence limits for observed successes in some trials.
+The true success fraction is, of course,
+successes divided by an 'infinite' number of such trials,
+but this gives us a guide to the confidence we have have in the success_fraction
+we observe with the limited number of trials used.
+It could guide us to assess how many trials we would need to be more sure.
+See [@../../example/binomial_quiz_example.cpp binomial_quiz_example.cpp]
+for full source code and output.
+[endsect] [/section:binomial_coinflip_quiz Binomial Coin-Flipping example]
 [section:binom_conf Calculating Confidence Limits on the Frequency of Occurrence for a Binomial Distribution]

Boost-Commit list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at