Binomial distribution confidence interval using a random sample?

41 Views Asked by At

I am working with the binomial distribution Bin(52, 0.82) I am looking to find the confidence interval for the observed test statistic of 44 successes.

I have generated a random sample of length 1000 in r using:

   > rbinom(1000, 52,0.82)

How do I find the confidence interval using only this generated sample?