tp_summary_app_3 {tradepolicy} | R Documentation |
Application 3 (Regional Trade Agreements Effects) Reporting Style
Description
Computes clustered standard errors, tests on coefficients with clustered standard errors and returns total RTAs effect with its associated standard error.
Usage
tp_summary_app_3(
formula,
data,
method = "ppml",
pair = "pair_id",
pair2 = "pair_id_2",
etfe = "exp_year",
itfe = "imp_year",
dist = "log_dist",
intr = "log_dist_intra",
brdr = "intl_brdr"
)
Arguments
formula |
Formula for the model |
data |
Tibble or data.frame |
method |
Regression method, which can be "ols" or "ppml" (default) |
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") |
Value
A list
Examples
# See the ebook
[Package tradepolicy version 0.7.0 Index]