coef.fixest {fixest} | R Documentation |
fixest
estimationThis function extracts the coefficients obtained from a model estimated with femlm
, feols
or feglm
.
## S3 method for class 'fixest' coef(object, ...) ## S3 method for class 'fixest' coefficients(object, ...)
object |
A |
... |
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 the models from the estimations help pages: femlm
, feols
or feglm
.
Note that if the model has been estimated with clusters, to obtain the cluster coefficients, you need to use the function fixef.fixest
.
This function returns a named numeric vector.
Laurent Berge
See also the main estimation functions femlm
, feols
or feglm
. summary.fixest
, confint.fixest
, vcov.fixest
, esttable
, esttex
, fixef.fixest
.
# 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: fixef(res)