R/methods.R
deviance.fixest.Rd
Returns the deviance from a fixest estimation.
fixest
# S3 method for fixest deviance(object, ...)
A fixest object.
Not currently used.
Returns a numeric scalar equal to the deviance.
feols, fepois, feglm, fenegbin, feNmlm.
feols
fepois
feglm
fenegbin
feNmlm
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