GrowthMPP | R Documentation |
Growth regression data used in \insertCitemagnus2010growth;textualWALS.
GrowthMPP
A data frame with 72 observations on 11 variables:
factor. Name of the country.
Average growth rate of GDP per capita from 1960 - 1996 at purchasing power parity.
Logarithm of GDP per capita in 1960.
Average real equipment investment share of GDP from 1960 - 1985 comprising investments in electrical and nonelectrical machinery (in relative prices constant across countries).
Enrollment rate for primary education in 1960.
Life expectancy at age 0 in 1960.
Average growth rate of population from 1960 - 1996.
Index for the overall maintenance of the rule of law ('law and order tradition').
Proportion of country's land area within geographical tropics.
Average of five different indices of ethnolinguistic fragmentation which is measured as the probability of two random people in a country not sharing the same language.
Fraction of Confucian population in 1970 and 1980.
The dataset is used in \insertCitemagnus2010growth;textualWALS to illustrate the WALS model averaging approach and combines the data used in \insertCitesala2004bace;textualWALS and \insertCitesala1997reg;textualWALS. See the references for more detailed descriptions and original sources of the variables.
WALS package for MATLAB (and Stata) provided on Jan Magnus' personal website. https://www.janmagnus.nl/items/WALS.pdf.
## Replicate Table 2 in Magnus et al. (2010)
# NOTE: prescale = FALSE, still used old version of WALS in Magnus et al. (2010).
# Not recommended anymore!
fitMPP <- wals(gdpgrowth ~ lgdp60 + equipinv + school60 + life60 + popgrowth |
law + tropics + avelf + confucian, data = GrowthMPP,
prior = laplace(), prescale = FALSE)
tableMPP <- cbind("coef" = coef(fitMPP), "se" = sqrt(diag(vcov(fitMPP))))
print(round(tableMPP, 4))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.