nbinomcpdf {CopulaGAMM}R Documentation

Negative binomial cdf/pdf and ders

Description

This function computes the cdf, pdf, and associated derivatives

Usage

nbinomcpdf(z, th)

Arguments

z

vector of responses

th

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

Value

out

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

Author(s)

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

Examples

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

[Package CopulaGAMM version 0.4.1 Index]