# how to determine sample size?

I have population size of $2000$. I used Cochran's formula to determine sample size which is $$\text{Sample Size} = \frac{n}{1 + (n/\text{population})}$$ in which $n$ is equal to $Z * Z [P (1-P)/(D*D)]$ (using a 95% confidence and $5\%$ margin of error and $p = 0.5$) which gives me sample size $323$.

My question: is $323$ the minimum sample size? Can I take larger sample?

If I have population size $800$ and using the same formula again I get sample size $18$ (using $10\%$ margin of error and $95\%$ confidence, $p=95\%$) then isn't the sample size too small to carry the hypothesis test?

• Is this for a power analysis? What test are you going to run? What is the magnitude of the effect that you want to be able to differentiate from 0 (or whatever your null is)? Dec 12, 2012 at 15:34
• For the first example which i have stated, i wanted to test the adoption of particular programme by the population, my null hyp h0: p=0.5 and for the sceond example i wanted to test accuracy of a process adopted by the population so my null hyp: p=.95 Dec 14, 2012 at 8:09

$n=N/(1+N(e^2))$
n=800/(1+800(.10^2)) = 88.88