Stata 15 help for binomialtail()
[FN] Statistical functions
Function
binomialtail(n,k,p)
Description: the probability of observing floor(k) or more successes
in floor(n) trials when the probability of a success on
one trial is p; 1 if k < 0; or 0 if k > n
Domain n: 0 to 1e+17
Domain k: 8e+307 to 8e+307; interesting domain is 0 < k < n
Domain p: 0 to 1
Range: 0 to 1
