sample_nb: Sample from negative binomial model given a set of predictions
Description
Sample from negative binomial model given a set of predictions
Usage
sample_nb(pred, uncertainty_params)
Value
sampled_pred Object of the same dimensions as pred representing
a single draw from the negative binomial distribution
with the specified uncertainty params.