This is an auxiliar function to obtain the logLik for NPGL.
logLik_NPGL(param = c(0, 0), x)
Arguments
- param
vector with the values for mu and sigma
- x
vector with the data
Examples
y <- rNPGL(n=100, mu=0.1, sigma=2)
logLik_NPGL(param=c(0, 0), x=y)
#> [1] -1429.269