I have a hypergeometric distribution with known $N$, $n$ and $k$ (following the notation on Wikipedia) and I'd like to calculate the confidence interval for $K$.
I considered the Poisson approximation (but I'd like the confidence interval to be valid even for $K$ close to $N$).
What other options are there?