Newloglik2 {censorcopula}R Documentation

likelihood function

Description

likelihood function used in intervalFitb()

Usage

Newloglik2(param, x, copula)

Arguments

param

Value of parameter in copula function

x

Inputted dataset

copula

Selected copula function

Details

none

Value

result

The result of log-likelihood function

Note

It's a internal log-likelihood function used in optim function

Author(s)

Yan Li

References

none

See Also

none

Examples

library(copula)

## generate sample
data <- rCopula(50, claytonCopula(2))

## return the value of log-likelihood funcion for selected params
Newloglik2(param=2, data, claytonCopula(2))


[Package censorcopula version 2.0 Index]