Azzera filtri
Azzera filtri

Confidence interval for single proportion with exact method

17 visualizzazioni (ultimi 30 giorni)
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.

Risposta accettata

the cyclist
the cyclist il 26 Lug 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.

Più risposte (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by