Hi, I'm trying to calculate the sample size required for my test to meet the sensitivity and specificity requirements.
I have a binary test that detects the presence of bacteria in water, if it's positive bacteria is present, if it's negative it is not present.
I would like my test to have
92% sensitivity (with 95% CI of 90-94%)
and
90% specificity (with 95% CI of 88-92%)
and I want the power to be 0.8
I want to know how many samples I need in order to meet this requirements, how many positive bacteria samples and negative bacteria samples.
How would I go about doing this calculation? I've had a look under DOE > Design Diagnostics > Sample Size and Power. But I'm still not clear on which I should be using and how.
Many thanks!