P015-E001 Moderate
The country contributions reported for the Jensen illustration were computed from each country’s mean weight and not from the sum that the text describes; with sums, the twelve largest contributors hold 56% of the weight, five of the twelve named countries are replaced, and 34 countries are needed to reach 90%.
Section “Effects of Regime Type on FDI”, p. 258 (PDF p. 9): left column, from “To measure the extent” to the list of twelve countries; right column, first paragraph; Figure 1, right panel
See also under Formal statements (Lean): P015-T23
As printed
To measure the extent to which a given country contributes to the effect estimate, we compute the analogue to the left-hand side of Expression (9), taking the sum of the weights for that country (summing over all time periods) and dividing it by the sum of all the weights in the sample. The right panel in Figure 1 shows the results. Darker shading means a larger contribution by that country, and white shading means a small or negligible contribution. From the sample of 114 countries, 12 contribute over half (51%) of the weight used to construct the estimate of the effect of regime type on FDI, and 32 contribute 90% of the weight. The top 12 contributing countries, in descending order of their weights, are Uruguay, Hungary, Niger, Philippines, Argentina, Madagascar, Pakistan, Zimbabwe, Poland, Peru, Lesotho, and Belarus.
Importantly, the lowest-contributing 14 countries combine to contribute less than 0.05% of the weight used to construct the effect estimate. These lowest-contributing countries, in ascending order of their weights, are Central African Republic, Albania, Germany, Russia, Haiti, Benin, South Africa, Yemen, Honduras, DR Congo, Czech Republic, Lithuania, China, and Latvia.
The problem
The page defines the contribution of a country as the sum of its weights over all its years, divided by the sum of all the weights in the sample. This is the left side of Expression (9) with the indicator of the country. The numbers that follow were computed differently: from the mean weight of each country, divided by the sum of the 114 country means. The replication script takes the country mean (tapply(w, jensen.cc$country, mean), line 33) and shades the right panel of Figure 1 with it. Let be the share of country by sums and its number of observed years. Then the index of country means is
and for every country only if all countries with positive weight are observed for the same number of years. In this panel ranges from 1 to 22, and the index of country means raises the countries that are observed in few years. Niger, with 4 years, is third on the printed list and 27th by its sum. Under the definition that the page gives, the printed statements change as follows. The twelve named countries hold 47.6% of the weight, which is less than half. Five of them (Niger, Madagascar, Poland, Lesotho and Belarus) are not among the twelve largest contributors, and the order of the other seven changes. The largest 32 countries hold 89.2% of the weight, and 34 are needed to pass 90%. The list of the 14 lowest contributors changes in order and in one member: Namibia replaces China (its tenth name is a separate error, P015-E002). The regional summary and the advice on case selection in the right column were written from the printed list and the map.
Evidence an exact counterexample
I checked the exact recalculation from the authors' data. The regression of regime type on the stated controls was solved in rational arithmetic for all 1,630 country-years and 114 countries, and the residuals satisfy all 123 normal equations exactly. The index of country means reproduces the printed twelve in the printed order, with a share of 50.91%, and it reproduces the printed list of the 14 lowest once its tenth name is corrected (see P015-E002). The shares by country sums are in the last column of the table. Under sums, 10 countries hold 49.7% and 11 hold 53.1%. The printed 90% rounds the mean-based share of 89.71%; it does not assert a minimum of 32 countries to reach at least 90%.
| Quantity | As printed | Means | Sums |
|---|---|---|---|
| Twelve largest countries | 51% | 50.91% | 56.33% |
| Twelve countries named in the text | 51% | 50.91% | 47.58% |
| Largest 32 countries | 90% | 89.71% | 89.25% |
| Largest 33 countries | – | 90.25% | 89.84% |
| Largest 34 countries | – | 90.72% | 90.35% |
| Lowest 14 countries | 0.0458% | 0.0107% |
What survives
The finding that few countries carry the estimate survives: 12 of 114 countries hold 56.3% of the weight, 11 pass one half, and 34 pass 90%. The 14 lowest contributors hold 0.011%, inside the printed bound of 0.05%, and Russia, China and Germany each hold less than 0.005%. The aggregation by country takes place after the regression is fitted, so the OLS coefficient and the weights do not change. The left panel of Figure 1, the definition of the weights and the application to Gerber and Huber (2010) are not touched by this error. What changes is the right panel of Figure 1, the two lists, the shares, and the regional summary. Niger, Madagascar, Poland, Lesotho and Belarus leave the twelve, and Chile, Fiji, Zambia, Ecuador and Nepal enter. If the printed numbers were kept, the index would have to be described as a country’s average weight per observed year, which is a different quantity from the contribution that Expression (9) defines.
Corrected
To measure the extent to which a given country contributes to the effect estimate, we compute the analogue to the left-hand side of Expression (9), taking the sum of the weights for that country (summing over all time periods) and dividing it by the sum of all the weights in the sample. The right panel in Figure 1 shows the results. Darker shading means a larger contribution by that country, and white shading means a small or negligible contribution. From the sample of 114 countries, 12 contribute over half (56%) of the weight used to construct the estimate of the effect of regime type on FDI, and 34 contribute at least 90% of the weight. The top 12 contributing countries, in descending order of their weights, are Uruguay, Philippines, Pakistan, Hungary, Argentina, Peru, Zimbabwe, Chile, Fiji, Zambia, Ecuador, and Nepal.
Importantly, the lowest-contributing 14 countries combine to contribute less than 0.05% of the weight used to construct the effect estimate. These lowest-contributing countries, in ascending order of their weights, are Central African Republic and Albania (both with weight zero), Russia, Germany, Haiti, Honduras, Benin, South Africa, Yemen, Republic of the Congo, Czech Republic, Latvia, Lithuania, and Namibia.
In both lists the order of the countries that remain also changes. The right panel of Figure 1 is to be redrawn with shading proportional to the country sums, and the regional summary and the remarks on case selection are to be rewritten from the corrected lists. The exact shares are 56.3347% for the twelve largest contributors, 90.3453% for the largest 34 (the largest 33 hold 89.8429%), and 0.0107% for the lowest 14.
![Crop of seven lines of text at the foot of the left column of page 261. The passage reads: We can draw a connection between the positivity assumption and the results that we obtained above for multiple regression. The positivity assumption implies that Var[D_i given X_i = x] is greater than 0, for all values of x. Thus, when a multiple regression places (either approximately or exactly) no weight on a set of units with a given covariate profile, this result implies that positivity is violated and. Red outlines surround the word approximately and the words positivity is violated.](exhibits/P015-E006.png)
![Crop of twenty-three lines of text at the top of the right column of page 261, continuing the paragraph. It includes the sentences: In the Jensen (2003) study, many substantively important countries, including Russia and China, cannot be included in estimates of the causal effects of regime type on FDI. No consistent, extrapolation-free estimator of E[tau_i(d, d')] is available for any (d, d') if our interest is in the average over the entirety of the 114 countries in the nominal sample. Later: Of course, the effective sample that multiple regression generates is one for which positivity holds by construction. Red outlines surround the words No consistent, extrapolation-free estimator and the words positivity holds by construction.](exhibits/P015-E006-b.png)

![Crop of the top of the left column of page 265. The first two lines read: one substitutes the relevant predicted mean or inverse link function into the estimating equation. Red outlines surround these two lines. Below them are the logistic regression model, Pr[Y_i = 1 given D_i, X_i] = inverse logit of (alpha_ell + beta_ell D_i + X_i gamma_ell), the definition of W_i, and the estimating equation: the sum over i of W_i times (Y_i minus the inverse logit of W_i theta-hat) equals the zero vector of size 1 by (K+2).](exhibits/P015-E008-b.png)








![Crop of a short passage from the left column of page 265. The text reads: We may approximate the inverse logit function by taking a first-order Taylor expansion about logit(P_Y) = log[P_Y/(1 - P_Y)], where P_Y = Pr[Y_i = 1]. The display reads: inverse logit of a is approximately P_Y plus the fraction exp[logit(P_Y)] over [1 + logit(P_Y)] squared, times [a - logit(P_y)], which equals b + ca. Red outlines surround the denominator [1 + logit(P_Y)] squared and the symbol P with a lowercase subscript y in the last bracket. Below: where b = P_Y - P_Y(1 - P_Y) logit(P_Y) and the scale factor c = P_Y(1 - P_Y).](exhibits/P015-E010.png)
![Crop of the display 'Pr[Y 1 = 1] = inverse logit of alpha plus beta D i plus X i gamma', with three lines of text above and three below. A red box marks the symbol Y with subscript 1 on the left side.](exhibits/P015-E013.png)











![Crop of the lower part of the left column of page 265. It begins: Using the linearized inverse logit function, we may define approximate estimating equations. The display reads: the sum over i of psi(Y_i, W_i, theta-hat) is approximately the sum over i of psi-tilde(Y_i, W_i, theta-hat), which equals the sum over i of [W_i(Y_i - b - c W_i theta-hat)], which equals the zero vector of size 1 by (K+2). Red outlines surround the summand W_i(Y_i - b - c W_i theta-hat) and the final equality with the zero vector. Below: Without loss of generality, we may reframe the problem by defining an alternative coefficient vector theta-tilde = ((b + c alpha-hat), c beta-hat, c gamma-hat)', so that the sum of psi-tilde equals the sum of [W_i(Y_i - W_i theta-tilde)] equals zero, which are precisely the estimating equations for the OLS estimator.](exhibits/P015-E011.png)
![Crop of the foot of the left column of page 264. It begins: Now we consider the leverage. The leverage for unit i is h_ii = W_i (W'W)^(-1) W_i', where W_i and W are defined as in Appendix A. After normalizing by n, straightforward mathematical calculations obtain. Four displayed lines follow: E[n h_ii given D_i = 0, X_i = 0] = 7.43; E[n h_ii given D_i = 1, X_i = 0] = 4.21; E[n h_ii given D_i = 0, X_i = 1] = 1.71; E[n h_ii given D_i = 1, X_i = 1] = 4.21. Then: Applying the law of iterated expectations, E[n h_ii given X_i = 0] = 4.86, E[n h_ii given X_i = 1] = 2.38. Red outlines surround the left-hand sides of the six displayed equations, that is, the six conditional expectations of n h_ii.](exhibits/P015-E012.png)

![Crop of the first eight lines of text and one displayed line at the top of the left column of page 261. The text before the display ends: Formally, the positivity assumption is as follows. A displayed line follows, reading Pr[D_i = d given X_i = x] greater than 0, Pr[D_i = d-prime given X_i = x] greater than 0, and a red outline surrounds this display. Below it: for all values of x in the target population represented by the nominal sample.](exhibits/P015-N011.png)
My comment and the history of this entry
Suggested classification: Minor error.
My position My comment above; I suggested a Minor error.
The models’ position Under its natural reading, the passage also makes claims about the support of the endpoints and about what an estimator cannot do. These fail even though the regression theorem holds, so a reader who applies the stated diagnostic can be materially misled: Moderate.