Compute the probability of heads with each flip given an exponential model The model assumes 100% chance of heads before a coin is picked up and it drops exponentially each time the coin is handled.

prob_heads_exponential_decay(nflips, halflife)

Arguments

nflips

Total number of flips (heads and tails)

halflife

How many flips to get to 50% heads

Value

Vector of probability of heads for the first flip, second flip, etc.