Learn R Programming

DiscreteDists (version 1.1.3)

logLik_NPGL2: logLik_NPGL2

Description

Auxiliary function to evaluate the log-likelihood of the mean-parametrized NPGL2 distribution.

Usage

logLik_NPGL2(param = c(log(3), log(2)), x)

Arguments

param

vector with the values for mu and sigma

x

vector with the data

Examples

Run this code
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