logLik {blm}R Documentation

Log-likelihood of blm and lexpit objects.

Description

Method to access the log-likelihood of the fitted blm or lexpit model.

Details

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.

Methods

logLik

signature(object = "blm",...): Extract log-likelihood. Returns object of logLik class.

logLik

signature(object = "lexpit",...): Extract log-likelihood. Returns object of logLik class.

Author(s)

Stephanie Kovalchik s.a.kovalchik@gmail.com

See Also

logLik.lm

Examples


data(ccdata)

fit <- lexpit(y~female, y~packyear, data = ccdata,
       			weight = ccdata$w, strata = ccdata$strata)

logLik(fit)

AIC(fit)

[Package blm version 2022.0.0.1 Index]