tp_summary_app_2: Application 2 (The "Distance Puzzle" Resolved) Reporting...

View source: R/summaries.R

tp_summary_app_2R Documentation

Application 2 (The "Distance Puzzle" Resolved) Reporting Style

Description

Computes clustered standard errors, tests on coefficients with clustered standard errors and uses the delta method to obtain changes in time-based distance estimated coefficients.

Usage

tp_summary_app_2(
  formula,
  data,
  method = "ppml",
  pair = "pair_id",
  etfe = "exp_year",
  itfe = "imp_year",
  dist = "log_dist",
  intr = "log_dist_intra",
  csfe = "intra_pair"
)

Arguments

formula

Formula for the model

data

Tibble or data.frame

method

Regression method (lm or glm)

pair

Inter-national fixed effects column (defaults to "pair_id")

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")

csfe

Country-specific fixed effects (defaults to "intra_pair")

Value

A list

Examples

# See the ebook


pachamaltese/tradepolicy documentation built on March 25, 2024, 1:57 p.m.