This is an auxiliar function to obtain the logLik for DPERKS.

logLik_DPERKS(logparam = c(0, 0), x)

Arguments

logparam

vector with the values for mu sigma

x

vector with the data

Examples

y <- rDPERKS(n=100, mu=0.5, sigma=0.5)
logLik_DPERKS(logparam=c(0, 0), x=y)
#> [1] -256.4143