powered by
fixest
Returns the residual degrees of freedom for a fitted fixest object
# S3 method for fixest df.residual(object, ...)
It returns an integer scalar giving the residuals degrees of freedom of the estimation.
A fixest estimation, e.g. from feols or feglm.
feols
feglm
Not currently used
The function degrees_freedom in fixest.
degrees_freedom
est = feols(mpg ~ hp, mtcars) df.residual(est)
Run the code above in your browser using DataLab