logLik_CJ2: logLik function for CJ2
Description
Calculates logLik for CJ2 distribution.
Usage
logLik_CJ2(logparam = c(0, 0), x)
Value
returns the loglikelihood given the parameters and random sample.
Arguments
- logparam
vector with parameters in log scale.
- x
vector with the response variable.