nbinom1cpdf function

Negative binomial cdf/pdf and ders

Negative binomial cdf/pdf and ders

This function computes the cdf, pdf, and associated derivatives

nbinom1cpdf(z, th)

Arguments

  • z: vector of responses
  • th: th[,1] is size > 0 and th[,2] is mean > 0; size does not have to be integer

Returns

  • out: Matrix of conditional cdf, derivative with respect to parameter, pdf,

Examples

out = nbinom1cpdf(0,c(1,0.5))

Author(s)

Pavel Krupskii and Bruno N. Remillard, January 20, 2022

  • Maintainer: Bruno N Remillard
  • License: GPL (>= 2)
  • Last published: 2023-11-30

Useful links