Skip to contents

Returns the residual degrees of freedom for a fitted fixest object

Usage

# S3 method for fixest
df.residual(object, ...)

Arguments

object

A fixest estimation, e.g. from feols or feglm.

...

Not currently used

Value

It returns an integer scalar giving the residuals degrees of freedom of the estimation.

See also

The function degrees_freedom in fixest.

Examples


est = feols(mpg ~ hp, mtcars)
df.residual(est)
#> [1] 30