Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

binomialCDFR(0, n, p) not tying out to 1 - binomialCDF(0, n, p) #50

Open
jmh530 opened this issue Jun 29, 2022 · 0 comments
Open

binomialCDFR(0, n, p) not tying out to 1 - binomialCDF(0, n, p) #50

jmh530 opened this issue Jun 29, 2022 · 0 comments

Comments

@jmh530
Copy link

jmh530 commented Jun 29, 2022

binomialCDFR(0, n, p) should tie out to 1 - binomialCDF(0, n, p), but it doesn't look like it does. I think that branch should return something like 1 - pow(1 - p, n)

return pow(p, cast(double) n);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant