Calculate the log-likelihood of the predicted values. If fixed values were used to obtain the tdmorefit, they are considered estimated and are included in the population log-likelihood.

# S3 method for tdmorefit
logLik(object, type = c("ll", "pop", "pred"), par = coef(object), ...)

Arguments

object

A tdmorefit object

type

log-lokelihood function type, 3 possible values: 'pop', 'pred' or 'll' (= pop + pred)

par

the parameter set to evaluate in log likelihood

...

ignored

Value

A numeric value