L_CNBFA_approx: Compute approximate copula likelihood with negative binomial...

Description Usage Arguments Value

Description

This function computes the approximated likelihood of a Gaussian copula with NB marginals. Integration in the calculation of the exact likelihood can be computationally expensive, especially in high dimensions, therefore this function provides us with an approximation of the integral.

Usage

1
L_CNBFA_approx(obs, size, mu, Gamma, logl = T)

Arguments

obs

vector. The data point.

size

vector. The estimated size parameter.

mu

vector. The estimated mean parameter.

Gamma

matrix. The estimated correlation matrix.

logl

logical. Should the output be log-likelihood?

Value

The (log-)likelihood.


gregorp90/RStan-package-test documentation built on May 26, 2019, 1:32 a.m.