coef.femlm | R Documentation |
This function extracts the coefficients obtained from a model estimated with femlm
.
## S3 method for class 'femlm'
coef(object, ...)
## S3 method for class 'femlm'
coefficients(object, ...)
object |
An object of class |
... |
Not currently used. |
The coefficients are the ones that have been found to maximize the log-likelihood of the specified model. More information can be found on femlm
help page.
Note that if the model has been estimated with clusters, to obtain the cluster coefficients, you need to use the function getFE
.
This function returns a named numeric vector.
Laurent Berge
femlm
, summary.femlm
, confint.femlm
, vcov.femlm
, res2table
, res2tex
, getFE
.
# simple estimation on iris data, clustering by "Species"
res = femlm(Sepal.Length ~ Sepal.Width + Petal.Length +
Petal.Width | Species, iris)
# the coefficients of the variables:
coef(res)
# the cluster coefficients:
getFE(res)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.