Our industrial process spits out items of normal and small size. At most $x\%$ of the items are allowed to be small.
I would like to validate the output of the proces by taking a sample of the output and run some kind of a test.
I guess I have two bins (normal and small) but I have no clue on how to proceed. I don't think I can do a chi-square test since the cumulative distribution is not known (due to the 'at most $x\%$' part). Some hints/pointers to get me started would be appreciated.
Note: the problem can be simplified (if needed/useful/easier to get me started/...) by assuming that the small bin is exactly $x\%$
Thanks in advance!
EDIT
I assume the problem can be reformulated as
- suppose we have a population with red (too large items), green (normal size) and blue (too small size) balls
- we take a sample ($N$ balls) and compute the sample percentage $P$ of blue (or red) balls
- I assume we can say something like 'the population percentage of blue balls lies in the interval [$P-\delta$,$P+\delta$] with an accuracy of $95\%$' but what is the relation between $\delta$, the sample size $N$ and the $95\%$ ?
- can we also say something like 'the population percentage of blue balls is lower than $X$ with an accuracy of $95\%$'
Some pointers/formulas to get me started would be appreciated.