Let's say I repeated some trial 90 times and got a success on my last attempt.
I guessing that such a confidence interval is different than if I had gotten 1 success at any point out of my 90 trials.
In my case I didn't decide on 90 trials beforehand, but I'm stopping at 90 because I got my success.
How do I find a confidence interval in this case?
binompackage gives $11$ different methods for the binomial proportion confidence interval (your second paragraph) with noticeably different results. – Henry Feb 01 '23 at 18:36[1/90-1.96sigma ; 1/90+1.96sigma].
Is this not the standard way to calculate a confidence interval?
– Simon Feb 01 '23 at 19:14