Compute probability of observations given an exponential decay model
d_coin_multiplicative( nheads, nflips, multiplier, log = FALSE, possibilities = get_possibilities(nheads, nflips), outside_bounds_is_NA = FALSE )
Number of heads
Total number of flips (heads and tails)
How much to multiply by each flip
If TRUE return log transformed probabilities.
All possible sequences of flips that lead to the observed number of heads
If TRUE, if any probability of heads is outside the bounds of probability, the function returns NA. Otherwise, it sets the value to the nearer bound.
The likelihood of the data (or log likelihood if log=TRUE)