Negative binomial cdf/pdf and ders
This function computes the cdf, pdf, and associated derivatives
nbinom1cpdf(z, th)
z
: vector of responsesth
: th[,1] is size > 0 and th[,2] is mean > 0; size does not have to be integerout = nbinom1cpdf(0,c(1,0.5))
Pavel Krupskii and Bruno N. Remillard, January 20, 2022
Useful links