coeftable.default {fixest} | R Documentation |
Extracts the coefficients table from an estimation
Description
Default method to extracts the coefficients table and its sub-components from an estimation.
Usage
## Default S3 method:
coeftable(object, keep, drop, order, ...)
## Default S3 method:
se(object, keep, drop, order, ...)
## Default S3 method:
tstat(object, keep, drop, order, ...)
## Default S3 method:
pvalue(object, keep, drop, order, ...)
## S3 method for class 'matrix'
se(object, keep, drop, order, ...)
Arguments
object |
The result of an estimation (a fitted model object). Note that this function
is made to work with |
keep |
Character vector. This element is used to display only a subset of variables. This
should be a vector of regular expressions (see |
drop |
Character vector. This element is used if some variables are not to be displayed.
This should be a vector of regular expressions (see |
order |
Character vector. This element is used if the user wants the variables to be
ordered in a certain way. This should be a vector of regular expressions (see |
... |
Other arguments that will be passed to First the method summary is applied if needed, then the coefficients table is extracted from its output. The default method is very naive and hopes that the resulting coefficients table
contained in the summary of the fitted model is well formed: this assumption is very
often wrong. Anyway, there is no development intended since the coeftable/se/pvalue/tstat
series of methods is only intended to work well with |
Value
Returns a matrix (coeftable
) or vectors.
Functions
-
se(default)
: Extracts the standard-errors from an estimation -
tstat(default)
: Extracts the standard-errors from an estimation -
pvalue(default)
: Extracts the p-values from an estimation -
se(matrix)
: Extracts the standard-errors from a VCOV matrix
Examples
# NOTA: This function is really made to handle fixest objects
# The default methods works for simple structures, but you'd be
# likely better off with broom::tidy for other models
est = lm(mpg ~ cyl, mtcars)
coeftable(est)
se(est)