yotov_model_summary: Traditional Gravity Estimates Reporting Style

Description Usage Arguments

View source: R/chapter1.R

Description

Computes clustered standard errors, tests on coefficients with clustered standard errors and obtains RESET test p-value.

Usage

1
2
3
4
5
6
7
8
yotov_model_summary(
  formula,
  data,
  method = "lm",
  pair = "pair_id",
  etfe = "exp_year",
  itfe = "imp_year"
)

Arguments

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

etfe

Exporter time fixed effects column (defaults to "exp_year")

itfe

Importer time fixed effects column (defaults to "imp_year")


yotover documentation built on Jan. 28, 2021, 9:06 a.m.