2
$\begingroup$

A design has two predictor variables (both continuous). The response is pass/fail. I would like to know how to use Binary Logistic Regression to know what value of each variable will give me a failure rate of 0.000001 with 95% confidence.

With one predictor variable, it's clear - but not with two. I usually use Minitab, but I would be limited to holding one predictor variable constant while varying the other - this could be done, but is tedious (and isn't really what I want to do).

I also don't want to overdesign.

I don't know if this can be done in Excel or R, but that would be good to know.

In many ways, I'm looking for the creation of a surface, where the predictor variables are on the "x" and "y" axes, and the probability is on the "z" axis. I would want the lower 95th% confidence of this surface meeting a failure rate of 0.000001.

Any responses are much appreciated.

$\endgroup$
5
  • 4
    $\begingroup$ Unless you have an extraordinary amount of data, it's possible there will be no solution to this problem at all, because estimating a one-per-million rate is quite an extrapolation. Absent millions of data, you would need a region of intermediate values of the predictor variables where varying proportions of passes are observed, separating a region of all passes from another of all fails. You wouldn't be able to check for continued linearity of the response out in these regions, making the 95% confidence rather illusory. $\endgroup$
    – whuber
    Commented Dec 16, 2011 at 21:16
  • $\begingroup$ Even though this requirement is very demanding, I think that with enough margin - as you say - the requirement could be shown. $\endgroup$ Commented Dec 16, 2011 at 21:46
  • 1
    $\begingroup$ This perhaps makes my point more clearly, then: stats.stackexchange.com/a/4968. $\endgroup$
    – whuber
    Commented Dec 17, 2011 at 22:37
  • $\begingroup$ There exists wonderful binomial confidence interval calculators. I like the one from the Australian veterinary folks (ausvet). Instead of designing for prevalence you should think about designing for the worse, not worst case. When you look at how many samples are required, and the rate of success required, that gives you a sense of how reasonable or unreasonable those rates can be. epitools.ausvet.com.au/ciproportion $\endgroup$ Commented Apr 13, 2021 at 15:31
  • $\begingroup$ The 3/n rule helps. When there are zero failures out of n trials the upper 0.95 confidence limit for the probability of failure is close to 3/n. n will have to be incredibly large for 3/n to be tiny. $\endgroup$ Commented Apr 28 at 11:48

1 Answer 1

1
$\begingroup$

Partially answered in comments:

Unless you have an extraordinary amount of data, it's possible there will be no solution to this problem at all, because estimating a one-per-million rate is quite an extrapolation. Absent millions of data, you would need a region of intermediate values of the predictor variables where varying proportions of passes are observed, separating a region of all passes from another of all fails. You wouldn't be able to check for continued linearity of the response out in these regions, making the 95% confidence rather illusory.

This perhaps makes my point more clearly, then: http://stats.stackexchange.com/a/4968.

  • whuber
$\endgroup$
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.