Skip to content

Proper power computation for one-sided binomial tests.

1 message · Collin Lynch

#
So my task is to compare a single sample population (which should exhibit
0 successes, against an a-priori p value with the goal of asking if the
sample is consistent with a p-value of that or less.

My goal is to determine the number of sample points needed to state with
95% confidence that the sample is predictive at alpha=.05.  The process in
question should always return 0 successes but I need to know how many to
test so as to make those 0 successes meaningful.

If I understand you correctly Peter then the binom.test procedure with a
specified p value will do.  Or rather that:
Exact binomial test

data:  0 and 99
number of successes = 0, number of trials = 99, p-value = 0.3697
alternative hypothesis: true probability of success is less than 0.01
99 percent confidence interval:
 0.00000000 0.04545154
sample estimates:
probability of success
                     0

correctly informs me that at a 99% confidence interval 99 systems is
woefully inadequate.

      Thanks,
      Collin Lynch.




       Thanks,
       Collin Lynch.