I have this problem that I have been trying to figure out all week and can't seem to get.(adsbygoogle = window.adsbygoogle || []).push({});

I have a process that produces one of two outcomes "OK" (in some unknown porportion: p) or "NOT OK" (in porportion q = 1-p). Lets say I ran the process [x] times (like 20) in a row and it reported "OK" each time. How can I calculated a 1-sided (or 2-sided) 95% confidence interval for the value of p?

I think I should be assigning a value of "1" to "OK" and "0" to "NOT OK" and then applying the conventional confidence interval calculations using the t-distribution. The problem I run into is that all I observe are "OK" then my std deviation goes to 0 and the whole thing falls apart.

Is there another method? What am I missing?

Thanks, much appreciated.

**Physics Forums - The Fusion of Science and Community**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# How to calculate confidence limits in bernoulli trials with only one outcome.

Loading...

Similar Threads - calculate confidence limits | Date |
---|---|

Calculating the confidence interval of your data | Sep 5, 2014 |

Calculating confidence level intervals. | Jul 11, 2012 |

Calculating standard deviation from a confidence interval? | Jan 6, 2012 |

How to calculate confidence interval for a CDF curve | Jan 18, 2011 |

How to calculate confidence | Jul 4, 2010 |

**Physics Forums - The Fusion of Science and Community**