Computes clustered standard errors, tests on coefficients with clustered standard errors and returns total RTAs effect with its associated standard error.
yotov_model_summary3(
formula,
data,
method = "lm",
pair = "pair_id",
pair2 = "pair_id_2",
etfe = "exp_year",
itfe = "imp_year",
dist = "log_dist",
intr = "log_dist_intra",
brdr = "intl_brdr"
)A formula for the model
A tibble or data.frame
Regression method, which can be "lm" (default) or "glm"
Inter-national fixed effects column (defaults to "pair_id")
Intra-national fixed effects column (defaults to "pair_id_2")
Exporter time fixed effects column (defaults to "exp_year")
Importer time fixed effects column (defaults to "imp_year")
Distance column (defaults to "log_dist")
Intra-national distance column (defaults to "log_dist_intra")
Inter-national borders column (defaults to "intl_brdr")