Computes clustered standard errors, tests on coefficients with clustered standard errors and obtains RESET test p-value.
yotov_model_summary(
formula,
data,
method = "lm",
pair = "pair_id",
etfe = "exp_year",
itfe = "imp_year"
)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")
Exporter time fixed effects column (defaults to "exp_year")
Importer time fixed effects column (defaults to "imp_year")