View source: R/betafunctions.R
dcBinom | R Documentation |
Gives the density at x
under Lord's two-term approximation to the compound Binomial PMF.
dcBinom(x, N, k, p)
x |
Value of |
N |
The total number of trials. |
k |
Lord's k (see documentation for the |
p |
Probability of success for each trial. |
# Assume some variable follows a compound Binomial distribution with 100
# trials, a 50% probability of success on each trial, and Lord's k = 1. To
# compute the probability density at a specific point of the distribution
# (e.g., 50):
dcBinom(x = 50, N = 100, k = 1, p = .5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.