Skip to contents

Returns a single-row summary of model-level statistics from a run_did() result. Delegates to broom::glance.fixest() which provides nobs, r.squared, adj.r.squared, within.r.squared, AIC, BIC, and related statistics.

Usage

glance.did_result(x, ...)

Arguments

x

A did_result object returned by run_did().

...

Additional arguments passed to broom::glance.fixest().

Value

A one-row data frame of model-level statistics.

Examples

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