Hacker News new | past | comments | ask | show | jobs | submit login

I just realised that using * twice to represent a power shows up as just a single * - here is the correct version (the numbers are anyway correct):

Prob(0 cases) = (1 - p)^N = 0.9450...

Prob(1 case) ~= p * N * (1 - p)^N = 0.0534...

Prob(2 cases) ~= (p^2) * (N^2 / 2) * (1 - p)^N = 0.0015...

My apologies for that.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: