May 19, 2025
What is the political resource curse?

How should we interpret this graph?

What is correct interpretation of these results?
# A tibble: 3 × 5
term estimate std.error statistic p.value
<chr> <dbl> <dbl> <dbl> <dbl>
1 (Intercept) 0.157 0.0318 4.95 1.84e- 6
2 lg_gdppc 0.152 0.0143 10.6 3.25e-20
3 oilOil Wealth -0.234 0.0394 -5.93 1.85e- 8
Yi=a+b1∗GDPpc+b2∗Oil+b3∗GDPpc∗Oil
Yi=a+b1∗GDPpc+b2∗Oil+b3∗GDPpc∗Oil
What happens if we set Oil Wealth to 0?
Yi=a+b1∗GDPpc+b2∗Oil+b3∗GDPpc∗Oil
Yi=a+b1∗GDPpc+b2∗0+b3∗GDPpc∗0
Yi=a+b1∗GDPpc
What happens if we set GDPpc to 0?
Yi=a+b1∗GDPpc+b2∗Oil+b3∗GDPpc∗Oil
Yi=a+b1∗0+b2∗Oil+b3∗Oil∗0
Yi=a+b2∗Oil
b2 is the association between oil and democracy, when GDP per capita = 0
Yi=a+b1∗GDPpc+b2∗1+b3∗GDPpc∗1
Yi=a+b1∗GDPpc+b2+b3∗GDPpc
Rearrange: Yi=a+(b1+b3)∗GDPpc+b2
Yi=a+(b1+b3)∗GDPpc+b2
b1+b3 is the association between GDP per capita and democracy, when oil wealth = 1
b3 is the difference in the association between GDP per capita and democracy for high oil wealth versus low oil wealth countries.
# A tibble: 4 × 5
term estimate std.error statistic p.value
<chr> <dbl> <dbl> <dbl> <dbl>
1 (Intercept) 0.135 0.0341 3.97 1.10e- 4
2 lg_gdppc 0.164 0.0160 10.3 2.33e-19
3 oilOil Wealth -0.0848 0.0949 -0.894 3.73e- 1
4 lg_gdppc:oilOil Wealth -0.0609 0.0354 -1.72 8.70e- 2
^Yi = .138 + .164 * GDPpci + (-0.085) * Oili + (-0.0607) * GDPpci * Oili
Relationship between GDP and democracy without oil: 0.164
Relationship with oil: 0.164−0.0607=0.1033
Wealth predicts greater democracy, but to a lesser degree when that wealth is driven by oil wealth
Does GDP have a lower relationship to democracy in oil rich countries?
Is 0.164 without oil different from 0.1033 with oil?
We can interpret the p-value in the same way as we learned previously. Same with the 95 percent confidence intervals.
# A tibble: 4 × 6
term estimate std.error p.value conf.low conf.high
<chr> <dbl> <dbl> <dbl> <dbl> <dbl>
1 (Intercept) 0.135 0.034 0 0.068 0.202
2 lg_gdppc 0.164 0.016 0 0.133 0.196
3 oilOil Wealth -0.085 0.095 0.373 -0.272 0.103
4 lg_gdppc:oilOil Wealth -0.061 0.035 0.087 -0.131 0.009
95% Confidence Interval: [-0.131, 0.009]: mostly negative
p-value of interaction term: 0.089
Is gender discrimination in call backs different for those with or without a college degree?
library(openintro)
linear_reg() %>%
set_engine("lm") %>%
fit(received_callback ~ gender*college_degree, data = resume) %>%
tidy()# A tibble: 4 × 5
term estimate std.error statistic p.value
<chr> <dbl> <dbl> <dbl> <dbl>
1 (Intercept) 0.0796 0.00775 10.3 1.71e-24
2 genderm 0.0463 0.0247 1.88 6.04e- 2
3 college_degree 0.00429 0.00946 0.453 6.51e- 1
4 genderm:college_degree -0.0635 0.0267 -2.38 1.74e- 2
# A tibble: 4 × 5
term estimate std.error statistic p.value
<chr> <dbl> <dbl> <dbl> <dbl>
1 (Intercept) 0.0796 0.00775 10.3 1.71e-24
2 genderm 0.0463 0.0247 1.88 6.04e- 2
3 college_degree 0.00429 0.00946 0.453 6.51e- 1
4 genderm:college_degree -0.0635 0.0267 -2.38 1.74e- 2
^Yi = .08 + .05 * Mi + 0.004 * Colli + (-0.06) * Mi * Colli
^Yi = .08 + .05 * Mi + 0.004 * Colli -0.06 * Mi * Colli
What is the predicted impact of being male (relative to female) for people without a college degree (Colli=0)?
0.05 increase in the probability of getting a call back
^Yi = .08 + .05 * Mi + 0.004 * Colli -0.06 * Mi * Colli
What is the impact of being male (relative to female) for people with a college degree (Colli=1)?
0.05 + (-0.06) = -0.01 = 0.01 decrease in the probability of getting a call back
^Yi = .08 + .05 * Mi + 0.004 * Colli -0.06 * Mi * Colli
What is the predicted call back rate for women without a college degree?
The intercept!
^Yi = .08 + .05 * 0 + 0.004 * 0 + (-0.06) * 0 * 1 = 0.08 + 0.004 = 0.08
^Yi = .08 + .05 * Mi + 0.004 * Colli -0.06 * Mi * Colli
What is the predicted call back rate for men without a college degree?
^Yi = .08 + .05 * 1 + 0.004 * 0 + (-0.06) * 0 * 1 = 0.08 + 0.05 = 0.13
^Yi = .08 + .05 * Mi + 0.004 * Colli -0.06 * Mi * Colli
What is the predicted call back rate value for men with a college degree?
^Yi = .08 + .05 * 1 + 0.004 * 1 + (-0.06) * 1 * 1 = 0.074
^Yi = .08 + .05 * Mi + 0.004 * Colli -0.06 * Mi * Colli
What is the predicted call back rate for women with a college degree?
^Yi = .08 + .05 * 0 + 0.004 * 1 + (-0.06) * 0 * 1 = 0.08 + 0.004 = 0.084
Is the difference in gender discrimination in the two education groups likely to have happened due to chance?
What is the null hypothesis? The alternative?
# A tibble: 4 × 6
term estimate std.error p.value conf.low conf.high
<chr> <dbl> <dbl> <dbl> <dbl> <dbl>
1 (Intercept) 0.08 0.008 0 0.064 0.095
2 genderm 0.046 0.025 0.06 -0.002 0.095
3 college_degree 0.004 0.009 0.651 -0.014 0.023
4 genderm:college_degree -0.063 0.027 0.017 -0.116 -0.011
p-value is 0.0174: we would reject the null hypothesis of no difference
Conclusion: The impact of being male relative to female on call back rates is different for those with and without a college degree.

