powered by
Auxiliary function to evaluate the log-likelihood of the mean-parametrized NPGL2 distribution.
logLik_NPGL2(param = c(log(3), log(2)), x)
vector with the values for mu and sigma
vector with the data
y <- rNPGL2(n = 100, mu = 3, sigma = 2) logLik_NPGL2(param = c(log(3), log(2)), x = y)
Run the code above in your browser using DataLab