Analytically, the normal approximation to the log-odds gives a confidence interval for
the prvalence based on x out of n:
p = x/n
ci.: lower: p/[p+(1-p)*exp{1.96/sqrt(n*p(1-p))}]
upper: p/[p+(1-p)/exp{1.96/sqrt(n*p(1-p))}]
which allows you to do the trial and error analytically.
Best regards,
Bendix Carstensen
_______________________________________________
Bendix Carstensen
Senior Statistician
Steno Diabetes Center
Niels Steensens Vej 2-4
DK-2820 Gentofte
Denmark
+45 44 43 87 38 (direct)
+45 30 75 87 38 (mobile)
b...@steno.dk http://www.biostat.ku.dk/~bxc
www.steno.dk