$P(X=x|N,D,n)=\frac{^DC_x \times ^{(N-D)}C_{(n-x)}}{^NC_n}$
Now, I was trying to test for $H_0:D\le D_0$ vs $H_1:D>D_0$ using likelihood ratio test.
But to find the maximum likelihood estimate of $D,$ the terms are in $^DC_x$ form, so I could not proceed further.
Can anyone provide me how to find the estimate of $D$ or provide some other test for this problem?