Learn R Programming

fixest (version 0.12.1)

deviance.fixest: Extracts the deviance of a fixest estimation

Description

Returns the deviance from a fixest estimation.

Usage

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

Value

Returns a numeric scalar equal to the deviance.

Arguments

object

A fixest object.

...

Not currently used.

See Also

feols, fepois, feglm, fenegbin, feNmlm.

Examples

Run this code

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

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

Run the code above in your browser using DataLab