2
$\begingroup$

I have data fitting a binomial distribution with $n$ total observations and m positive observations. My estimate of $p$ is $\frac{m}{n}$, but is there a way I can estimate the error or variance in $p$? That is to say, can I quantify the error and determine how close $\frac{m}{n}$ is to the true $p$?

$\endgroup$

1 Answer 1

1
$\begingroup$

You can calculate confidence intervals for the success probability estimate in a binomial distribution. Literature goes back at least to Clopper & Pearson (Biometrika, 1934), whose method is used in R's binom.test() function. The Wikipedia page is informative.

Note that the confidence interval will usually be asymmetric, especially if your estimate for $p$ is far from 0.5. Symmetric confidence intervals are possible but have disadvantages as per Rob Hyndman's answer to the linked question.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.