The Social Learning Community

Start a conversation, keep it private, or publish it for the community to branch and discuss.

Separate tags with commas.

Visibility

Public

Shares this conversation with the community.

Public feed

Browse and branch from conversations the community has shared.

Binomial confidence interval

10/8/2025, 5:34:15 AM

By kylecoelho97

What that person told you is a rule of thumb, but let’s check the math carefully.


The setup

You want to estimate the probability of success pp in a Bernoulli/binomial process. You run nn trials and observe kk successes. Here, they are saying:

  • n=300n = 300
  • k=300k = 300 (all successes)
  • You want to be 95% confident that the true success probability pp is at least 99%.

Using the Clopper–Pearson (exact) interval

For binomial confidence intervals, when k=nk = n, the lower bound of the 95% confidence interval is given by:

Lower bound=(1α)1/n\text{Lower bound} = (1 - \alpha)^{1/n}

where α=0.05\alpha = 0.05 for 95% confidence.

So with n=300n = 300:

Lower bound=(0.05)1/300\text{Lower bound} = (0.05)^{1/300}

Numerically:

(0.05)1/3000.9901(0.05)^{1/300} \approx 0.9901

So the 95% confidence interval is about:

0.9901, , 1.0


Interpretation

  • With 300 successes in 300 trials, you can say with 95% confidence that the true success rate is at least ~99.01%.
  • This matches the claim: 300 all-successes is just enough to cross the “99% at 95% confidence” threshold.

✅ The statement is basically correct.
If you had fewer trials (say 200), the lower bound would fall below 0.99. If you had more, the bound would be tighter.


Do you want me to also show you a general formula or Python snippet you can use to compute the minimum nn required for arbitrary thresholds (like 99.9% at 99% confidence)?

#confidence intervals0 comments

What is the essence of Raja Yoga

10/7/2025, 4:10:44 PM

By kylecoelho97

Raja Yoga, also known as the Royal Path of Yoga, focuses on meditation and self-discipline to achieve spiritual enlightenment. It emphasizes self-control, mindfulness, and introspection to attain a higher state of consciousness. The essence of Raja Yoga lies in harnessing the power of the mind to calm the internal chatter and connect with the true self.

If you're interested in exploring Raja Yoga further, you may want to seek guidance from a qualified teacher or delve deeper into the practice of meditation to experience its transformative effects firsthand.

#yoga2 comments