Computes the negative-binomial posterior predictive density from input parameter vectors corresponding to each possible run length for the current time point. Outputs a vector of probabilities for use in the accompanying poisson functions.
negbinpdf(x, a, b)the current data point
matrix of alpha params
matrix of beta params
Matrix of negative binomial pdf values corresponding to each possible run length, for use in accompanying poisson probability functions.