dsampling {ProbBayes} | R Documentation |
Hypergeometric sampling density
Description
Hypergeometric sampling density
Usage
dsampling(sample_b, pop_N, pop_B, sample_n)
Arguments
sample_b |
number of black balls in sample |
pop_N |
number of balls in population |
pop_B |
number of black balls in population |
sample_n |
number of balls in sample |
Value
Value of hypergeometric sampling probability
Author(s)
Jim Albert
Examples
pop_N <- 10
pop_B <- 4
sample_n <- 3
sample_b <- 2
dsampling(sample_b, pop_N, pop_B, sample_n)
[Package ProbBayes version 1.1 Index]