Learn R Programming

CopulaGAMM (version 0.4.1)

nbinom1cpdf: Negative binomial cdf/pdf and ders

Description

This function computes the cdf, pdf, and associated derivatives

Usage

nbinom1cpdf(z, th)

Value

out

Matrix of conditional cdf, derivative with respect to parameter, pdf,

Arguments

z

vector of responses

th

th[,1] is size > 0 and th[,2] is mean > 0; size does not have to be integer

Author

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

Examples

Run this code
out = nbinom1cpdf(0,c(1,0.5))

Run the code above in your browser using DataLab