50% off | Unlimited Data & AI Learning

Last chance! 50% off unlimited learning

Sale ends in


dupiR (version 1.2.1)

compute_posterior_with_replacement: Compute posterior probability with replacement

Description

Compute posterior probability with replacement

Usage

compute_posterior_with_replacement(n, counts, f_product, denominator)

Value

posterior probability of n

Arguments

n

integer for which to compute the posterior

counts

integer vector of counts

f_product

product of (1-fractions)

denominator

normalization constant returned by compute_normalization_constant

See Also

compute_normalization_constant