Skip to contents

Returns a single-row summary of model-level statistics from a run_did() result: r.squared, adj.r.squared, within.r.squared, sigma, nobs, AIC, BIC, and logLik, in the column layout of broom::glance() on a fixest model.

Usage

glance.did_result(x, ...)

Arguments

x

A did_result object returned by run_did().

...

Unused; kept for compatibility with the broom::glance() generic.

Value

A one-row tibble of model-level statistics.

Examples

if (FALSE) { # \dontrun{
res <- run_did(df, outcome = y, treatment = D, fe = ~ id + year)
broom::glance(res)
} # }