tp_summary_app_1: Application 1 (Traditional Gravity Estimates) Reporting Style

View source: R/summaries.R

tp_summary_app_1R Documentation

Application 1 (Traditional Gravity Estimates) Reporting Style

Description

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

Usage

tp_summary_app_1(
  formula,
  data,
  method = "ppml",
  pair = "pair_id",
  etfe = "exp_year",
  itfe = "imp_year"
)

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

etfe

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

itfe

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

Value

A list

Examples

# See the ebook


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