Welcome to The Log of Gravity page.
Reference: Santos Silva, J.M.C. and Tenreyro, Silvana (2006), The Log of Gravity, The Review of Economics and Statistics, 88(4), pp. 641-658.
An early version of the paper can be found at CEP/LSE (and an even earlier version at Boston Fed).
In this page you can find the data set used in the paper, codes to extend some of the results in the paper, and other useful information on the implementation of the PPML estimator.
If you cannot find here the answer to your question about The Log of Gravity, please do not hesitate to contact the authors; we will be only too pleased to help.
The dataset (in xls and dta formats) is available here.
Convergence problems:
RESET test:
Here is a
sample of the code to perform the test.
R-squared:
If you want to compute the R-squared for a
model estimated by PPML, you can used the method implemented
here.
PPML performance with many zeros:
Simulation evidence on the excellent performance of the PPML estimator
when the data has many zeros can be found in this
Economics Letters
paper.
Instrumental Variables:![]()
We have written a crude Stata command to estimate the
IV version of PPML. This estimator
was originally described in Windmeijer, F. and Santos Silva, J.M.C. (1997),
"Estimation
of Count Data Models with Endogenous regressors: An Application to Demand for Health Care," Journal of Applied Econometrics,
12(3), pp. 281-294.
If you want to compute 'undertrading' and 'overtrading' after fixed-effects regressions with panel data, you need to obtain a set of residuals with zero mean. Here is how to do it.
We have written a short reply to "The log of gravity revisited".
In this Annual Review of Economics paper we use the PPML estimator to estimate the trade effect of the euro; an earlier version is available here.
Seven FAQ's & myths about the Log of Gravity
According to Web-Counter, there have been
unique visitors to this page since December 15, 2008
Last updated on 4 December 2011