Skip to contents

Returns the deviance from a fixest estimation.

Usage

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

Arguments

object

A fixest object.

...

Not currently used.

Value

Returns a numeric scalar equal to the deviance.

See also

Examples


est = feols(Petal.Length ~ Petal.Width, iris)
deviance(est)
#> [1] 33.84475

est_pois = fepois(Petal.Length ~ Petal.Width, iris)
deviance(est_pois)
#> [1] 19.18111