berncpdf {CopulaGAMM} | R Documentation |

## 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)
```

### Arguments

`z` |
vector of responses |

`th` |
linear combination of covariates (can be negative) |

### Value

`out` |
Matrix of conditional cdf and pdf with derivative with respect to parameters |

### Author(s)

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

### Examples

```
out = berncpdf(0,2.5)
```

[Package

*CopulaGAMM*version 0.4.1 Index]