logLik.femlm {FENmlm} | R Documentation |
This function extracts the log-likelihood from a femlm
estimation.
## S3 method for class 'femlm' logLik(object, ...)
object |
An object of class |
... |
Not currently used. |
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
.
It returns a numeric scalar.
Laurent Berge
femlm
, AIC.femlm
, BIC.femlm
, nobs.femlm
.
# simple estimation on iris data, clustering by "Species" res = femlm(Sepal.Length ~ Sepal.Width + Petal.Length + Petal.Width | Species, iris) nobs(res) logLik(res)