Exact Boundary Crossing Probability, version 1.1 (c) Bahjat Qaqish, 2003 The distribution of all possible outcomes (events/subjects): Events Subjects Boundary Probability 3 3 upper 0.008 4 5 upper 0.00384 4 6 upper 0.009216 5 8 upper 0.00311296 5 9 upper 0.006946816 6 11 upper 0.00226492416 6 12 upper 0.005016387584 7 14 upper 0.00163477192704 7 15 upper 0.00363354233242 8 17 upper 0.0011915957266 8 18 upper 0.00266356691829 9 20 upper 0.000879917165477 0 20 right 0.0115292150461 1 20 right 0.0576460752303 2 20 right 0.136909428672 3 20 right 0.205183999023 4 20 right 0.216893358054 5 20 right 0.17029236091 6 20 right 0.100565379679 7 20 right 0.0426891986554 8 20 right 0.00989050291603 P(event) = 0.2 Maximum sample size n = 20 P(Hitting the lower boundary) = 0 P(Hitting the upper boundary) = 0.0484005 P(Hitting the right boundary) = 0.9516 E[#events/#subjects] = 0.213788 S[#events/#subjects] = 0.132726 E[#events] = 3.89324 S[#events] = 1.65469 E[#subjects] = 19.4662 S[#subjects] = 2.58105 E[] denotes the mean, S[] denotes the standatd deviation Program: cp3 CPU time: 15 milliseconds Real time: 0 seconds Date and time: Tue Jul 27 12:36:34 2004