glance_custom.fixest: Custom glances for fixest modelsummaries

View source: R/fixest.R

glance_custom.fixestR Documentation

Custom glances for fixest modelsummaries

Description

Add further glances to fixest modelsummaries using the modelsummary::glance_custom() customization interface.

Usage

## S3 method for class 'fixest'
glance_custom(x, ...)

Arguments

x

model or other R object to convert to single-row data frame

...

Further arguments passed to fixest::fitstat()'s ... argument.

Details

By default modelsummary::modelsummary() adds a lot of useful information to glances (fixed effects, VCOV types) but omits some others which are often important, and fixest::etable() makes their reporting easy. We extend the custom glance with the following:

  • Family (OLS, Poisson, etc.)

  • IV fit statistics. Note, this is likely to require further processing with a custom modelsummary::gof_map to clean up names of statistics and which instrument they refer to. Due to the way modelsummary handles ...s, we cannot pass on further arguments, therefore we include all but Wald tests. They are omitted because their value depends on the VCOV type which, cannot be passed on either. (fixest::fitstat() lists Wald and DoF for t-tests (aka G) as two examples where VCOV is needed, checking the source confirms that it is not used anywhere else.)


svraka/asmisc documentation built on June 12, 2025, 12:04 p.m.