Computes clustered standard errors, tests on coefficients with clustered standard errors and returns total RTAs effect with its associated standard error.
1 2 3 4 5 6 7 8 9 10 11 12 | 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"
)
|
formula |
A formula for the model |
data |
A tibble or data.frame |
method |
Regression method, which can be "lm" (default) or "glm" |
pair |
Inter-national fixed effects column (defaults to "pair_id") |
pair2 |
Intra-national fixed effects column (defaults to "pair_id_2") |
etfe |
Exporter time fixed effects column (defaults to "exp_year") |
itfe |
Importer time fixed effects column (defaults to "imp_year") |
dist |
Distance column (defaults to "log_dist") |
intr |
Intra-national distance column (defaults to "log_dist_intra") |
brdr |
Inter-national borders column (defaults to "intl_brdr") |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.