Learn R Programming

⚠️There's a newer version (1.1) of this package.Take me there.

gravity (version 0.8.5)

Estimation Methods for Gravity Models

Description

A wrapper of different standard estimation methods for gravity models. This package provides estimation methods for log-log models and multiplicative models.

Copy Link

Version

Install

install.packages('gravity')

Monthly Downloads

416

Version

0.8.5

License

GPL-3

Maintainer

Mauricio S

Last Published

September 20th, 2018

Functions in gravity (0.8.5)

nbpml

Negative Binomial Pseudo Maximum Likelihood (NBPML)
tobit

Left-censored Tobit model with known threshold
fixed_effects

Fixed Effects
nls

Non-linear Least Squares (NLS)
sils

Structural Iterated Least Squares (SILS)
tetrads

Tetrads
ppml

Poisson Pseudo Maximum Likelihood (PPML)
ols

Ordinary Least Squares (OLS)
ddm

Double Demeaning (DDM)
gpml

Gamma Pseudo Maximum Likelihood (GPML)
bvw

Bonus vetus OLS (BVW)
gravity_zeros

Gravity dataset without zero trade flows
et_tobit

Eaton1995;textualgravity threshold Tobit model (ET Tobit)
bvu

Bonus vetus OLS (BVU)
gravity-exports

gravity exported operators and S3 methods The following functions are imported and then re-exported from the gravity package to avoid listing Depends of gravity.
gravity_no_zeros

Gravity dataset without zero trade flows
ek_tobit

Eaton2001;textualgravity Tobit model (EK Tobit)