logLik {blm} | R Documentation |
blm
and lexpit
objects.Method to access the log-likelihood of the fitted blm
or lexpit
model.
The return object is of the logLik
class. This method is registered with the stats4 package and can therefore be used with applicable methods like AIC and BIC.
Note that when weights are used in the model estimation, the logLik
is a pseduo-log-likelihood.
signature(object = "blm",...)
:
Extract log-likelihood. Returns object of logLik
class.
signature(object = "lexpit",...)
:
Extract log-likelihood. Returns object of logLik
class.
Stephanie Kovalchik s.a.kovalchik@gmail.com
data(ccdata)
fit <- lexpit(y~female, y~packyear, data = ccdata,
weight = ccdata$w, strata = ccdata$strata)
logLik(fit)
AIC(fit)