deviance.fixest: Extracts the deviance of a fixest estimation

View source: R/methods.R

deviance.fixestR Documentation

Extracts the deviance of a fixest estimation

Description

Returns the deviance from a fixest estimation.

Usage

## S3 method for class 'fixest'
deviance(object, ...)

Arguments

object

A fixest object.

...

Not currently used.

Value

Returns a numeric scalar equal to the deviance.

See Also

feols, fepois, feglm, fenegbin, feNmlm.

Examples


est = feols(Petal.Length ~ Petal.Width, iris)
deviance(est)

est_pois = fepois(Petal.Length ~ Petal.Width, iris)
deviance(est_pois)


fixest documentation built on June 22, 2024, 9:12 a.m.