This function defines a closure, where x
will be the object
passed to it.
boutsMLEll.chooser(x, x0, transformed = TRUE).bouts2MLEll(x, p, lambda0, lambda1)
.bouts3MLEll(x, p0, p1, lambda0, lambda1, lambda2)
ll.chooser
returns the negative log likelihood function
of the joint distribution.
numeric vector
numeric vector
numeric vector of independent data to be described by the function.
numerical one-dimensional vector of coefficients.
logical indicating whether coefficients need to be transformed back to original scale to compute the negative log likelihood.
numeric: parameters of the model.
numeric: parameters of the model.
.bouts2MLEll
: Log likelihood function in a 2-process Poisson
mixture
.bouts3MLEll
: Log likelihood function in a 3-process Poisson
mixture