powered by
Binomial distributions. Refer to the vignette for better examples.
bnbvpmf (n, p.X, p.Y) bnbvcdf (n, p.X, p.Y)
Integer scalar, giving the number of trials.
Numeric scalar, giving the probability of the first event.
Numeric scalar, giving the probability of the second event.
These functions return functions.
bnbvpmf.f, bnbvcdf.f
# NOT RUN { #construct some binomial distributions bnbvpmf.f = bnbvpmf (10, 0.5, 0.5) bnbvcdf.f = bnbvcdf (10, 0.5, 0.5) # }
Run the code above in your browser using DataLab