Different results with Binomial Probability, what is the correct?

37 Views Asked by At

I was searching a way to calculate the binomial probability by code, and I found these two calculators online by they return different results.
Which is the correct one and why?

Example params: p=0.5 n=18 k=14

https://stattrek.com/online-calculator/binomial.aspx

http://www.ciphersbyritter.com/JAVASCRP/BINOMPOI.HTM#Binomial

enter image description here

1

There are 1 best solutions below

1
On BEST ANSWER

With the given data of $(18,.5,14)$ the correct answer for $pdf$ is $$0.011672974$$ And for $cdf$ is $$ 0.996231079$$