2
$\begingroup$

What is the probability that 4 out of 181 and 55 out of 181 belong to the same distribution? Which distribution will give the best fit?

Assume you have, say, a manufacturing process from which you draw 181 samples. The percentage of failures is not known. If you get 4 failures out of the 181 samples at one time and 55 failures at another time, what is the probability that the process has not changed, i.e. it produces the same percentage of failures?

$\endgroup$
3
  • 5
    $\begingroup$ How do you define "belonging to the same distribution"? $\endgroup$
    – Tim
    Commented Nov 29, 2017 at 9:01
  • 1
    $\begingroup$ Assume you have, say, a manufacturing process from which you draw 181 samples. The percentage of failures is not known. If you get 4 failures out of the 181 samples at one time and 55 failures at another time, what is the probability that the process has not changed, i.e. it produces the same percentage of failures? $\endgroup$ Commented Nov 29, 2017 at 9:44
  • 2
    $\begingroup$ Please edit your question to add those details, it seems that you are asking about some kind of anomaly detection. The mo0re details you give us, the more likely you are to get a valuable answer. $\endgroup$
    – Tim
    Commented Nov 29, 2017 at 9:48

1 Answer 1

1
$\begingroup$

You can present your data as a contingency table:

          A   B
fail      4  55
success 177 126

and then use a chisquare test:

    Pearson's Chi-squared test with Yates' continuity correction

data:  mytab
X-squared = 50.624, df = 1, p-value = 1.119e-12

and the conclusion should be clear.

$\endgroup$

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.