logLik.femlm {FENmlm} | R Documentation |
Extracts the log-likelihood
Description
This function extracts the log-likelihood from a femlm
estimation.
Usage
## S3 method for class 'femlm'
logLik(object, ...)
Arguments
object |
An object of class |
... |
Not currently used. |
Details
This function extracts the log-likelihood based on the model fit. You can have more information on the likelihoods in the details of the function femlm
.
Value
It returns a numeric scalar.
Author(s)
Laurent Berge
See Also
femlm
, AIC.femlm
, BIC.femlm
, nobs.femlm
.
Examples
# simple estimation on iris data, clustering by "Species"
res = femlm(Sepal.Length ~ Sepal.Width + Petal.Length +
Petal.Width | Species, iris)
nobs(res)
logLik(res)
[Package FENmlm version 2.4.4 Index]