Confidence interval for single proportion with exact method
11 views (last 30 days)
Show older comments
I am trying to compute confidence interval for single proportion using exact method based on binomial distribution with matlab. For example, if you look at chapter 510 on the NCSS user manual it describes (<http://www.ncss.com/pdf/manuals/NCSSUG5.pdf>) what I am trying calculate. I would think that the statistics toolbox would have this capability, but I can't seem to locate it. Please let me know if you this function, or how I might be able to replicate it with Matlab and the stats toolbox. Thanks.
0 Comments
Accepted Answer
the cyclist
on 26 Jul 2012
Sounds like you want the binofit() function. It uses the Clopper-Pearson method to calculate the confidence intervals. This Wikipedia page has info on the method, and the extent to which it is "exact": http://en.wikipedia.org/wiki/Binomial_proportion_confidence_interval.
0 Comments
More Answers (0)
See Also
Categories
Find more on Graphics Performance in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!