Skip to contents

Auxiliary function to compute the log-likelihood of the GL2 distribution.

Usage

logLik_GL2(param = c(0, 0), x)

Arguments

param

Numeric vector containing the values of the parameters

x

Numeric vector containing the observations.

Examples

y <- rGL2(n = 100, mu = 3, sigma = 1.2)
logLik_GL2(param = c(0, 0), x = y)
#> [1] -36.40098