Learn R Programming

CopulaGAMM (version 0.4.1)

berncpdf: Bernoulli with p = 1/(1+exp(-th)) cdf/pdf and derivatives

Description

This function computes the cdf, pdf, and associated derivatives

Usage

berncpdf(z, th)

Value

out

Matrix of conditional cdf and pdf with derivative with respect to parameters

Arguments

z

vector of responses

th

linear combination of covariates (can be negative)

Author

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

Examples

Run this code
out = berncpdf(0,2.5)

Run the code above in your browser using DataLab