Commit
·
7b9c273
1
Parent(s):
d552dff
add 106
Browse files- 106/paper.pdf +3 -0
- 106/replication_package/01_Country_Table1/CrossCountry_Analysis_Table1.do +623 -0
- 106/replication_package/01_Country_Table1/data/CountryData.csv +3 -0
- 106/replication_package/01_Country_Table1/data/CountryData.dta +3 -0
- 106/replication_package/01_Country_Table1/tables/~$bleB1_Church.rtf +0 -0
- 106/replication_package/01_Country_Table1/x_ols2.ado +189 -0
- 106/replication_package/02_Ethnicity_Table2/Ethnicity_Analysis_Table2.do +76 -0
- 106/replication_package/02_Ethnicity_Table2/data/EthnographicAtlas.csv +3 -0
- 106/replication_package/02_Ethnicity_Table2/data/EthnographicAtlas.dta +3 -0
- 106/replication_package/03_HistoricalUrbanAnalysis_Table3_Table4/ChurchExposureAndCommune_Table3.do +263 -0
- 106/replication_package/03_HistoricalUrbanAnalysis_Table3_Table4/IncestLegislationExposureAndCommune_Table4.do +96 -0
- 106/replication_package/03_HistoricalUrbanAnalysis_Table3_Table4/data/IncestLegislation.csv +3 -0
- 106/replication_package/03_HistoricalUrbanAnalysis_Table3_Table4/data/IncestLegislation.dta +3 -0
- 106/replication_package/03_HistoricalUrbanAnalysis_Table3_Table4/data/urbanflexible.csv +3 -0
- 106/replication_package/03_HistoricalUrbanAnalysis_Table3_Table4/data/urbanflexible.dta +3 -0
- 106/replication_package/03_HistoricalUrbanAnalysis_Table3_Table4/tables/~$ble4_Panel_1.rtf +0 -0
- 106/replication_package/04_EuropeanRegions_Table5/Analysis_EuropeanRegions.do +110 -0
- 106/replication_package/04_EuropeanRegions_Table5/data/EuropeanRegions2.csv +3 -0
- 106/replication_package/04_EuropeanRegions_Table5/data/EuropeanRegions2.dta +3 -0
- 106/replication_package/05_SecondGenerationImmigrants_Table6/01_Table6/AnalysesSecondGeneration.do +143 -0
- 106/replication_package/05_SecondGenerationImmigrants_Table6/01_Table6/data/ESS_immigrants.csv +3 -0
- 106/replication_package/05_SecondGenerationImmigrants_Table6/01_Table6/data/ESS_immigrants.dta +3 -0
- 106/replication_package/05_SecondGenerationImmigrants_Table6/02_TableD4/Analyses_AncestralEthnicity.do +52 -0
- 106/replication_package/05_SecondGenerationImmigrants_Table6/02_TableD4/data/SecondGen_AncetralEthnicity.csv +3 -0
- 106/replication_package/05_SecondGenerationImmigrants_Table6/02_TableD4/data/SecondGen_AncetralEthnicity.dta +3 -0
- 106/replication_package/06_Appendix_Italy/Italy.do +30 -0
- 106/replication_package/06_Appendix_Italy/data/Italydata.csv +3 -0
- 106/replication_package/06_Appendix_Italy/data/Italydata.dta +3 -0
- 106/replication_package/07_Appendix_HistoricalCountry/PopulationEurope.do +25 -0
- 106/replication_package/07_Appendix_HistoricalCountry/data/HistoricalCountry.csv +3 -0
- 106/replication_package/07_Appendix_HistoricalCountry/data/HistoricalCountry.dta +3 -0
- 106/replication_package/README.pdf +3 -0
- 106/should_reproduce.txt +3 -0
106/paper.pdf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b0f6d7678ecca5e754266a42bb48b6a7bdf1cf8a866f40d707b611fd43fd0c64
|
3 |
+
size 749305
|
106/replication_package/01_Country_Table1/CrossCountry_Analysis_Table1.do
ADDED
@@ -0,0 +1,623 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
* THIS DO-FILE IS FOR THE CROSS-COUNTRY ANALYSES
|
2 |
+
* IT CREATES OUTPUT FOR TABLE 1 AND APPENDIX TABLES B1, B2, B3, AND B4.
|
3 |
+
* Stata needs the ado file x_ols2.ado (a slight modification of the ado file x_ols.ado programmed by Jean-Pierre Dube)
|
4 |
+
* to calculate Conley standard errors based on genetic distance
|
5 |
+
|
6 |
+
use data\CountryData.dta, clear
|
7 |
+
|
8 |
+
|
9 |
+
*_______________________________________________________________________________
|
10 |
+
* Table 1: Cousin Marriage and Democracy: Cross-country Evidence
|
11 |
+
* (with Conley standard errors based on genetic distance)
|
12 |
+
|
13 |
+
gen cutoff1=.01 //define cutoff for Conley based on genetic distance
|
14 |
+
gen cutoff2=.01
|
15 |
+
gen constant=1
|
16 |
+
|
17 |
+
* Table 1, Panel 1 (cousin marriage preference), Panel 2 (cousin-term differentiation), Panel 3 (log % cousin marriage)
|
18 |
+
local y pol_Democracy_1996_2015
|
19 |
+
local a nu_rugged ag_distcr du_caloricsui ag_abslat
|
20 |
+
|
21 |
+
foreach v of var CousinMarriagePref CousinTermDiff bit_consang_ln {
|
22 |
+
|
23 |
+
preserve
|
24 |
+
keep if `y'!=. & `v'!=.
|
25 |
+
reg `y' `v' , r
|
26 |
+
local r2_x = e(r2)
|
27 |
+
x_ols2 gendist_coord1 gendist_coord2 cutoff1 cutoff2 `y' `v' constant, coord(2) xreg(2)
|
28 |
+
ereturn post beta cov_dep
|
29 |
+
quiet eststo: ereturn display
|
30 |
+
estadd scalar r2 = `r2_x'
|
31 |
+
drop epsilon window dis1 dis2
|
32 |
+
|
33 |
+
reg `y' `v' `a', r
|
34 |
+
local r2_x = e(r2)
|
35 |
+
x_ols2 gendist_coord1 gendist_coord2 cutoff1 cutoff2 `y' `v' `a' constant, coord(2) xreg(6)
|
36 |
+
ereturn post beta cov_dep
|
37 |
+
quiet eststo: ereturn display
|
38 |
+
estadd scalar r2 = `r2_x'
|
39 |
+
drop epsilon window dis1 dis2
|
40 |
+
|
41 |
+
reg `y' `v' `a' nu_tropical ag_temp du_precavr ag_elevavg du_oat_rain du_rye_rain, r
|
42 |
+
local r2_x = e(r2)
|
43 |
+
x_ols2 gendist_coord1 gendist_coord2 cutoff1 cutoff2 `y' `v' `a' nu_tropical ag_temp du_precavr ag_elevavg du_oat_rain du_rye_rain constant, coord(2) xreg(12)
|
44 |
+
ereturn post beta cov_dep
|
45 |
+
quiet eststo: ereturn display
|
46 |
+
estadd scalar r2 = `r2_x'
|
47 |
+
drop epsilon window dis1 dis2
|
48 |
+
|
49 |
+
reg `y' `v' `a' nu_tropical ag_temp du_precavr ag_elevavg du_oat_rain du_rye_rain ag_yst_aa ag_pdiv_aa, r
|
50 |
+
local r2_x = e(r2)
|
51 |
+
x_ols2 gendist_coord1 gendist_coord2 cutoff1 cutoff2 `y' `v' `a' nu_tropical ag_temp du_precavr ag_elevavg du_oat_rain du_rye_rain ag_yst_aa ag_pdiv_aa constant, coord(2) xreg(14)
|
52 |
+
ereturn post beta cov_dep
|
53 |
+
quiet eststo: ereturn display
|
54 |
+
estadd scalar r2 = `r2_x'
|
55 |
+
drop epsilon window dis1 dis2
|
56 |
+
|
57 |
+
reg `y' `v' `a' nu_tropical ag_temp du_precavr ag_elevavg du_oat_rain du_rye_rain ag_yst_aa ag_pdiv_aa ft_CombinedPa irri_impact4_5 , r
|
58 |
+
local r2_x = e(r2)
|
59 |
+
x_ols2 gendist_coord1 gendist_coord2 cutoff1 cutoff2 `y' `v' `a' nu_tropical ag_temp du_precavr ag_elevavg du_oat_rain du_rye_rain ag_yst_aa ag_pdiv_aa ft_CombinedPa irri_impact4_5 constant, coord(2) xreg(16)
|
60 |
+
ereturn post beta cov_dep
|
61 |
+
quiet eststo: ereturn display
|
62 |
+
estadd scalar r2 = `r2_x'
|
63 |
+
drop epsilon window dis1 dis2
|
64 |
+
|
65 |
+
reg `y' `v' `a' ag_cont_*, r
|
66 |
+
local r2_x = e(r2)
|
67 |
+
x_ols2 gendist_coord1 gendist_coord2 cutoff1 cutoff2 `y' `v' `a' ag_cont_* constant, coord(2) xreg(10)
|
68 |
+
ereturn post beta cov_dep
|
69 |
+
quiet eststo: ereturn display
|
70 |
+
estadd scalar r2 = `r2_x'
|
71 |
+
drop epsilon window dis1 dis2
|
72 |
+
|
73 |
+
reg `y' `v' `a' bar_christ bar_MUSLIM00 bar_HINDU00 bar_BUDDIS00, r
|
74 |
+
local r2_x = e(r2)
|
75 |
+
x_ols2 gendist_coord1 gendist_coord2 cutoff1 cutoff2 `y' `v' `a' bar_christ bar_MUSLIM00 bar_HINDU00 bar_BUDDIS00 constant, coord(2) xreg(10)
|
76 |
+
ereturn post beta cov_dep
|
77 |
+
quiet eststo: ereturn display
|
78 |
+
estadd scalar r2 = `r2_x'
|
79 |
+
drop epsilon window dis1 dis2
|
80 |
+
|
81 |
+
reg `y' `v' `a' ag_peuro, r
|
82 |
+
local r2_x = e(r2)
|
83 |
+
x_ols2 gendist_coord1 gendist_coord2 cutoff1 cutoff2 `y' `v' `a' ag_peuro constant, coord(2) xreg(7)
|
84 |
+
ereturn post beta cov_dep
|
85 |
+
quiet eststo: ereturn display
|
86 |
+
estadd scalar r2 = `r2_x'
|
87 |
+
drop epsilon window dis1 dis2
|
88 |
+
|
89 |
+
esttab using tables\Table1_`v'.rtf, varlabels(__000005 `v') replace star(* 0.10 ** 0.05 *** 0.01) r2 se cells(b(star fmt(2)) se(par fmt(2)))
|
90 |
+
eststo clear
|
91 |
+
restore
|
92 |
+
}
|
93 |
+
|
94 |
+
* Table 1, Panel 4 (Western and Eastern Church exposure)
|
95 |
+
local y pol_Democracy_1996_2015
|
96 |
+
local a nu_rugged ag_distcr du_caloricsui ag_abslat
|
97 |
+
local u ChurchExpWest
|
98 |
+
local v ChurchExpEast
|
99 |
+
|
100 |
+
preserve
|
101 |
+
keep if `y'!=. & ChurchExpWest!=. & ChurchExpEast!=.
|
102 |
+
reg `y' `u' `v' , r
|
103 |
+
local r2_x = e(r2)
|
104 |
+
x_ols2 gendist_coord1 gendist_coord2 cutoff1 cutoff2 `y' `u' `v' constant, coord(2) xreg(3)
|
105 |
+
ereturn post beta cov_dep
|
106 |
+
quiet eststo: ereturn display
|
107 |
+
estadd scalar r2 = `r2_x'
|
108 |
+
drop epsilon window dis1 dis2
|
109 |
+
|
110 |
+
reg `y' `u' `v' `a', r
|
111 |
+
local r2_x = e(r2)
|
112 |
+
x_ols2 gendist_coord1 gendist_coord2 cutoff1 cutoff2 `y' `u' `v' `a' constant, coord(2) xreg(7)
|
113 |
+
ereturn post beta cov_dep
|
114 |
+
quiet eststo: ereturn display
|
115 |
+
estadd scalar r2 = `r2_x'
|
116 |
+
drop epsilon window dis1 dis2
|
117 |
+
|
118 |
+
reg `y' `u' `v' `a' nu_tropical ag_temp du_precavr ag_elevavg du_oat_rain du_rye_rain, r
|
119 |
+
local r2_x = e(r2)
|
120 |
+
x_ols2 gendist_coord1 gendist_coord2 cutoff1 cutoff2 `y' `u' `v' `a' nu_tropical ag_temp du_precavr ag_elevavg du_oat_rain du_rye_rain constant, coord(2) xreg(13)
|
121 |
+
ereturn post beta cov_dep
|
122 |
+
quiet eststo: ereturn display
|
123 |
+
estadd scalar r2 = `r2_x'
|
124 |
+
drop epsilon window dis1 dis2
|
125 |
+
|
126 |
+
reg `y' `u' `v' `a' nu_tropical ag_temp du_precavr ag_elevavg du_oat_rain du_rye_rain ag_yst_aa ag_pdiv_aa, r
|
127 |
+
local r2_x = e(r2)
|
128 |
+
x_ols2 gendist_coord1 gendist_coord2 cutoff1 cutoff2 `y' `u' `v' `a' nu_tropical ag_temp du_precavr ag_elevavg du_oat_rain du_rye_rain ag_yst_aa ag_pdiv_aa constant, coord(2) xreg(15)
|
129 |
+
ereturn post beta cov_dep
|
130 |
+
quiet eststo: ereturn display
|
131 |
+
estadd scalar r2 = `r2_x'
|
132 |
+
drop epsilon window dis1 dis2
|
133 |
+
|
134 |
+
reg `y' `u' `v' `a' nu_tropical ag_temp du_precavr ag_elevavg du_oat_rain du_rye_rain ag_yst_aa ag_pdiv_aa ft_CombinedPa irri_impact4_5, r
|
135 |
+
local r2_x = e(r2)
|
136 |
+
x_ols2 gendist_coord1 gendist_coord2 cutoff1 cutoff2 `y' `u' `v' `a' nu_tropical ag_temp du_precavr ag_elevavg du_oat_rain du_rye_rain ag_yst_aa ag_pdiv_aa ft_CombinedPa irri_impact4_5 constant, coord(2) xreg(17)
|
137 |
+
ereturn post beta cov_dep
|
138 |
+
quiet eststo: ereturn display
|
139 |
+
estadd scalar r2 = `r2_x'
|
140 |
+
drop epsilon window dis1 dis2
|
141 |
+
|
142 |
+
reg `y' `u' `v' `a' ag_cont_*, r
|
143 |
+
local r2_x = e(r2)
|
144 |
+
x_ols2 gendist_coord1 gendist_coord2 cutoff1 cutoff2 `y' `u' `v' `a' ag_cont_* constant, coord(2) xreg(11)
|
145 |
+
ereturn post beta cov_dep
|
146 |
+
quiet eststo: ereturn display
|
147 |
+
estadd scalar r2 = `r2_x'
|
148 |
+
drop epsilon window dis1 dis2
|
149 |
+
|
150 |
+
reg `y' `u' `v' `a' bar_christ bar_MUSLIM00 bar_HINDU00 bar_BUDDIS00, r
|
151 |
+
local r2_x = e(r2)
|
152 |
+
x_ols2 gendist_coord1 gendist_coord2 cutoff1 cutoff2 `y' `u' `v' `a' bar_christ bar_MUSLIM00 bar_HINDU00 bar_BUDDIS00 constant, coord(2) xreg(11)
|
153 |
+
ereturn post beta cov_dep
|
154 |
+
quiet eststo: ereturn display
|
155 |
+
estadd scalar r2 = `r2_x'
|
156 |
+
drop epsilon window dis1 dis2
|
157 |
+
|
158 |
+
reg `y' `u' `v' `a' ag_peuro, r
|
159 |
+
local r2_x = e(r2)
|
160 |
+
x_ols2 gendist_coord1 gendist_coord2 cutoff1 cutoff2 `y' `u' `v' `a' ag_peuro constant, coord(2) xreg(8)
|
161 |
+
ereturn post beta cov_dep
|
162 |
+
quiet eststo: ereturn display
|
163 |
+
estadd scalar r2 = `r2_x'
|
164 |
+
drop epsilon window dis1 dis2
|
165 |
+
|
166 |
+
esttab using tables\Table1_Church.rtf, coeflabels(__000005 "`u'" __000006 "`v'") replace star(* 0.10 ** 0.05 *** 0.01) r2 se cells(b(star fmt(2)) se(par fmt(2)))
|
167 |
+
eststo clear
|
168 |
+
restore
|
169 |
+
|
170 |
+
*_______________________________________________________________________________
|
171 |
+
* Check for multicolinearity if all controls were added simultaneously
|
172 |
+
local y pol_Democracy_1996_2015
|
173 |
+
local a nu_rugged ag_distcr du_caloricsui ag_abslat
|
174 |
+
foreach v of var CousinMarriagePref CousinTermDiff bit_consang_ln {
|
175 |
+
preserve
|
176 |
+
keep if `y'!=. & `v'!=.
|
177 |
+
reg `y' `v' `a' nu_tropical ag_temp du_precavr ag_elevavg du_oat_rain du_rye_rain ag_yst_aa ag_pdiv_aa ft_CombinedPa irri_impact4_5 ag_cont_* ag_peuro bar_christ bar_MUSLIM00 bar_HINDU00 bar_BUDDIS00, r
|
178 |
+
vif
|
179 |
+
restore
|
180 |
+
}
|
181 |
+
local v ChurchExpWest ChurchExpEast
|
182 |
+
reg `y' `v' `a' nu_tropical ag_temp du_precavr ag_elevavg du_oat_rain du_rye_rain ag_yst_aa ag_pdiv_aa ft_CombinedPa irri_impact4_5 ag_cont_* ag_peuro bar_christ bar_MUSLIM00 bar_HINDU00 bar_BUDDIS00, r
|
183 |
+
vif
|
184 |
+
|
185 |
+
|
186 |
+
|
187 |
+
|
188 |
+
*_______________________________________________________________________________
|
189 |
+
* Table B1: Kinship and Democracy: Cross-country Evidence with Conley standard errors based on geographic distance
|
190 |
+
gen const = 1
|
191 |
+
gen year = 2
|
192 |
+
gen cellID=3
|
193 |
+
|
194 |
+
* Table B1, Panel 1 (cousin marriage preference), Panel 2 (cousin-term differentiation), Panel 3 (log % cousin marriage)
|
195 |
+
local dist 10000
|
196 |
+
local y pol_Democracy_1996_2015
|
197 |
+
local a nu_rugged ag_distcr du_caloricsui ag_abslat
|
198 |
+
|
199 |
+
foreach v of var CousinMarriagePref CousinTermDiff bit_consang_ln {
|
200 |
+
quiet reg `y' `v', r
|
201 |
+
mat robust_mat1=r(table)
|
202 |
+
mat robust_mat2=robust_mat1[2,1...]
|
203 |
+
eststo: acreg `y' `v', spatial latitude(nu_lat) longitude(nu_lon) dist(`dist') bartlett
|
204 |
+
estadd mat robust_se=robust_mat2
|
205 |
+
|
206 |
+
quiet reg `y' `v' `a', r
|
207 |
+
mat robust_mat1=r(table)
|
208 |
+
mat robust_mat2=robust_mat1[2,1...]
|
209 |
+
eststo: acreg `y' `v' `a', spatial latitude(nu_lat) longitude(nu_lon) dist(`dist') bartlett
|
210 |
+
estadd mat robust_se=robust_mat2
|
211 |
+
|
212 |
+
quiet reg `y' `v' `a' nu_tropical ag_temp du_precavr ag_elevavg du_oat_rain du_rye_rain, r
|
213 |
+
mat robust_mat1=r(table)
|
214 |
+
mat robust_mat2=robust_mat1[2,1...]
|
215 |
+
eststo: acreg `y' `v' `a' nu_tropical ag_temp du_precavr ag_elevavg du_oat_rain du_rye_rain, spatial latitude(nu_lat) longitude(nu_lon) dist(`dist') bartlett
|
216 |
+
estadd mat robust_se=robust_mat2
|
217 |
+
|
218 |
+
quiet reg `y' `v' `a' nu_tropical ag_temp du_precavr ag_elevavg du_oat_rain du_rye_rain ag_yst_aa ag_pdiv_aa, r
|
219 |
+
mat robust_mat1=r(table)
|
220 |
+
mat robust_mat2=robust_mat1[2,1...]
|
221 |
+
eststo: acreg `y' `v' `a' nu_tropical ag_temp du_precavr ag_elevavg du_oat_rain du_rye_rain ag_yst_aa ag_pdiv_aa, spatial latitude(nu_lat) longitude(nu_lon) dist(`dist') bartlett
|
222 |
+
estadd mat robust_se=robust_mat2
|
223 |
+
|
224 |
+
quiet reg `y' `v' `a' nu_tropical ag_temp du_precavr ag_elevavg du_oat_rain du_rye_rain ag_yst_aa ag_pdiv_aa ft_CombinedPa irri_impact4_5, r
|
225 |
+
mat robust_mat1=r(table)
|
226 |
+
mat robust_mat2=robust_mat1[2,1...]
|
227 |
+
eststo: acreg `y' `v' `a' nu_tropical ag_temp du_precavr ag_elevavg du_oat_rain du_rye_rain ag_yst_aa ag_pdiv_aa ft_CombinedPa irri_impact4_5, spatial latitude(nu_lat) longitude(nu_lon) dist(`dist') bartlett
|
228 |
+
estadd mat robust_se=robust_mat2
|
229 |
+
|
230 |
+
quiet reg `y' `v' `a' ag_cont_*, r
|
231 |
+
mat robust_mat1=r(table)
|
232 |
+
mat robust_mat2=robust_mat1[2,1...]
|
233 |
+
eststo: acreg `y' `v' `a' ag_cont_*, spatial latitude(nu_lat) longitude(nu_lon) dist(`dist') bartlett
|
234 |
+
estadd mat robust_se=robust_mat2
|
235 |
+
|
236 |
+
quiet reg `y' `v' `a' bar_christ bar_MUSLIM00 bar_HINDU00 bar_BUDDIS00, r
|
237 |
+
mat robust_mat1=r(table)
|
238 |
+
mat robust_mat2=robust_mat1[2,1...]
|
239 |
+
eststo: acreg `y' `v' `a' bar_christ bar_MUSLIM00 bar_HINDU00 bar_BUDDIS00, spatial latitude(nu_lat) longitude(nu_lon) dist(`dist') bartlett
|
240 |
+
estadd mat robust_se=robust_mat2
|
241 |
+
|
242 |
+
quiet reg `y' `v' `a' ag_peuro, r
|
243 |
+
mat robust_mat1=r(table)
|
244 |
+
mat robust_mat2=robust_mat1[2,1...]
|
245 |
+
eststo: acreg `y' `v' `a' ag_peuro, spatial latitude(nu_lat) longitude(nu_lon) dist(`dist') bartlett
|
246 |
+
estadd mat robust_se=robust_mat2
|
247 |
+
|
248 |
+
esttab using tables\TableB1_`v'.rtf, replace star(* 0.10 ** 0.05 *** 0.01) cells(b(star fmt(2)) se(par fmt(2)) robust_se(fmt(2) par(" \right[ " " \left] ")))
|
249 |
+
eststo clear
|
250 |
+
}
|
251 |
+
|
252 |
+
*Table B1, Panel 4 Church
|
253 |
+
local dist 10000
|
254 |
+
local a nu_rugged ag_distcr du_caloricsui ag_abslat
|
255 |
+
local v ChurchExpWest ChurchExpEast
|
256 |
+
|
257 |
+
foreach y of var pol_Democracy_1996_2015 {
|
258 |
+
quiet reg `y' `v', r
|
259 |
+
mat robust_mat1=r(table)
|
260 |
+
mat robust_mat2=robust_mat1[2,1...]
|
261 |
+
eststo: acreg `y' `v', spatial latitude(nu_lat) longitude(nu_lon) dist(`dist') bartlett
|
262 |
+
estadd mat robust_se=robust_mat2
|
263 |
+
|
264 |
+
quiet reg `y' `v' `a', r
|
265 |
+
mat robust_mat1=r(table)
|
266 |
+
mat robust_mat2=robust_mat1[2,1...]
|
267 |
+
eststo: acreg `y' `v' `a', spatial latitude(nu_lat) longitude(nu_lon) dist(`dist') bartlett
|
268 |
+
estadd mat robust_se=robust_mat2
|
269 |
+
|
270 |
+
quiet reg `y' `v' `a' nu_tropical ag_temp du_precavr ag_elevavg du_oat_rain du_rye_rain, r
|
271 |
+
mat robust_mat1=r(table)
|
272 |
+
mat robust_mat2=robust_mat1[2,1...]
|
273 |
+
eststo: acreg `y' `v' `a' nu_tropical ag_temp du_precavr ag_elevavg du_oat_rain du_rye_rain, spatial latitude(nu_lat) longitude(nu_lon) dist(`dist') bartlett
|
274 |
+
estadd mat robust_se=robust_mat2
|
275 |
+
|
276 |
+
quiet reg `y' `v' `a' nu_tropical ag_temp du_precavr ag_elevavg du_oat_rain du_rye_rain ag_yst_aa ag_pdiv_aa, r
|
277 |
+
mat robust_mat1=r(table)
|
278 |
+
mat robust_mat2=robust_mat1[2,1...]
|
279 |
+
eststo: acreg `y' `v' `a' nu_tropical ag_temp du_precavr ag_elevavg du_oat_rain du_rye_rain ag_yst_aa ag_pdiv_aa, spatial latitude(nu_lat) longitude(nu_lon) dist(`dist') bartlett
|
280 |
+
estadd mat robust_se=robust_mat2
|
281 |
+
|
282 |
+
quiet reg `y' `v' `a' nu_tropical ag_temp du_precavr ag_elevavg du_oat_rain du_rye_rain ag_yst_aa ag_pdiv_aa ft_CombinedPa irri_impact4_5, r
|
283 |
+
mat robust_mat1=r(table)
|
284 |
+
mat robust_mat2=robust_mat1[2,1...]
|
285 |
+
eststo: acreg `y' `v' `a' nu_tropical ag_temp du_precavr ag_elevavg du_oat_rain du_rye_rain ag_yst_aa ag_pdiv_aa ft_CombinedPa irri_impact4_5, spatial latitude(nu_lat) longitude(nu_lon) dist(`dist') bartlett
|
286 |
+
estadd mat robust_se=robust_mat2
|
287 |
+
|
288 |
+
quiet reg `y' `v' `a' ag_cont_*, r
|
289 |
+
mat robust_mat1=r(table)
|
290 |
+
mat robust_mat2=robust_mat1[2,1...]
|
291 |
+
eststo: acreg `y' `v' `a' ag_cont_*, spatial latitude(nu_lat) longitude(nu_lon) dist(`dist') bartlett
|
292 |
+
estadd mat robust_se=robust_mat2
|
293 |
+
|
294 |
+
quiet reg `y' `v' `a' bar_christ bar_MUSLIM00 bar_HINDU00 bar_BUDDIS00, r
|
295 |
+
mat robust_mat1=r(table)
|
296 |
+
mat robust_mat2=robust_mat1[2,1...]
|
297 |
+
eststo: acreg `y' `v' `a' bar_christ bar_MUSLIM00 bar_HINDU00 bar_BUDDIS00, spatial latitude(nu_lat) longitude(nu_lon) dist(`dist') bartlett
|
298 |
+
estadd mat robust_se=robust_mat2
|
299 |
+
|
300 |
+
quiet reg `y' `v' `a' ag_peuro, r
|
301 |
+
mat robust_mat1=r(table)
|
302 |
+
mat robust_mat2=robust_mat1[2,1...]
|
303 |
+
eststo: acreg `y' `v' `a' ag_peuro, spatial latitude(nu_lat) longitude(nu_lon) dist(`dist') bartlett
|
304 |
+
estadd mat robust_se=robust_mat2
|
305 |
+
|
306 |
+
esttab using tables\TableB1_Church.rtf, replace star(* 0.10 ** 0.05 *** 0.01) cells(b(star fmt(2)) se(par fmt(2)) robust_se(fmt(2) par(" \right[ " " \left] ")))
|
307 |
+
eststo clear
|
308 |
+
}
|
309 |
+
|
310 |
+
|
311 |
+
*_______________________________________________________________________________
|
312 |
+
* Table B2: Local variation in Kinship and Democracy: Cross-country Evidence
|
313 |
+
* Regression controls for the surrounding countries kinship and Church exposure
|
314 |
+
|
315 |
+
local y pol_Democracy_1996_2015
|
316 |
+
local a nu_rugged ag_distcr du_caloricsui ag_abslat
|
317 |
+
|
318 |
+
* Table B2, Panel 1: Cousin marriage preferred
|
319 |
+
local v CousinMarriagePref
|
320 |
+
local w close_CousinMarriagePref_2000
|
321 |
+
preserve
|
322 |
+
eststo: reg `y' `v' `w', r
|
323 |
+
eststo: reg `y' `v' `w' `a', r
|
324 |
+
eststo: reg `y' `v' `w' `a' nu_tropical ag_temp du_precavr ag_elevavg du_oat_rain du_rye_rain, r
|
325 |
+
eststo: reg `y' `v' `w' `a' nu_tropical ag_temp du_precavr ag_elevavg du_oat_rain du_rye_rain ag_yst_aa ag_pdiv_aa, r
|
326 |
+
eststo: reg `y' `v' `w' `a' nu_tropical ag_temp du_precavr ag_elevavg du_oat_rain du_rye_rain ag_yst_aa ag_pdiv_aa ft_CombinedPa irri_impact4_5, r
|
327 |
+
eststo: reg `y' `v' `w' `a' ag_cont_*, r
|
328 |
+
eststo: reg `y' `v' `w' `a' bar_christ bar_MUSLIM00 bar_HINDU00 bar_BUDDIS00, r
|
329 |
+
eststo: reg `y' `v' `w' `a' ag_peuro, r
|
330 |
+
esttab using tables\TableB2_Panel_1_`v'.rtf, replace star(* 0.10 ** 0.05 *** 0.01) r2 se cells(b(star fmt(2)) se(par fmt(2)))
|
331 |
+
eststo clear
|
332 |
+
restore
|
333 |
+
|
334 |
+
*Table B2, Panel 2: Cousin-term differentiation
|
335 |
+
local v CousinTermDiff
|
336 |
+
local w close_CousinTermDiff_2000
|
337 |
+
preserve
|
338 |
+
eststo: reg `y' `v' `w', r
|
339 |
+
eststo: reg `y' `v' `w' `a', r
|
340 |
+
eststo: reg `y' `v' `w' `a' nu_tropical ag_temp du_precavr ag_elevavg du_oat_rain du_rye_rain, r
|
341 |
+
eststo: reg `y' `v' `w' `a' nu_tropical ag_temp du_precavr ag_elevavg du_oat_rain du_rye_rain ag_yst_aa ag_pdiv_aa, r
|
342 |
+
eststo: reg `y' `v' `w' `a' nu_tropical ag_temp du_precavr ag_elevavg du_oat_rain du_rye_rain ag_yst_aa ag_pdiv_aa ft_CombinedPa irri_impact4_5, r
|
343 |
+
eststo: reg `y' `v' `w' `a' ag_cont_*, r
|
344 |
+
eststo: reg `y' `v' `w' `a' bar_christ bar_MUSLIM00 bar_HINDU00 bar_BUDDIS00, r
|
345 |
+
eststo: reg `y' `v' `w' `a' ag_peuro, r
|
346 |
+
esttab using tables\TableB2_Panel_2_`v'.rtf, replace star(* 0.10 ** 0.05 *** 0.01) r2 se cells(b(star fmt(2)) se(par fmt(2)))
|
347 |
+
eststo clear
|
348 |
+
restore
|
349 |
+
|
350 |
+
*Table B2, Panel 3: Log % cousin marriage
|
351 |
+
local v bit_consang_ln
|
352 |
+
local w close_bit_consang_2000_ln
|
353 |
+
preserve
|
354 |
+
eststo: reg `y' `v' `w', r
|
355 |
+
eststo: reg `y' `v' `w' `a', r
|
356 |
+
eststo: reg `y' `v' `w' `a' nu_tropical ag_temp du_precavr ag_elevavg du_oat_rain du_rye_rain, r
|
357 |
+
eststo: reg `y' `v' `w' `a' nu_tropical ag_temp du_precavr ag_elevavg du_oat_rain du_rye_rain ag_yst_aa ag_pdiv_aa, r
|
358 |
+
eststo: reg `y' `v' `w' `a' nu_tropical ag_temp du_precavr ag_elevavg du_oat_rain du_rye_rain ag_yst_aa ag_pdiv_aa ft_CombinedPa irri_impact4_5, r
|
359 |
+
eststo: reg `y' `v' `w' `a' ag_cont_*, r
|
360 |
+
eststo: reg `y' `v' `w' `a' bar_christ bar_MUSLIM00 bar_HINDU00 bar_BUDDIS00, r
|
361 |
+
eststo: reg `y' `v' `w' `a' ag_peuro, r
|
362 |
+
esttab using tables\TableB2_Panel_3_`v'.rtf, replace star(* 0.10 ** 0.05 *** 0.01) r2 se cells(b(star fmt(2)) se(par fmt(2)))
|
363 |
+
eststo clear
|
364 |
+
restore
|
365 |
+
|
366 |
+
*Table B2, Panel 4: Church exposure
|
367 |
+
local v ChurchExpWest close_ChurchExpWest_2000
|
368 |
+
local w ChurchExpEast close_ChurchExpEast_2000
|
369 |
+
preserve
|
370 |
+
eststo: reg `y' `v' `w', r
|
371 |
+
eststo: reg `y' `v' `w' `a', r
|
372 |
+
eststo: reg `y' `v' `w' `a' nu_tropical ag_temp du_precavr ag_elevavg du_oat_rain du_rye_rain, r
|
373 |
+
eststo: reg `y' `v' `w' `a' nu_tropical ag_temp du_precavr ag_elevavg du_oat_rain du_rye_rain ag_yst_aa ag_pdiv_aa, r
|
374 |
+
eststo: reg `y' `v' `w' `a' nu_tropical ag_temp du_precavr ag_elevavg du_oat_rain du_rye_rain ag_yst_aa ag_pdiv_aa ft_CombinedPa irri_impact4_5, r
|
375 |
+
eststo: reg `y' `v' `w' `a' ag_cont_*, r
|
376 |
+
eststo: reg `y' `v' `w' `a' bar_christ bar_MUSLIM00 bar_HINDU00 bar_BUDDIS00, r
|
377 |
+
eststo: reg `y' `v' `w' `a' ag_peuro, r
|
378 |
+
esttab using tables\TableB2_Panel_4_Church_neigh.rtf, replace star(* 0.10 ** 0.05 *** 0.01) r2 se cells(b(star fmt(2)) se(par fmt(2)))
|
379 |
+
eststo clear
|
380 |
+
restore
|
381 |
+
|
382 |
+
|
383 |
+
|
384 |
+
|
385 |
+
|
386 |
+
*________________________________________________________________________________
|
387 |
+
* Table B3: Kin Networks, GDP per Capita and Democracy: Cross-country Evidence
|
388 |
+
* (with Conley standard errors based on genetic distance)
|
389 |
+
|
390 |
+
* Table B3, Panel 1 (cousin marriage preference), Panel 2 (cousin-term differentiation), Panel 3 (log % cousin marriage)
|
391 |
+
local y pol_Democracy_1996_2015
|
392 |
+
local a nu_rugged ag_distcr du_caloricsui ag_abslat ag_ln_gdppc2000
|
393 |
+
|
394 |
+
foreach v of var CousinMarriagePref CousinTermDiff bit_consang_ln {
|
395 |
+
|
396 |
+
preserve
|
397 |
+
keep if `y'!=. & `v'!=.
|
398 |
+
reg `y' `v' ag_ln_gdppc2000, r
|
399 |
+
local r2_x = e(r2)
|
400 |
+
x_ols2 gendist_coord1 gendist_coord2 cutoff1 cutoff2 `y' `v' ag_ln_gdppc2000 constant, coord(2) xreg(3)
|
401 |
+
ereturn post beta cov_dep
|
402 |
+
quiet eststo: ereturn display
|
403 |
+
estadd scalar r2 = `r2_x'
|
404 |
+
drop epsilon window dis1 dis2
|
405 |
+
|
406 |
+
reg `y' `v' `a', r
|
407 |
+
local r2_x = e(r2)
|
408 |
+
x_ols2 gendist_coord1 gendist_coord2 cutoff1 cutoff2 `y' `v' `a' constant, coord(2) xreg(7)
|
409 |
+
ereturn post beta cov_dep
|
410 |
+
quiet eststo: ereturn display
|
411 |
+
estadd scalar r2 = `r2_x'
|
412 |
+
drop epsilon window dis1 dis2
|
413 |
+
|
414 |
+
reg `y' `v' `a' nu_tropical ag_temp du_precavr ag_elevavg du_oat_rain du_rye_rain, r
|
415 |
+
local r2_x = e(r2)
|
416 |
+
x_ols2 gendist_coord1 gendist_coord2 cutoff1 cutoff2 `y' `v' `a' nu_tropical ag_temp du_precavr ag_elevavg du_oat_rain du_rye_rain constant, coord(2) xreg(13)
|
417 |
+
ereturn post beta cov_dep
|
418 |
+
quiet eststo: ereturn display
|
419 |
+
estadd scalar r2 = `r2_x'
|
420 |
+
drop epsilon window dis1 dis2
|
421 |
+
|
422 |
+
reg `y' `v' `a' nu_tropical ag_temp du_precavr ag_elevavg du_oat_rain du_rye_rain ag_yst_aa ag_pdiv_aa, r
|
423 |
+
local r2_x = e(r2)
|
424 |
+
x_ols2 gendist_coord1 gendist_coord2 cutoff1 cutoff2 `y' `v' `a' nu_tropical ag_temp du_precavr ag_elevavg du_oat_rain du_rye_rain ag_yst_aa ag_pdiv_aa constant, coord(2) xreg(15)
|
425 |
+
ereturn post beta cov_dep
|
426 |
+
quiet eststo: ereturn display
|
427 |
+
estadd scalar r2 = `r2_x'
|
428 |
+
drop epsilon window dis1 dis2
|
429 |
+
|
430 |
+
reg `y' `v' `a' nu_tropical ag_temp du_precavr ag_elevavg du_oat_rain du_rye_rain ag_yst_aa ag_pdiv_aa ft_CombinedPa irri_impact4_5, r
|
431 |
+
local r2_x = e(r2)
|
432 |
+
x_ols2 gendist_coord1 gendist_coord2 cutoff1 cutoff2 `y' `v' `a' nu_tropical ag_temp du_precavr ag_elevavg du_oat_rain du_rye_rain ag_yst_aa ag_pdiv_aa ft_CombinedPa irri_impact4_5 constant, coord(2) xreg(17)
|
433 |
+
ereturn post beta cov_dep
|
434 |
+
quiet eststo: ereturn display
|
435 |
+
estadd scalar r2 = `r2_x'
|
436 |
+
drop epsilon window dis1 dis2
|
437 |
+
|
438 |
+
reg `y' `v' `a' ag_cont_*, r
|
439 |
+
local r2_x = e(r2)
|
440 |
+
x_ols2 gendist_coord1 gendist_coord2 cutoff1 cutoff2 `y' `v' `a' ag_cont_* constant, coord(2) xreg(11)
|
441 |
+
ereturn post beta cov_dep
|
442 |
+
quiet eststo: ereturn display
|
443 |
+
estadd scalar r2 = `r2_x'
|
444 |
+
drop epsilon window dis1 dis2
|
445 |
+
|
446 |
+
reg `y' `v' `a' bar_christ bar_MUSLIM00 bar_HINDU00 bar_BUDDIS00, r
|
447 |
+
local r2_x = e(r2)
|
448 |
+
x_ols2 gendist_coord1 gendist_coord2 cutoff1 cutoff2 `y' `v' `a' bar_christ bar_MUSLIM00 bar_HINDU00 bar_BUDDIS00 constant, coord(2) xreg(11)
|
449 |
+
ereturn post beta cov_dep
|
450 |
+
quiet eststo: ereturn display
|
451 |
+
estadd scalar r2 = `r2_x'
|
452 |
+
drop epsilon window dis1 dis2
|
453 |
+
|
454 |
+
reg `y' `v' `a' ag_peuro, r
|
455 |
+
local r2_x = e(r2)
|
456 |
+
x_ols2 gendist_coord1 gendist_coord2 cutoff1 cutoff2 `y' `v' `a' ag_peuro constant, coord(2) xreg(8)
|
457 |
+
ereturn post beta cov_dep
|
458 |
+
quiet eststo: ereturn display
|
459 |
+
estadd scalar r2 = `r2_x'
|
460 |
+
drop epsilon window dis1 dis2
|
461 |
+
|
462 |
+
esttab using tables\TableB3_`v'.rtf, varlabels(__000005 `v') replace star(* 0.10 ** 0.05 *** 0.01) r2 se cells(b(star fmt(2)) se(par fmt(2)))
|
463 |
+
eststo clear
|
464 |
+
restore
|
465 |
+
}
|
466 |
+
|
467 |
+
|
468 |
+
*Table B3, Panel 4: Church exposure
|
469 |
+
local y pol_Democracy_1996_2015
|
470 |
+
local a nu_rugged ag_distcr du_caloricsui ag_abslat ag_ln_gdppc2000
|
471 |
+
local v ChurchExpWest ChurchExpEast
|
472 |
+
|
473 |
+
preserve
|
474 |
+
keep if `y'!=. & ChurchExpWest!=. & ChurchExpEast!=.
|
475 |
+
reg `y' `v' ag_ln_gdppc2000, r
|
476 |
+
local r2_x = e(r2)
|
477 |
+
x_ols2 gendist_coord1 gendist_coord2 cutoff1 cutoff2 `y' `v' ag_ln_gdppc2000 constant, coord(2) xreg(4)
|
478 |
+
ereturn post beta cov_dep
|
479 |
+
quiet eststo: ereturn display
|
480 |
+
estadd scalar r2 = `r2_x'
|
481 |
+
drop epsilon window dis1 dis2
|
482 |
+
|
483 |
+
reg `y' `v' `a', r
|
484 |
+
local r2_x = e(r2)
|
485 |
+
x_ols2 gendist_coord1 gendist_coord2 cutoff1 cutoff2 `y' `v' `a' constant, coord(2) xreg(8)
|
486 |
+
ereturn post beta cov_dep
|
487 |
+
quiet eststo: ereturn display
|
488 |
+
estadd scalar r2 = `r2_x'
|
489 |
+
drop epsilon window dis1 dis2
|
490 |
+
|
491 |
+
reg `y' `v' `a' nu_tropical ag_temp du_precavr ag_elevavg du_oat_rain du_rye_rain, r
|
492 |
+
local r2_x = e(r2)
|
493 |
+
x_ols2 gendist_coord1 gendist_coord2 cutoff1 cutoff2 `y' `v' `a' nu_tropical ag_temp du_precavr ag_elevavg du_oat_rain du_rye_rain constant, coord(2) xreg(14)
|
494 |
+
ereturn post beta cov_dep
|
495 |
+
quiet eststo: ereturn display
|
496 |
+
estadd scalar r2 = `r2_x'
|
497 |
+
drop epsilon window dis1 dis2
|
498 |
+
|
499 |
+
reg `y' `v' `a' nu_tropical ag_temp du_precavr ag_elevavg du_oat_rain du_rye_rain ag_yst_aa ag_pdiv_aa, r
|
500 |
+
local r2_x = e(r2)
|
501 |
+
x_ols2 gendist_coord1 gendist_coord2 cutoff1 cutoff2 `y' `v' `a' nu_tropical ag_temp du_precavr ag_elevavg du_oat_rain du_rye_rain ag_yst_aa ag_pdiv_aa constant, coord(2) xreg(16)
|
502 |
+
ereturn post beta cov_dep
|
503 |
+
quiet eststo: ereturn display
|
504 |
+
estadd scalar r2 = `r2_x'
|
505 |
+
drop epsilon window dis1 dis2
|
506 |
+
|
507 |
+
reg `y' `v' `a' nu_tropical ag_temp du_precavr ag_elevavg du_oat_rain du_rye_rain ag_yst_aa ag_pdiv_aa ft_CombinedPa irri_impact4_5, r
|
508 |
+
local r2_x = e(r2)
|
509 |
+
x_ols2 gendist_coord1 gendist_coord2 cutoff1 cutoff2 `y' `v' `a' nu_tropical ag_temp du_precavr ag_elevavg du_oat_rain du_rye_rain ag_yst_aa ag_pdiv_aa ft_CombinedPa irri_impact4_5 constant, coord(2) xreg(18)
|
510 |
+
ereturn post beta cov_dep
|
511 |
+
quiet eststo: ereturn display
|
512 |
+
estadd scalar r2 = `r2_x'
|
513 |
+
drop epsilon window dis1 dis2
|
514 |
+
|
515 |
+
reg `y' `v' `a' ag_cont_*, r
|
516 |
+
local r2_x = e(r2)
|
517 |
+
x_ols2 gendist_coord1 gendist_coord2 cutoff1 cutoff2 `y' `v' `a' ag_cont_* constant, coord(2) xreg(12)
|
518 |
+
ereturn post beta cov_dep
|
519 |
+
quiet eststo: ereturn display
|
520 |
+
estadd scalar r2 = `r2_x'
|
521 |
+
drop epsilon window dis1 dis2
|
522 |
+
|
523 |
+
reg `y' `v' `a' bar_christ bar_MUSLIM00 bar_HINDU00 bar_BUDDIS00, r
|
524 |
+
local r2_x = e(r2)
|
525 |
+
x_ols2 gendist_coord1 gendist_coord2 cutoff1 cutoff2 `y' `v' `a' bar_christ bar_MUSLIM00 bar_HINDU00 bar_BUDDIS00 constant, coord(2) xreg(12)
|
526 |
+
ereturn post beta cov_dep
|
527 |
+
quiet eststo: ereturn display
|
528 |
+
estadd scalar r2 = `r2_x'
|
529 |
+
drop epsilon window dis1 dis2
|
530 |
+
|
531 |
+
reg `y' `v' `a' ag_peuro, r
|
532 |
+
local r2_x = e(r2)
|
533 |
+
x_ols2 gendist_coord1 gendist_coord2 cutoff1 cutoff2 `y' `v' `a' ag_peuro constant, coord(2) xreg(9)
|
534 |
+
ereturn post beta cov_dep
|
535 |
+
quiet eststo: ereturn display
|
536 |
+
estadd scalar r2 = `r2_x'
|
537 |
+
drop epsilon window dis1 dis2
|
538 |
+
|
539 |
+
esttab using tables\TableB3_Church.rtf, replace star(* 0.10 ** 0.05 *** 0.01) r2 se cells(b(star fmt(2)) se(par fmt(2)))
|
540 |
+
eststo clear
|
541 |
+
restore
|
542 |
+
|
543 |
+
|
544 |
+
|
545 |
+
|
546 |
+
|
547 |
+
|
548 |
+
*_______________________________________________________________________________
|
549 |
+
* Table B4: Country-level Medieval Church exposure and kin networks
|
550 |
+
|
551 |
+
* Table B4, Panel 1 (cousin marriage preference), Panel 2 (cousin-term differentiation), Panel 3 (log % cousin marriage)
|
552 |
+
local v ChurchExpWest ChurchExpEast
|
553 |
+
local a nu_rugged ag_distcr du_caloricsui ag_abslat
|
554 |
+
|
555 |
+
foreach y of var CousinMarriagePref CousinTermDiff bit_consang_ln {
|
556 |
+
|
557 |
+
preserve
|
558 |
+
keep if `y'!=. & ChurchExpWest!=. & ChurchExpEast!=.
|
559 |
+
reg `y' `v' , r
|
560 |
+
local r2_x = e(r2)
|
561 |
+
x_ols2 gendist_coord1 gendist_coord2 cutoff1 cutoff2 `y' `v' constant, coord(2) xreg(3)
|
562 |
+
ereturn post beta cov_dep
|
563 |
+
quiet eststo: ereturn display
|
564 |
+
estadd scalar r2 = `r2_x'
|
565 |
+
drop epsilon window dis1 dis2
|
566 |
+
|
567 |
+
reg `y' `v' `a', r
|
568 |
+
local r2_x = e(r2)
|
569 |
+
x_ols2 gendist_coord1 gendist_coord2 cutoff1 cutoff2 `y' `v' `a' constant, coord(2) xreg(7)
|
570 |
+
ereturn post beta cov_dep
|
571 |
+
quiet eststo: ereturn display
|
572 |
+
estadd scalar r2 = `r2_x'
|
573 |
+
drop epsilon window dis1 dis2
|
574 |
+
|
575 |
+
reg `y' `v' `a' nu_tropical ag_temp du_precavr ag_elevavg du_oat_rain du_rye_rain, r
|
576 |
+
local r2_x = e(r2)
|
577 |
+
x_ols2 gendist_coord1 gendist_coord2 cutoff1 cutoff2 `y' `v' `a' nu_tropical ag_temp du_precavr ag_elevavg du_oat_rain du_rye_rain constant, coord(2) xreg(13)
|
578 |
+
ereturn post beta cov_dep
|
579 |
+
quiet eststo: ereturn display
|
580 |
+
estadd scalar r2 = `r2_x'
|
581 |
+
drop epsilon window dis1 dis2
|
582 |
+
|
583 |
+
reg `y' `v' `a' nu_tropical ag_temp du_precavr ag_elevavg du_oat_rain du_rye_rain ag_yst_aa ag_pdiv_aa, r
|
584 |
+
local r2_x = e(r2)
|
585 |
+
x_ols2 gendist_coord1 gendist_coord2 cutoff1 cutoff2 `y' `v' `a' nu_tropical ag_temp du_precavr ag_elevavg du_oat_rain du_rye_rain ag_yst_aa ag_pdiv_aa constant, coord(2) xreg(15)
|
586 |
+
ereturn post beta cov_dep
|
587 |
+
quiet eststo: ereturn display
|
588 |
+
estadd scalar r2 = `r2_x'
|
589 |
+
drop epsilon window dis1 dis2
|
590 |
+
|
591 |
+
reg `y' `v' `a' nu_tropical ag_temp du_precavr ag_elevavg du_oat_rain du_rye_rain ag_yst_aa ag_pdiv_aa ft_CombinedPa irri_impact4_5, r
|
592 |
+
local r2_x = e(r2)
|
593 |
+
x_ols2 gendist_coord1 gendist_coord2 cutoff1 cutoff2 `y' `v' `a' nu_tropical ag_temp du_precavr ag_elevavg du_oat_rain du_rye_rain ag_yst_aa ag_pdiv_aa ft_CombinedPa irri_impact4_5 constant, coord(2) xreg(17)
|
594 |
+
ereturn post beta cov_dep
|
595 |
+
quiet eststo: ereturn display
|
596 |
+
estadd scalar r2 = `r2_x'
|
597 |
+
drop epsilon window dis1 dis2
|
598 |
+
|
599 |
+
reg `y' `v' `a' ag_cont_*, r
|
600 |
+
local r2_x = e(r2)
|
601 |
+
x_ols2 gendist_coord1 gendist_coord2 cutoff1 cutoff2 `y' `v' `a' ag_cont_* nu_tropical ag_temp du_precavr ag_elevavg du_oat_rain du_rye_rain ag_yst_aa ag_pdiv_aa ft_CombinedPa irri_impact4_5 constant, coord(2) xreg(21)
|
602 |
+
ereturn post beta cov_dep
|
603 |
+
quiet eststo: ereturn display
|
604 |
+
estadd scalar r2 = `r2_x'
|
605 |
+
drop epsilon window dis1 dis2
|
606 |
+
|
607 |
+
reg `y' `v' `a' bar_christ bar_MUSLIM00 bar_HINDU00 bar_BUDDIS00, r
|
608 |
+
local r2_x = e(r2)
|
609 |
+
x_ols2 gendist_coord1 gendist_coord2 cutoff1 cutoff2 `y' `v' `a' bar_christ bar_MUSLIM00 bar_HINDU00 bar_BUDDIS00 constant, coord(2) xreg(11)
|
610 |
+
ereturn post beta cov_dep
|
611 |
+
quiet eststo: ereturn display
|
612 |
+
estadd scalar r2 = `r2_x'
|
613 |
+
drop epsilon window dis1 dis2
|
614 |
+
|
615 |
+
esttab using tables\TableB4_`y'.rtf, replace star(* 0.10 ** 0.05 *** 0.01) r2 se cells(b(star fmt(2)) se(par fmt(2)))
|
616 |
+
eststo clear
|
617 |
+
restore
|
618 |
+
}
|
619 |
+
|
620 |
+
|
621 |
+
|
622 |
+
|
623 |
+
|
106/replication_package/01_Country_Table1/data/CountryData.csv
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:21552efd99596f0d0846d3e023974db2afd828b0198f0d4f042595954baf8f38
|
3 |
+
size 51804
|
106/replication_package/01_Country_Table1/data/CountryData.dta
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:de32b38be9722fdfed29003ef748cb21a5ae670e4be60ed167b93dc632e8ff58
|
3 |
+
size 200363
|
106/replication_package/01_Country_Table1/tables/~$bleB1_Church.rtf
ADDED
Binary file (162 Bytes). View file
|
|
106/replication_package/01_Country_Table1/x_ols2.ado
ADDED
@@ -0,0 +1,189 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/************************************************************************/
|
2 |
+
/* x_ols.ado */
|
3 |
+
/*OLS ESTIMATION FOR X-SECTIONAL DATA WITH LOCATION-BASED DEPENDENCE */
|
4 |
+
/*for STATA 6.0 */
|
5 |
+
/* by Jean-Pierre Dube */
|
6 |
+
/* Northwestern University */
|
7 |
+
/* July 10, 1999 */
|
8 |
+
/* */
|
9 |
+
/* reference: */
|
10 |
+
/* */
|
11 |
+
/* Conley, Timothy G.[1996]. "Econometric Modelling of Cross */
|
12 |
+
/* Sectional Dependence." Northwestern University Working Paper. */
|
13 |
+
/* */
|
14 |
+
/************************************************************************/
|
15 |
+
/************************************************************************/
|
16 |
+
/*To invoke this command type: */
|
17 |
+
/* >>x_ols coordlist cutofflist depvar regressorlist, xreg() coord() */
|
18 |
+
/* */
|
19 |
+
/* (1)If you want a constant in the regression, specify one of the */
|
20 |
+
/* input variables as a 1. (ie. include it in list of regressors). */
|
21 |
+
/* */
|
22 |
+
/* (2) You MUST specify the xreg() and coord() options. */
|
23 |
+
/* */
|
24 |
+
/* (3) xreg() denotes # regressors */
|
25 |
+
/* coord() denotes dimension of coordinates */
|
26 |
+
/* */
|
27 |
+
/* (4) Your cutofflist must correspond to coordlist (same order) */
|
28 |
+
/* */
|
29 |
+
/* */
|
30 |
+
/*OUTPUT: all the standard `reg' procedure matrices will be in memory. */
|
31 |
+
/* There will also be a matrix cov_dep, the corrected variance- */
|
32 |
+
/* covariance matrix. */
|
33 |
+
/************************************************************************/
|
34 |
+
|
35 |
+
|
36 |
+
program define x_ols2
|
37 |
+
version 6.0
|
38 |
+
#delimit ; /*sets `;' as end of line*/
|
39 |
+
|
40 |
+
/*FIRST I TAKE INFO. FROM COMMAND LINE AND ORGANIZE IT*/
|
41 |
+
local varlist "req ex min(1)"; /*must specify at least one variable...
|
42 |
+
all must be existing in memory*/
|
43 |
+
local options "xreg(int -1) COord(int -1)";
|
44 |
+
/* # indep. var, dimension of location coordinates*/
|
45 |
+
|
46 |
+
parse "`*'"; /*separate options and variables*/
|
47 |
+
|
48 |
+
if `xreg'<1{;
|
49 |
+
if `xreg'==-1{;
|
50 |
+
di in red "option xreg() required!!!";
|
51 |
+
exit 198};
|
52 |
+
di in red "xreg(`xreg') is invalid";
|
53 |
+
exit 198};
|
54 |
+
|
55 |
+
if `coord'<1{;
|
56 |
+
if `coord'==-1{;
|
57 |
+
di in red "option coord() required!!!";
|
58 |
+
exit 198};
|
59 |
+
di in red "coord(`coord') is invalid";
|
60 |
+
exit 198};
|
61 |
+
|
62 |
+
|
63 |
+
/*Separate input variables:
|
64 |
+
coordinates, cutoffs, dependent, regressors*/
|
65 |
+
|
66 |
+
parse "`varlist'", parse(" ");
|
67 |
+
|
68 |
+
local a=1;
|
69 |
+
while `a'<=`coord'{;
|
70 |
+
tempvar coord`a';
|
71 |
+
gen `coord`a''=``a''; /*get coordinates*/
|
72 |
+
local a=`a'+1};
|
73 |
+
|
74 |
+
local aa=1;
|
75 |
+
while `aa'<=`coord'{;
|
76 |
+
tempvar cut`aa';
|
77 |
+
gen `cut`aa''=``a''; /*get cutoffs*/
|
78 |
+
local a=`a'+1;
|
79 |
+
local aa=`aa'+1};
|
80 |
+
|
81 |
+
tempvar Y;
|
82 |
+
gen `Y'=``a''; /*get dep variable*/
|
83 |
+
local depend : word `a' of `varlist';
|
84 |
+
|
85 |
+
local a=`a'+1;
|
86 |
+
|
87 |
+
local b=1;
|
88 |
+
while `b'<=`xreg'{;
|
89 |
+
tempvar X`b';
|
90 |
+
local ind`b' : word `a' of `varlist';
|
91 |
+
gen `X`b''= ``a'';
|
92 |
+
local a=`a'+1;
|
93 |
+
local b=`b'+1}; /*get indep var(s)...rest of list*/
|
94 |
+
|
95 |
+
/*NOW I RUN THE REGRESSION AND COMPUTE THE COV MATRIX*/
|
96 |
+
|
97 |
+
quietly{; /*so that steps are not printed on screen*/
|
98 |
+
|
99 |
+
/*(1) RUN REGRESSION*/
|
100 |
+
tempname XX XX_N invXX invN;
|
101 |
+
scalar `invN'=1/_N;
|
102 |
+
if `xreg'==1 {;
|
103 |
+
reg `Y' `X1', noconstant robust;
|
104 |
+
mat accum `XX'=`X1',noconstant;
|
105 |
+
mat `XX_N'=`XX'*`invN';
|
106 |
+
mat `invXX'=inv(`XX_N')}; /* creates (X'X/N)^(-1)*/
|
107 |
+
else{;
|
108 |
+
reg `Y' `X1'-`X`xreg'', noconstant;
|
109 |
+
mat accum `XX'=`X1'-`X`xreg'',noconstant;
|
110 |
+
mat `XX_N'=`XX'*`invN';
|
111 |
+
mat `invXX'=inv(`XX_N')}; /* creates (X'X/N)^(-1)*/
|
112 |
+
predict epsilon,residuals; /* OLS residuals*/
|
113 |
+
|
114 |
+
|
115 |
+
|
116 |
+
/*(2) COMPUTE CORRECTED COVARIANCE MATRIX*/
|
117 |
+
tempname XUUX XUUX1 XUUX2 XUUXt;
|
118 |
+
tempvar XUUk;
|
119 |
+
mat `XUUX'=J(`xreg',`xreg',0);
|
120 |
+
gen `XUUk'=0;
|
121 |
+
gen window=1; /*initializes mat.s/var.s to be used*/
|
122 |
+
local i=1;
|
123 |
+
while `i'<=_N{; /*loop through all observations*/
|
124 |
+
local d=1;
|
125 |
+
replace window=1;
|
126 |
+
while `d'<=`coord'{; /*loop through coordinates*/
|
127 |
+
if `i'==1{;
|
128 |
+
gen dis`d'=0};
|
129 |
+
replace dis`d'=abs(`coord`d''-`coord`d''[`i']);
|
130 |
+
replace window=window*(1-dis`d'/`cut`d'');
|
131 |
+
replace window=0 if dis`d'>=`cut`d'';
|
132 |
+
local d=`d'+1}; /*create window*/
|
133 |
+
capture mat drop `XUUX2';
|
134 |
+
local k=1;
|
135 |
+
while `k'<=`xreg'{;
|
136 |
+
replace `XUUk'=`X`k''[`i']*epsilon*epsilon[`i']*window;
|
137 |
+
mat vecaccum `XUUX1'=`XUUk' `X1'-`X`xreg'', noconstant;
|
138 |
+
mat `XUUX2'=nullmat(`XUUX2') \ `XUUX1';
|
139 |
+
local k=`k'+1};
|
140 |
+
mat `XUUXt'=`XUUX2'';
|
141 |
+
mat `XUUX1'=`XUUX2'+`XUUXt';
|
142 |
+
scalar fix=.5; /*to correct for double-counting*/
|
143 |
+
mat `XUUX1'=`XUUX1'*fix;
|
144 |
+
mat `XUUX'=`XUUX'+`XUUX1';
|
145 |
+
local i=`i'+1};
|
146 |
+
mat `XUUX'=`XUUX'*`invN';
|
147 |
+
|
148 |
+
|
149 |
+
|
150 |
+
tempname V VV;
|
151 |
+
mat `V'=`invXX'*`XUUX';
|
152 |
+
mat `VV'=`V'*`invXX';
|
153 |
+
|
154 |
+
matrix cov_dep=`VV'*`invN'; /*corrected covariance matrix*/
|
155 |
+
matrix beta = e(b);
|
156 |
+
|
157 |
+
}; /*end quietly command*/
|
158 |
+
|
159 |
+
|
160 |
+
/*THIS PART CREATES AND PRINTS THE OUTPUT TABLE IN STATA*/
|
161 |
+
local z=1;
|
162 |
+
local v=`a';
|
163 |
+
di _newline(2) _skip(5)
|
164 |
+
"Results for Cross Sectional OLS corrected for Spatial Dependence";
|
165 |
+
di _newline _col(35) " number of observations= " _result(1);
|
166 |
+
di " Dependent Variable= " "`depend'";
|
167 |
+
di _newline
|
168 |
+
"variable" _col(25) "ols estimates" _col(40) "White s.e." _col(55)
|
169 |
+
"Conley s.e." _col(70) "Conley p-value";
|
170 |
+
di
|
171 |
+
"--------" _col(25) "-------------" _col(40) "----------" _col(55)
|
172 |
+
"-------------------------------------";
|
173 |
+
|
174 |
+
while `z'<=`xreg'{;
|
175 |
+
tempvar se1`z' se2`z' pv`z';
|
176 |
+
local beta`z'=_b[`X`z''];
|
177 |
+
local se`z'=_se[`X`z''];
|
178 |
+
local df = e(df_r);
|
179 |
+
gen `se1`z''=cov_dep[`z',`z'];
|
180 |
+
gen `se2`z''=sqrt(`se1`z'');
|
181 |
+
gen `pv`z'' = (2 * ttail(`df', abs(`beta`z''/`se2`z'')));
|
182 |
+
di "`ind`z''" _col(25) `beta`z'' _col(40) `se`z'' _col(55) `se2`z'' _col(70) `pv`z'';
|
183 |
+
local z=`z'+1};
|
184 |
+
|
185 |
+
|
186 |
+
|
187 |
+
|
188 |
+
end;
|
189 |
+
exit;
|
106/replication_package/02_Ethnicity_Table2/Ethnicity_Analysis_Table2.do
ADDED
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
* THIS DO-FILE IS FOR THE ETHNICITY-LEVEL ANALYSIS
|
2 |
+
* IT CREATES OUTPUT FOR TABLE 2 AND APPENDIX TABLE B6
|
3 |
+
|
4 |
+
use data\EthnographicAtlas.dta, clear
|
5 |
+
|
6 |
+
*_________________________________________________________________________
|
7 |
+
* Table 2: Ethnicities’ Kinship and Local Democratic Traditions
|
8 |
+
|
9 |
+
|
10 |
+
* Sets of covariates
|
11 |
+
local a avg_rugged co_latitude distance_to_coast suit_agri
|
12 |
+
local a2 annual_mean_temp annual_mean_prec elevation slope
|
13 |
+
local b co_fishing co_husbandry co_agriculture
|
14 |
+
local c co_prop_land co_prop_mov
|
15 |
+
local d co_settlementcomplex co_irrigation co_hierarchy
|
16 |
+
|
17 |
+
preserve
|
18 |
+
drop if avg_rugged==. | co_latitude==. | distance_to_coast==. | suit_agri==.
|
19 |
+
drop if co_fishing==. | co_husbandry==. | co_agriculture==.
|
20 |
+
drop if co_prop_land==. | co_prop_mov==.
|
21 |
+
drop if co_settlementcomplex==. | co_irrigation==. | co_hierarchy==.
|
22 |
+
|
23 |
+
*Panel 1: Cousin narriage preferred
|
24 |
+
local x CousinMarriage_Pref
|
25 |
+
eststo: xi: reg co_succession `x' , cluster(language_family)
|
26 |
+
eststo: xi: reg co_succession `x' `a' , cluster(language_family)
|
27 |
+
eststo: xi: reg co_succession `x' `a' `a2' , cluster(language_family)
|
28 |
+
psacalc delta `x', rmax(0.28) beta(0)
|
29 |
+
eststo: xi: reg co_succession `x' `a' `a2' `b' , cluster(language_family)
|
30 |
+
eststo: xi: reg co_succession `x' `a' `a2' `b' `c' , cluster(language_family)
|
31 |
+
eststo: xi: reg co_succession `x' `a' `a2' `b' `c' `d', cluster(language_family)
|
32 |
+
psacalc delta `x', rmax(0.28) beta(0)
|
33 |
+
eststo: xi: reg co_succession `x' `a' `a2' `b' `c' `d' i.therm_clim, cluster(language_family)
|
34 |
+
psacalc delta `x', rmax(0.28) beta(0)
|
35 |
+
eststo: xi: reg co_succession `x' `a' `a2' `b' `c' `d' i.therm_clim co_deepchrist, cluster(language_family)
|
36 |
+
psacalc delta `x', rmax(0.28) beta(0)
|
37 |
+
esttab using tables\Table2_Panel1.rtf, replace star(* 0.10 ** 0.05 *** 0.01) r2 ar2 aic bic se cells(b(star fmt(2)) se(par fmt(2))) scalars(F)
|
38 |
+
eststo clear
|
39 |
+
|
40 |
+
|
41 |
+
*Panel 2: Cousin-term differentiation
|
42 |
+
local x CousinTerm_Dif
|
43 |
+
eststo: xi: reg co_succession `x' , cluster(language_family)
|
44 |
+
eststo: xi: reg co_succession `x' `a' , cluster(language_family)
|
45 |
+
eststo: xi: reg co_succession `x' `a' `a2' , cluster(language_family)
|
46 |
+
psacalc delta `x', rmax(0.28) beta(0)
|
47 |
+
eststo: xi: reg co_succession `x' `a' `a2' `b' , cluster(language_family)
|
48 |
+
eststo: xi: reg co_succession `x' `a' `a2' `b' `c' , cluster(language_family)
|
49 |
+
eststo: xi: reg co_succession `x' `a' `a2' `b' `c' `d', cluster(language_family)
|
50 |
+
psacalc delta `x', rmax(0.28) beta(0)
|
51 |
+
eststo: xi: reg co_succession `x' `a' `a2' `b' `c' `d' i.therm_clim, cluster(language_family)
|
52 |
+
psacalc delta `x', rmax(0.28) beta(0)
|
53 |
+
eststo: xi: reg co_succession `x' `a' `a2' `b' `c' `d' i.therm_clim co_deepchrist, cluster(language_family)
|
54 |
+
psacalc delta `x', rmax(0.28) beta(0)
|
55 |
+
esttab using tables\Table2_Panel2.rtf, replace star(* 0.10 ** 0.05 *** 0.01) r2 ar2 aic bic se cells(b(star fmt(2)) se(par fmt(2))) scalars(F)
|
56 |
+
eststo clear
|
57 |
+
restore
|
58 |
+
|
59 |
+
|
60 |
+
*______________________________
|
61 |
+
* Table B6: Ethnicity-level Deep Christianization, Cousin Terms and Cousin marriage
|
62 |
+
|
63 |
+
local x co_deepchrist
|
64 |
+
foreach y of var CousinMarriage_Pref CousinTerm_Dif NonInuit_Term {
|
65 |
+
|
66 |
+
eststo: reg `y' `x' , cluster(language_family)
|
67 |
+
eststo: reg `y' `x' `a' , cluster(language_family)
|
68 |
+
eststo: reg `y' `x' `a' `a2' , cluster(language_family)
|
69 |
+
eststo: reg `y' `x' `a' `a2' `b' , cluster(language_family)
|
70 |
+
eststo: reg `y' `x' `a' `a2' `b' `c' , cluster(language_family)
|
71 |
+
eststo: reg `y' `x' `a' `a2' `b' `c' `d', cluster(language_family)
|
72 |
+
eststo: xi: reg `y' `x' `a' `a2' `b' `c' `d' i.therm_clim, cluster(language_family)
|
73 |
+
psacalc delta `x', rmax(0.48) beta(0)
|
74 |
+
esttab using tables\TableB6_`y'.rtf, replace star(* 0.10 ** 0.05 *** 0.01) r2 ar2 aic bic se cells(b(star fmt(2)) se(par fmt(2))) scalars(F)
|
75 |
+
eststo clear
|
76 |
+
}
|
106/replication_package/02_Ethnicity_Table2/data/EthnographicAtlas.csv
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9cf69db966b557515c64f4c4b8605e6c8ad17ba1914f65ee6dd96457c8abd35c
|
3 |
+
size 175096
|
106/replication_package/02_Ethnicity_Table2/data/EthnographicAtlas.dta
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c64a066ca11315436135ba849463bb3094a0e1339aa90ba323c55ef42973973f
|
3 |
+
size 259049
|
106/replication_package/03_HistoricalUrbanAnalysis_Table3_Table4/ChurchExposureAndCommune_Table3.do
ADDED
@@ -0,0 +1,263 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
* THIS DO-FILE IS FOR THE HISTORICAL PANEL DATA ANALYSIS
|
2 |
+
* IT CREATES THE OUTPUT FOR TABLE 3 AND APPENDIX TABLES C1, C2, C3, C4, C5, C7, C8,
|
3 |
+
|
4 |
+
|
5 |
+
use data\urbanflexible.dta, clear
|
6 |
+
|
7 |
+
|
8 |
+
|
9 |
+
|
10 |
+
*________________________________________________
|
11 |
+
* Table 3: Western Church Exposure and Communes: Panel Data Estimates
|
12 |
+
|
13 |
+
*Table 3, Panel 1
|
14 |
+
preserve
|
15 |
+
keep if sample10K==1
|
16 |
+
local v bo_commune exposure
|
17 |
+
eststo: xi: areg `v' bo_plundered i.year, absorb(cellID) cluster(cellID)
|
18 |
+
eststo: xi: areg `v' bo_plundered i.year bo_seariver_*, absorb(cellID) cluster(cellID)
|
19 |
+
eststo: xi: areg `v' bo_plundered i.year caloric_suit_100_*, absorb(cellID) cluster(cellID)
|
20 |
+
eststo: xi: areg `v' bo_plundered i.year bo_roman_*, absorb(cellID) cluster(cellID)
|
21 |
+
eststo: xi: areg `v' bo_plundered i.year Europe_*, absorb(cellID) cluster(cellID)
|
22 |
+
eststo: xi: areg `v' bo_plundered BandAB i.year bo_ever_bishop_*, absorb(cellID) cluster(cellID)
|
23 |
+
eststo: xi: areg `v' bo_plundered bo_citypop_le10_ bo_citypop_le10_lag i.year, absorb(cellID) cluster(cellID)
|
24 |
+
eststo: xi: areg `v' bo_plundered i.year bo_seariver_* caloric_suit_100_* bo_roman_* Europe_* BandAB bo_ever_bishop_* bo_citypop_le10_ bo_citypop_le10_lag, absorb(cellID) cluster(cellID)
|
25 |
+
esttab using tables\Table3_Panel_1.rtf, replace star(* 0.10 ** 0.05 *** 0.01) se cells(b(star fmt(3)) se(par fmt(3))) scalars(r2)
|
26 |
+
eststo clear
|
27 |
+
restore
|
28 |
+
|
29 |
+
* Table 3, Panel 2 (Extended ban)
|
30 |
+
preserve
|
31 |
+
keep if sample10K==1
|
32 |
+
local v bo_commune exposure exposure_eb
|
33 |
+
eststo: xi: areg `v' bo_plundered i.year, absorb(cellID) cluster(cellID)
|
34 |
+
eststo: xi: areg `v' bo_plundered i.year bo_seariver_*, absorb(cellID) cluster(cellID)
|
35 |
+
eststo: xi: areg `v' bo_plundered i.year caloric_suit_100_*, absorb(cellID) cluster(cellID)
|
36 |
+
eststo: xi: areg `v' bo_plundered i.year bo_roman_*, absorb(cellID) cluster(cellID)
|
37 |
+
eststo: xi: areg `v' bo_plundered i.year Europe_*, absorb(cellID) cluster(cellID)
|
38 |
+
eststo: xi: areg `v' bo_plundered BandAB i.year bo_ever_bishop_*, absorb(cellID) cluster(cellID)
|
39 |
+
eststo: xi: areg `v' bo_plundered bo_citypop_le10_ bo_citypop_le10_lag i.year, absorb(cellID) cluster(cellID)
|
40 |
+
eststo: xi: areg `v' bo_plundered i.year bo_seariver_* caloric_suit_100_* bo_roman_* Europe_* BandAB bo_ever_bishop_* bo_citypop_le10_ bo_citypop_le10_lag, absorb(cellID) cluster(cellID)
|
41 |
+
esttab using tables\Table3_Panel_2.rtf, replace star(* 0.10 ** 0.05 *** 0.01) se cells(b(star fmt(3)) se(par fmt(3))) scalars(r2)
|
42 |
+
eststo clear
|
43 |
+
restore
|
44 |
+
|
45 |
+
*_______________________________________________
|
46 |
+
* Table C1: Descriptive statistic of panel data set on Church exposure and Communes
|
47 |
+
preserve
|
48 |
+
keep if sample10K==1
|
49 |
+
gen treat = 0 if exposure==0
|
50 |
+
replace treat = 1 if exposure>0 & exposure!=.
|
51 |
+
table year, c(sum bo_citypop_le10_)
|
52 |
+
table year treat, c(sum bo_citypop_le10_)
|
53 |
+
*calcuate fraction
|
54 |
+
bys year: egen urban_pop = sum(bo_citypop_le10_)
|
55 |
+
replace urban_pop= urban_pop/1000
|
56 |
+
bys year: egen urban_pop_christ = sum(bo_citypop_le10_) if exposure>0 & exposure!=.
|
57 |
+
replace urban_pop_christ= urban_pop_christ/1000
|
58 |
+
bys year: egen communes_no = sum(bo_commune)
|
59 |
+
bys year: egen mean_exp = mean(exposure)
|
60 |
+
*bys year: egen mean_exp_Christ = mean(exposure) if exposure>0
|
61 |
+
gen urban_pop_frac_christ = urban_pop_christ/urban_pop
|
62 |
+
gen city_ex = 1 if bo_citypop_le10_>0 //city exists
|
63 |
+
bys year: egen city_no = sum(city_ex) //number of existing cities
|
64 |
+
bys year: egen city_no_Christ = sum(city_ex) if exposure>0 & exposure!=.
|
65 |
+
gen commune_frac = communes_no/city_no //percentage of communes among existing cities
|
66 |
+
*gen commune_frac_Christ = communes_no/city_no_Christ
|
67 |
+
collapse city_n* communes_no commune_frac urban_pop* mean_ex*, by(year)
|
68 |
+
order year
|
69 |
+
gen frac_christian_cities = city_no_Christ/city_no
|
70 |
+
order year city_no city_no_Christ frac_christian_cities urban_pop urban_pop_christ urban_pop_frac_christ communes_no commune_frac mean_exp
|
71 |
+
outsheet using tables\TableC1_descriptives.xls, replace
|
72 |
+
restore
|
73 |
+
|
74 |
+
|
75 |
+
*_________________________________________________________________________________
|
76 |
+
* Table C2: Western Church Exposure and Communes:
|
77 |
+
* Panel Data Estimates with spatial Conley standard errors
|
78 |
+
*Panel 1
|
79 |
+
preserve
|
80 |
+
keep if sample10K==1
|
81 |
+
forvalues i=500(2000)2500 {
|
82 |
+
local dist `i'
|
83 |
+
eststo: acreg bo_commune exposure bo_plundered, id(cellID) time(year) spatial bartlett latitude(latitude) longitude(longitude) pfe1(cellID) pfe2(year) dist(`i')
|
84 |
+
eststo: acreg bo_commune exposure bo_plundered bo_seariver_*, id(cellID) time(year) spatial bartlett latitude(latitude) longitude(longitude) pfe1(cellID) pfe2(year) dist(`i')
|
85 |
+
eststo: acreg bo_commune exposure bo_plundered caloric_suit_100_*, id(cellID) time(year) spatial bartlett latitude(latitude) longitude(longitude) pfe1(cellID) pfe2(year) dist(`i')
|
86 |
+
eststo: acreg bo_commune exposure bo_plundered bo_roman_*, id(cellID) time(year) spatial bartlett latitude(latitude) longitude(longitude) pfe1(cellID) pfe2(year) dist(`i')
|
87 |
+
eststo: acreg bo_commune exposure bo_plundered Europe_*, id(cellID) time(year) spatial bartlett latitude(latitude) longitude(longitude) pfe1(cellID) pfe2(year) dist(`i')
|
88 |
+
eststo: acreg bo_commune exposure bo_plundered BandAB bo_ever_bishop_* , id(cellID) time(year) spatial bartlett latitude(latitude) longitude(longitude) pfe1(cellID) pfe2(year) dist(`i')
|
89 |
+
eststo: acreg bo_commune exposure bo_plundered bo_citypop_le10_ bo_citypop_le10_lag, id(cellID) time(year) spatial bartlett latitude(latitude) longitude(longitude) pfe1(cellID) pfe2(year) dist(`i')
|
90 |
+
eststo: acreg bo_commune exposure bo_plundered bo_seariver_* caloric_suit_100_* bo_roman_* Europe_* BandAB bo_ever_bishop_* bo_citypop_le10_ bo_citypop_le10_lag, id(cellID) time(year) spatial bartlett latitude(latitude) longitude(longitude) pfe1(cellID) pfe2(year) dist(`i')
|
91 |
+
esttab using tables\TableC2_Panel_1_Conley_`i'.rtf, replace star(* 0.10 ** 0.05 *** 0.01) se cells(b(star fmt(3)) se(par fmt(3))) scalars(r2)
|
92 |
+
eststo clear
|
93 |
+
}
|
94 |
+
restore
|
95 |
+
|
96 |
+
*Panel 2
|
97 |
+
preserve
|
98 |
+
keep if sample10K==1
|
99 |
+
forvalues i=500(2000)2500 {
|
100 |
+
local dist `i'
|
101 |
+
eststo: acreg bo_commune exposure exposure_eb bo_plundered, id(cellID) time(year) spatial bartlett latitude(latitude) longitude(longitude) pfe1(cellID) pfe2(year) dist(`i')
|
102 |
+
eststo: acreg bo_commune exposure exposure_eb bo_plundered bo_seariver_*, id(cellID) time(year) spatial bartlett latitude(latitude) longitude(longitude) pfe1(cellID) pfe2(year) dist(`i')
|
103 |
+
eststo: acreg bo_commune exposure exposure_eb bo_plundered caloric_suit_100_*, id(cellID) time(year) spatial bartlett latitude(latitude) longitude(longitude) pfe1(cellID) pfe2(year) dist(`i')
|
104 |
+
eststo: acreg bo_commune exposure exposure_eb bo_plundered bo_roman_*, id(cellID) time(year) spatial bartlett latitude(latitude) longitude(longitude) pfe1(cellID) pfe2(year) dist(`i')
|
105 |
+
eststo: acreg bo_commune exposure exposure_eb bo_plundered Europe_*, id(cellID) time(year) spatial bartlett latitude(latitude) longitude(longitude) pfe1(cellID) pfe2(year) dist(`i')
|
106 |
+
eststo: acreg bo_commune exposure exposure_eb bo_plundered BandAB bo_ever_bishop_* , id(cellID) time(year) spatial bartlett latitude(latitude) longitude(longitude) pfe1(cellID) pfe2(year) dist(`i')
|
107 |
+
eststo: acreg bo_commune exposure exposure_eb bo_plundered bo_citypop_le10_ bo_citypop_le10_lag, id(cellID) time(year) spatial bartlett latitude(latitude) longitude(longitude) pfe1(cellID) pfe2(year) dist(`i')
|
108 |
+
eststo: acreg bo_commune exposure exposure_eb bo_plundered bo_seariver_* caloric_suit_100_* bo_roman_* Europe_* BandAB bo_ever_bishop_* bo_citypop_le10_ bo_citypop_le10_lag, id(cellID) time(year) spatial bartlett latitude(latitude) longitude(longitude) pfe1(cellID) pfe2(year) dist(`i')
|
109 |
+
esttab using tables\TableC2_Panel_2_Conley_`i'.rtf, replace star(* 0.10 ** 0.05 *** 0.01) se cells(b(star fmt(3)) se(par fmt(3))) scalars(r2)
|
110 |
+
eststo clear
|
111 |
+
}
|
112 |
+
restore
|
113 |
+
|
114 |
+
|
115 |
+
*_______________________________________________________________________________
|
116 |
+
* Table C3: Church exposure & communes: Iberian Peninsula, Carolingian Emp. & Roman Britain
|
117 |
+
|
118 |
+
* Panel 1: Hispanic Penninsula
|
119 |
+
preserve
|
120 |
+
keep if sample10K==1
|
121 |
+
local v bo_commune exposure_s exposure_ns
|
122 |
+
eststo: xi: areg `v' bo_plundered i.year, absorb(cellID) cluster(cellID)
|
123 |
+
eststo: xi: areg `v' bo_plundered i.year bo_seariver_*, absorb(cellID) cluster(cellID)
|
124 |
+
eststo: xi: areg `v' bo_plundered i.year caloric_suit_100_*, absorb(cellID) cluster(cellID)
|
125 |
+
eststo: xi: areg `v' bo_plundered i.year bo_roman_*, absorb(cellID) cluster(cellID)
|
126 |
+
eststo: xi: areg `v' bo_plundered i.year Europe_*, absorb(cellID) cluster(cellID)
|
127 |
+
eststo: xi: areg `v' bo_plundered BandAB i.year bo_ever_bishop_*, absorb(cellID) cluster(cellID)
|
128 |
+
eststo: xi: areg `v' bo_plundered bo_citypop_le10_ bo_citypop_le10_lag i.year, absorb(cellID) cluster(cellID)
|
129 |
+
eststo: xi: areg `v' bo_plundered i.year bo_seariver_* caloric_suit_100_* bo_roman_* Europe_* BandAB bo_ever_bishop_* bo_citypop_le10_ bo_citypop_le10_lag, absorb(cellID) cluster(cellID)
|
130 |
+
esttab using tables\TableC3_Panel_1_Iberia.rtf, replace star(* 0.10 ** 0.05 *** 0.01) se cells(b(star fmt(3)) se(par fmt(3))) scalars(r2)
|
131 |
+
eststo clear
|
132 |
+
restore
|
133 |
+
|
134 |
+
* Panel 2: Carolingian Empire
|
135 |
+
preserve
|
136 |
+
keep if sample10K==1
|
137 |
+
local v bo_commune exposure_c exposure_nc
|
138 |
+
eststo: xi: areg `v' bo_plundered i.year, absorb(cellID) cluster(cellID)
|
139 |
+
eststo: xi: areg `v' bo_plundered i.year bo_seariver_*, absorb(cellID) cluster(cellID)
|
140 |
+
eststo: xi: areg `v' bo_plundered i.year caloric_suit_100_*, absorb(cellID) cluster(cellID)
|
141 |
+
eststo: xi: areg `v' bo_plundered i.year bo_roman_*, absorb(cellID) cluster(cellID)
|
142 |
+
eststo: xi: areg `v' bo_plundered i.year Europe_*, absorb(cellID) cluster(cellID)
|
143 |
+
eststo: xi: areg `v' bo_plundered BandAB i.year bo_ever_bishop_*, absorb(cellID) cluster(cellID)
|
144 |
+
eststo: xi: areg `v' bo_plundered bo_citypop_le10_ bo_citypop_le10_lag i.year, absorb(cellID) cluster(cellID)
|
145 |
+
eststo: xi: areg `v' bo_plundered i.year bo_seariver_* caloric_suit_100_* bo_roman_* Europe_* BandAB bo_ever_bishop_* bo_citypop_le10_ bo_citypop_le10_lag, absorb(cellID) cluster(cellID)
|
146 |
+
esttab using tables\TableC3_Panel_2_Carolingian.rtf, replace star(* 0.10 ** 0.05 *** 0.01) se cells(b(star fmt(3)) se(par fmt(3))) scalars(r2)
|
147 |
+
eststo clear
|
148 |
+
restore
|
149 |
+
|
150 |
+
* Panel 3: Roman Britain
|
151 |
+
preserve
|
152 |
+
keep if sample10K==1
|
153 |
+
local v bo_commune exposure_rb exposure_nrb
|
154 |
+
eststo: xi: areg `v' bo_plundered i.year, absorb(cellID) cluster(cellID)
|
155 |
+
eststo: xi: areg `v' bo_plundered i.year bo_seariver_*, absorb(cellID) cluster(cellID)
|
156 |
+
eststo: xi: areg `v' bo_plundered i.year caloric_suit_100_*, absorb(cellID) cluster(cellID)
|
157 |
+
eststo: xi: areg `v' bo_plundered i.year bo_roman_*, absorb(cellID) cluster(cellID)
|
158 |
+
eststo: xi: areg `v' bo_plundered i.year Europe_*, absorb(cellID) cluster(cellID)
|
159 |
+
eststo: xi: areg `v' bo_plundered BandAB i.year bo_ever_bishop_*, absorb(cellID) cluster(cellID)
|
160 |
+
eststo: xi: areg `v' bo_plundered bo_citypop_le10_ bo_citypop_le10_lag i.year, absorb(cellID) cluster(cellID)
|
161 |
+
eststo: xi: areg `v' bo_plundered i.year bo_seariver_* caloric_suit_100_* bo_roman_* Europe_* BandAB bo_ever_bishop_* bo_citypop_le10_ bo_citypop_le10_lag, absorb(cellID) cluster(cellID)
|
162 |
+
esttab using tables\TableC3_Panel_3_RomainBrittain.rtf, replace star(* 0.10 ** 0.05 *** 0.01) se cells(b(star fmt(3)) se(par fmt(3))) scalars(r2)
|
163 |
+
eststo clear
|
164 |
+
restore
|
165 |
+
|
166 |
+
|
167 |
+
*________________________________________________________________________________________
|
168 |
+
* Table C4: Western Church Exposure and Inclusive City Institutions in the HRE*Panel 1
|
169 |
+
preserve
|
170 |
+
keep if sampleHRE==1
|
171 |
+
local v fw_InclusiveInst exposure
|
172 |
+
xi: areg `v' i.year, absorb(cellID) cluster(cellID)
|
173 |
+
eststo: xi: areg `v' bo_plundered i.year, absorb(cellID) cluster(cellID)
|
174 |
+
eststo: xi: areg `v' bo_plundered i.year bo_seariver_*, absorb(cellID) cluster(cellID)
|
175 |
+
eststo: xi: areg `v' bo_plundered i.year caloric_suit_100_*, absorb(cellID) cluster(cellID)
|
176 |
+
eststo: xi: areg `v' bo_plundered i.year bo_roman_*, absorb(cellID) cluster(cellID)
|
177 |
+
eststo: xi: areg `v' bo_plundered i.year*caro, absorb(cellID) cluster(cellID)
|
178 |
+
eststo: xi: areg `v' bo_plundered BandAB i.year bo_ever_bishop_*, absorb(cellID) cluster(cellID)
|
179 |
+
eststo: xi: areg `v' bo_plundered bo_citypop_le5_ bo_citypop_le5_lag i.year, absorb(cellID) cluster(cellID)
|
180 |
+
eststo: xi: areg `v' bo_plundered i.year bo_seariver_* caloric_suit_100_* bo_roman_* BandAB bo_ever_bishop_* bo_citypop_le5_ bo_citypop_le5_lag, absorb(cellID) cluster(cellID)
|
181 |
+
esttab using tables\TableC4_Panel_1.rtf, replace star(* 0.10 ** 0.05 *** 0.01) se cells(b(star fmt(3)) se(par fmt(3))) scalars(r2)
|
182 |
+
eststo clear
|
183 |
+
restore
|
184 |
+
|
185 |
+
*Panel 2
|
186 |
+
preserve
|
187 |
+
keep if sampleHRE==1
|
188 |
+
local v fw_InclusiveInst exposure
|
189 |
+
keep if northgerm==1
|
190 |
+
eststo: xi: areg `v' bo_plundered i.year, absorb(cellID) cluster(cellID)
|
191 |
+
eststo: xi: areg `v' bo_plundered i.year bo_seariver_*, absorb(cellID) cluster(cellID)
|
192 |
+
eststo: xi: areg `v' bo_plundered i.year caloric_suit_100_*, absorb(cellID) cluster(cellID)
|
193 |
+
eststo: xi: areg `v' bo_plundered i.year bo_roman_*, absorb(cellID) cluster(cellID)
|
194 |
+
eststo: xi: areg `v' bo_plundered i.year*caro, absorb(cellID) cluster(cellID)
|
195 |
+
eststo: xi: areg `v' bo_plundered BandAB i.year bo_ever_bishop_*, absorb(cellID) cluster(cellID)
|
196 |
+
eststo: xi: areg `v' bo_plundered bo_citypop_le5_ bo_citypop_le5_lag i.year, absorb(cellID) cluster(cellID)
|
197 |
+
eststo: xi: areg `v' bo_plundered i.year bo_seariver_* caloric_suit_100_* bo_roman_* BandAB bo_ever_bishop_* bo_citypop_le5_ bo_citypop_le5_lag, absorb(cellID) cluster(cellID)
|
198 |
+
esttab using tables\TableC4_Panel_2.rtf, replace star(* 0.10 ** 0.05 *** 0.01) se cells(b(star fmt(3)) se(par fmt(3))) scalars(r2)
|
199 |
+
eststo clear
|
200 |
+
restore
|
201 |
+
|
202 |
+
|
203 |
+
*_______________________________________________________________________________
|
204 |
+
* Table C5: Western Church Exposure and City population: Panel Data Estimates
|
205 |
+
preserve
|
206 |
+
keep if sample10K==1
|
207 |
+
local v bo_citypop_le10_ exposure
|
208 |
+
eststo: xi: areg `v' bo_plundered i.year, absorb(cellID) cluster(cellID)
|
209 |
+
eststo: xi: areg `v' bo_plundered i.year bo_seariver_*, absorb(cellID) cluster(cellID)
|
210 |
+
eststo: xi: areg `v' bo_plundered i.year caloric_suit_100_*, absorb(cellID) cluster(cellID)
|
211 |
+
eststo: xi: areg `v' bo_plundered i.year bo_roman_*, absorb(cellID) cluster(cellID)
|
212 |
+
eststo: xi: areg `v' bo_plundered i.year Europe_*, absorb(cellID) cluster(cellID)
|
213 |
+
eststo: xi: areg `v' bo_plundered BandAB i.year bo_ever_bishop_*, absorb(cellID) cluster(cellID)
|
214 |
+
eststo: xi: areg `v' bo_plundered bo_commune bo_commune_lag1 i.year, absorb(cellID) cluster(cellID)
|
215 |
+
eststo: xi: areg `v' bo_plundered i.year bo_seariver_* caloric_suit_100_* bo_roman_* Europe_* BandAB bo_ever_bishop_* bo_commune bo_commune_lag1, absorb(cellID) cluster(cellID)
|
216 |
+
esttab using tables\TableC5_population.rtf, replace star(* 0.10 ** 0.05 *** 0.01) se cells(b(star fmt(3)) se(par fmt(3))) scalars(r2)
|
217 |
+
eststo clear
|
218 |
+
restore
|
219 |
+
|
220 |
+
|
221 |
+
|
222 |
+
*_______________________________________________________________________________
|
223 |
+
* Table C7: Western Church Exposure and Commune Cities: Event study - Specification (3)
|
224 |
+
|
225 |
+
preserve
|
226 |
+
keep if sample10K==1
|
227 |
+
eststo: xi: areg bo_commune bo_plundered aw_m3_ aw_m2_ aw_m1_ aw_0_ aw_1_ aw_2_ aw_3_ aw_4_ aw_5_ aw_6_ aw_7_ aw_8_ aw_9_ i.year, absorb(cellID) cluster(cellID)
|
228 |
+
test aw_m3_ = aw_m2_ = aw_m1_ = 0
|
229 |
+
eststo: xi: areg bo_commune bo_plundered aw_m3_ aw_m2_ aw_m1_ aw_0_ aw_1_ aw_2_ aw_3_ aw_4_ aw_5_ aw_6_ aw_7_ aw_8_ aw_9_ i.year bo_seariver_*, absorb(cellID) cluster(cellID)
|
230 |
+
test aw_m1_ = aw_0_
|
231 |
+
eststo: xi: areg bo_commune bo_plundered aw_m3_ aw_m2_ aw_m1_ aw_0_ aw_1_ aw_2_ aw_3_ aw_4_ aw_5_ aw_6_ aw_7_ aw_8_ aw_9_ i.year caloric_suit_100_*, absorb(cellID) cluster(cellID)
|
232 |
+
test aw_m1_ = aw_0_
|
233 |
+
eststo: xi: areg bo_commune bo_plundered aw_m3_ aw_m2_ aw_m1_ aw_0_ aw_1_ aw_2_ aw_3_ aw_4_ aw_5_ aw_6_ aw_7_ aw_8_ aw_9_ i.year bo_roman_*, absorb(cellID) cluster(cellID)
|
234 |
+
test aw_m1_ = aw_0_
|
235 |
+
eststo: xi: areg bo_commune bo_plundered aw_m3_ aw_m2_ aw_m1_ aw_0_ aw_1_ aw_2_ aw_3_ aw_4_ aw_5_ aw_6_ aw_7_ aw_8_ aw_9_ i.year Europe_*, absorb(cellID) cluster(cellID)
|
236 |
+
test aw_m1_ = aw_0_
|
237 |
+
eststo: xi: areg bo_commune bo_plundered aw_m3_ aw_m2_ aw_m1_ aw_0_ aw_1_ aw_2_ aw_3_ aw_4_ aw_5_ aw_6_ aw_7_ aw_8_ aw_9_ i.year bo_ever_bishop_* BandAB, absorb(cellID) cluster(cellID)
|
238 |
+
test aw_m1_ = aw_0_
|
239 |
+
eststo: xi: areg bo_commune bo_plundered aw_m3_ aw_m2_ aw_m1_ aw_0_ aw_1_ aw_2_ aw_3_ aw_4_ aw_5_ aw_6_ aw_7_ aw_8_ aw_9_ i.year bo_citypop_le10_ bo_citypop_le10_lag, absorb(cellID) cluster(cellID)
|
240 |
+
test aw_m1_ = aw_0_
|
241 |
+
eststo: xi: areg bo_commune bo_plundered aw_m3_ aw_m2_ aw_m1_ aw_0_ aw_1_ aw_2_ aw_3_ aw_4_ aw_5_ aw_6_ aw_7_ aw_8_ aw_9_ i.year bo_seariver_* caloric_suit_100_* bo_roman_* Europe_* bo_ever_bishop_* BandAB bo_citypop_le10_ bo_citypop_le10_lag, absorb(cellID) cluster(cellID)
|
242 |
+
test aw_m1_ = aw_0_
|
243 |
+
esttab using tables\TableC7_EventStudy.rtf, replace star(* 0.10 ** 0.05 *** 0.01) se cells(b(star fmt(3)) se(par fmt(3))) scalars(r2)
|
244 |
+
eststo clear
|
245 |
+
restore
|
246 |
+
|
247 |
+
*_______________________________________________________________________________
|
248 |
+
* Table C8: Western Church Exposure and Commune Cities: Event study Specification (4)
|
249 |
+
preserve
|
250 |
+
keep if sample10K==1
|
251 |
+
eststo: xi: areg bo_commune bo_plundered aw_m3_ aw_m2_ aw_m1_ aw_0_ aw_1_ aw_2_ aw_3_ aw_4_ aw_5_ aw_6_ aw_7_ aw_8_ aw_9_ aw_m_eb3_ aw_m_eb2_ aw_m_eb1_ aw_eb0_ aw_eb1_ aw_eb2_ aw_eb3_ aw_eb4_ aw_eb5_ aw_eb6_ aw_eb7_ aw_eb8_ aw_eb9_ i.year, absorb(cellID) cluster(cellID)
|
252 |
+
test aw_m3_ = aw_m2_ = aw_m1_ = 0
|
253 |
+
test aw_m_eb3_ = aw_m_eb2_ = aw_m_eb1_ = 0
|
254 |
+
eststo: xi: areg bo_commune bo_plundered aw_m3_ aw_m2_ aw_m1_ aw_0_ aw_1_ aw_2_ aw_3_ aw_4_ aw_5_ aw_6_ aw_7_ aw_8_ aw_9_ aw_m_eb3_ aw_m_eb2_ aw_m_eb1_ aw_eb0_ aw_eb1_ aw_eb2_ aw_eb3_ aw_eb4_ aw_eb5_ aw_eb6_ aw_eb7_ aw_eb8_ aw_eb9_ i.year bo_seariver_*, absorb(cellID) cluster(cellID)
|
255 |
+
eststo: xi: areg bo_commune bo_plundered aw_m3_ aw_m2_ aw_m1_ aw_0_ aw_1_ aw_2_ aw_3_ aw_4_ aw_5_ aw_6_ aw_7_ aw_8_ aw_9_ aw_m_eb3_ aw_m_eb2_ aw_m_eb1_ aw_eb0_ aw_eb1_ aw_eb2_ aw_eb3_ aw_eb4_ aw_eb5_ aw_eb6_ aw_eb7_ aw_eb8_ aw_eb9_ i.year caloric_suit_100_*, absorb(cellID) cluster(cellID)
|
256 |
+
eststo: xi: areg bo_commune bo_plundered aw_m3_ aw_m2_ aw_m1_ aw_0_ aw_1_ aw_2_ aw_3_ aw_4_ aw_5_ aw_6_ aw_7_ aw_8_ aw_9_ aw_m_eb3_ aw_m_eb2_ aw_m_eb1_ aw_eb0_ aw_eb1_ aw_eb2_ aw_eb3_ aw_eb4_ aw_eb5_ aw_eb6_ aw_eb7_ aw_eb8_ aw_eb9_ i.year bo_roman_*, absorb(cellID) cluster(cellID)
|
257 |
+
eststo: xi: areg bo_commune bo_plundered aw_m3_ aw_m2_ aw_m1_ aw_0_ aw_1_ aw_2_ aw_3_ aw_4_ aw_5_ aw_6_ aw_7_ aw_8_ aw_9_ aw_m_eb3_ aw_m_eb2_ aw_m_eb1_ aw_eb0_ aw_eb1_ aw_eb2_ aw_eb3_ aw_eb4_ aw_eb5_ aw_eb6_ aw_eb7_ aw_eb8_ aw_eb9_ i.year Europe_*, absorb(cellID) cluster(cellID)
|
258 |
+
eststo: xi: areg bo_commune bo_plundered aw_m3_ aw_m2_ aw_m1_ aw_0_ aw_1_ aw_2_ aw_3_ aw_4_ aw_5_ aw_6_ aw_7_ aw_8_ aw_9_ aw_m_eb3_ aw_m_eb2_ aw_m_eb1_ aw_eb0_ aw_eb1_ aw_eb2_ aw_eb3_ aw_eb4_ aw_eb5_ aw_eb6_ aw_eb7_ aw_eb8_ aw_eb9_ i.year bo_ever_bishop_* BandAB, absorb(cellID) cluster(cellID)
|
259 |
+
eststo: xi: areg bo_commune bo_plundered aw_m3_ aw_m2_ aw_m1_ aw_0_ aw_1_ aw_2_ aw_3_ aw_4_ aw_5_ aw_6_ aw_7_ aw_8_ aw_9_ aw_m_eb3_ aw_m_eb2_ aw_m_eb1_ aw_eb0_ aw_eb1_ aw_eb2_ aw_eb3_ aw_eb4_ aw_eb5_ aw_eb6_ aw_eb7_ aw_eb8_ aw_eb9_ i.year bo_citypop_le10_ bo_citypop_le10_lag, absorb(cellID) cluster(cellID)
|
260 |
+
eststo: xi: areg bo_commune bo_plundered aw_m3_ aw_m2_ aw_m1_ aw_0_ aw_1_ aw_2_ aw_3_ aw_4_ aw_5_ aw_6_ aw_7_ aw_8_ aw_9_ aw_m_eb3_ aw_m_eb2_ aw_m_eb1_ aw_eb0_ aw_eb1_ aw_eb2_ aw_eb3_ aw_eb4_ aw_eb5_ aw_eb6_ aw_eb7_ aw_eb8_ aw_eb9_ i.year bo_seariver_* caloric_suit_100_* bo_roman_* Europe_* bo_ever_bishop_* BandAB bo_citypop_le10_ bo_citypop_le10_lag, absorb(cellID) cluster(cellID)
|
261 |
+
esttab using tables\TableC8_EventStudy.rtf, replace star(* 0.10 ** 0.05 *** 0.01) se cells(b(star fmt(3)) se(par fmt(3))) scalars(r2)
|
262 |
+
eststo clear
|
263 |
+
restore
|
106/replication_package/03_HistoricalUrbanAnalysis_Table3_Table4/IncestLegislationExposureAndCommune_Table4.do
ADDED
@@ -0,0 +1,96 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
*THIS DO-FILE IS FOR THE INCESTLEGISLATION EXPOSURE ANALYSIS
|
2 |
+
*IT CREATES OUTPUT FOR TABLE 4 AND APPENDIX TABLES C9 AND C10
|
3 |
+
|
4 |
+
use data\IncestLegislation.dta, clear
|
5 |
+
|
6 |
+
|
7 |
+
*____________________
|
8 |
+
* Table4: Incest Legislation Exposure and Communes in the Carolingian Empire
|
9 |
+
* Panel 1
|
10 |
+
preserve
|
11 |
+
local y bo_commune1200
|
12 |
+
local x IncestLegislation_exp Church_exp_1200 italy
|
13 |
+
eststo: xi: reg `y' `x', r
|
14 |
+
eststo: xi: reg `y' `x' bo_sea1200, r
|
15 |
+
eststo: xi: reg `y' `x' caloric_suit_100, r
|
16 |
+
eststo: xi: reg `y' `x' bo_rom_road_n, r
|
17 |
+
eststo: xi: reg `y' `x' bo_bisharch1200, r
|
18 |
+
eststo: xi: reg `y' `x' bo_rom_road_n caloric_suit_100 bo_sea1200 bo_bisharch1200, r
|
19 |
+
eststo: xi: reg `y' `x' bo_citypop_le10_1200, r
|
20 |
+
eststo: xi: reg `y' `x' bo_citypop_le10_1200 bo_rom_road_n caloric_suit_100 bo_sea1200 bo_bisharch1200, r
|
21 |
+
esttab using tables/Table4_Panel_1.rtf, replace star(* 0.10 ** 0.05 *** 0.01) se cells(b(star fmt(2)) se(par fmt(2))) scalars(r2)
|
22 |
+
eststo clear
|
23 |
+
|
24 |
+
* Panel 2
|
25 |
+
local y bo_commune1200
|
26 |
+
local x IncestLegislation_exp Church_exp_1200 Synod_exp italy
|
27 |
+
eststo: xi: reg `y' `x' , r
|
28 |
+
eststo: xi: reg `y' `x' bo_sea1200, r
|
29 |
+
eststo: xi: reg `y' `x' caloric_suit_100, r
|
30 |
+
eststo: xi: reg `y' `x' bo_rom_road_n, r
|
31 |
+
eststo: xi: reg `y' `x' bo_bisharch1200, r
|
32 |
+
eststo: xi: reg `y' `x' bo_rom_road_n caloric_suit_100 bo_sea1200 bo_bisharch1200, r
|
33 |
+
eststo: xi: reg `y' `x' bo_citypop_le10_1200, r
|
34 |
+
eststo: xi: reg `y' `x' bo_citypop_le10_1200 bo_rom_road_n caloric_suit_100 bo_sea1200 bo_bisharch1200, r
|
35 |
+
esttab using tables\Table4_Panel_2.rtf, replace star(* 0.10 ** 0.05 *** 0.01) se cells(b(star fmt(2)) se(par fmt(2))) scalars(r2)
|
36 |
+
eststo clear
|
37 |
+
|
38 |
+
|
39 |
+
*____________________
|
40 |
+
* Table C9: Incest Legislation Exposure and Communes in the Carolingian Empire
|
41 |
+
* with spatial Conley standard errors
|
42 |
+
|
43 |
+
* Panel 1
|
44 |
+
local dist 500
|
45 |
+
local x IncestLegislation_exp Church_exp_1200 italy
|
46 |
+
eststo: acreg `y' `x', spatial latitude(latitude) longitude(longitude) dist(`dist') bartlett
|
47 |
+
eststo: acreg `y' `x' bo_sea1200, spatial latitude(latitude) longitude(longitude) dist(`dist') bartlett
|
48 |
+
eststo: acreg `y' `x' caloric_suit_100, spatial latitude(latitude) longitude(longitude) dist(`dist') bartlett
|
49 |
+
eststo: acreg `y' `x' bo_rom_road_n, spatial latitude(latitude) longitude(longitude) dist(`dist') bartlett
|
50 |
+
eststo: acreg `y' `x' bo_bisharch1200, spatial latitude(latitude) longitude(longitude) dist(`dist') bartlett
|
51 |
+
eststo: acreg `y' `x' bo_rom_road_n caloric_suit_100 bo_sea1200 bo_bisharch1200, spatial latitude(latitude) longitude(longitude) dist(`dist') bartlett
|
52 |
+
eststo: acreg `y' `x' bo_citypop_le10_1200, spatial latitude(latitude) longitude(longitude) dist(`dist') bartlett
|
53 |
+
eststo: acreg `y' `x' bo_citypop_le10_1200 bo_rom_road_n caloric_suit_100 bo_sea1200 bo_bisharch1200, spatial latitude(latitude) longitude(longitude) dist(`dist') bartlett
|
54 |
+
esttab using tables\TableC9_Panel_1_Conley.rtf, replace star(* 0.10 ** 0.05 *** 0.01) se cells(b(star fmt(2)) se(par fmt(2))) scalars(r2)
|
55 |
+
eststo clear
|
56 |
+
|
57 |
+
local x IncestLegislation_exp Synod_exp Church_exp_1200 italy
|
58 |
+
eststo: acreg `y' `x', spatial latitude(latitude) longitude(longitude) dist(`dist') bartlett
|
59 |
+
eststo: acreg `y' `x' bo_sea1200, spatial latitude(latitude) longitude(longitude) dist(`dist') bartlett
|
60 |
+
eststo: acreg `y' `x' caloric_suit_100, spatial latitude(latitude) longitude(longitude) dist(`dist') bartlett
|
61 |
+
eststo: acreg `y' `x' bo_rom_road_n, spatial latitude(latitude) longitude(longitude) dist(`dist') bartlett
|
62 |
+
eststo: acreg `y' `x' bo_bisharch1200, spatial latitude(latitude) longitude(longitude) dist(`dist') bartlett
|
63 |
+
eststo: acreg `y' `x' bo_rom_road_n caloric_suit_100 bo_sea1200 bo_bisharch1200, spatial latitude(latitude) longitude(longitude) dist(`dist') bartlett
|
64 |
+
eststo: acreg `y' `x' bo_citypop_le10_1200, spatial latitude(latitude) longitude(longitude) dist(`dist') bartlett
|
65 |
+
eststo: acreg `y' `x' bo_citypop_le10_1200 bo_rom_road_n caloric_suit_100 bo_sea1200 bo_bisharch1200, spatial latitude(latitude) longitude(longitude) dist(`dist') bartlett
|
66 |
+
esttab using tables\TableC9_Panel_2_Conley.rtf, replace star(* 0.10 ** 0.05 *** 0.01) se cells(b(star fmt(2)) se(par fmt(2))) scalars(r2)
|
67 |
+
eststo clear
|
68 |
+
restore
|
69 |
+
|
70 |
+
|
71 |
+
*_______________________________________________________________________________
|
72 |
+
* Table C10: Incest Legislation Exposure and City Population within the Carolingian Empire
|
73 |
+
|
74 |
+
* in year 800 AD
|
75 |
+
preserve
|
76 |
+
drop if bo_citypop_le10_800==.
|
77 |
+
drop if bo_citypop_le10_1200==0
|
78 |
+
|
79 |
+
local y bo_citypop_le10_800
|
80 |
+
local x IncestLegislation_exp Church_exp_800 Synod_exp italy
|
81 |
+
eststo: reg `y' `x', r
|
82 |
+
eststo: reg `y' `x' bo_sea800, r
|
83 |
+
eststo: reg `y' `x' caloric_suit_100, r
|
84 |
+
eststo: reg `y' `x' bo_rom_road_n, r
|
85 |
+
eststo: reg `y' `x' bo_bisharch800, r
|
86 |
+
eststo: reg `y' `x' bo_rom_road_n caloric_suit_100 bo_sea800 bo_bisharch800, r
|
87 |
+
esttab using tables\TableC10.rtf, replace star(* 0.10 ** 0.05 *** 0.01) se cells(b(star fmt(3)) se(par fmt(3))) scalars(r2)
|
88 |
+
eststo clear
|
89 |
+
restore
|
90 |
+
|
91 |
+
|
92 |
+
|
93 |
+
|
94 |
+
|
95 |
+
|
96 |
+
|
106/replication_package/03_HistoricalUrbanAnalysis_Table3_Table4/data/IncestLegislation.csv
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9baefd450d1f840697e3918125466f09c680fdc865f7026b250eae6367c9a3f2
|
3 |
+
size 9536
|
106/replication_package/03_HistoricalUrbanAnalysis_Table3_Table4/data/IncestLegislation.dta
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3e168d9bc9d62bfc5ac7596b5646b7cabd2c1bd72a37abacc8dc2056217bf339
|
3 |
+
size 71758
|
106/replication_package/03_HistoricalUrbanAnalysis_Table3_Table4/data/urbanflexible.csv
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:11aae3495574d194df1a5719f3515f7def3670aa7ae19d9031e76cd54fb8e995
|
3 |
+
size 5395764
|
106/replication_package/03_HistoricalUrbanAnalysis_Table3_Table4/data/urbanflexible.dta
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d326815d5008a4f89db5593fb98292f2cc80d01c80904c263181738c5ca34a90
|
3 |
+
size 9714793
|
106/replication_package/03_HistoricalUrbanAnalysis_Table3_Table4/tables/~$ble4_Panel_1.rtf
ADDED
Binary file (162 Bytes). View file
|
|
106/replication_package/04_EuropeanRegions_Table5/Analysis_EuropeanRegions.do
ADDED
@@ -0,0 +1,110 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
* THIS DO-FILE IS FOR THE EUROPEAN REGIONAL ANALYSIS
|
2 |
+
* IT CREATES THE OUTPUT FOR TABLE 5 AND APPENDIX TABLES D1 & B5
|
3 |
+
|
4 |
+
|
5 |
+
use data\EuropeanRegions2.dta, clear
|
6 |
+
|
7 |
+
|
8 |
+
*______________________________
|
9 |
+
* Create sample (such that all regressions will have same number of observations
|
10 |
+
|
11 |
+
keep if facntr==1 //only respondents whose father did not immigrate
|
12 |
+
keep if mocntr==1 //only respondents whose father did not immigrate
|
13 |
+
keep if citizen==1 //only those who indicated that they are citizens
|
14 |
+
drop if education==.
|
15 |
+
drop if rlgdnm==.
|
16 |
+
drop if rlgdgr==.
|
17 |
+
drop if domicil==.
|
18 |
+
drop if monastic==.
|
19 |
+
drop if pop_densit500ad ==.
|
20 |
+
|
21 |
+
|
22 |
+
*____________________________________________
|
23 |
+
* Table 5: Cousin Marriage and Political Participation in Regions of Europe
|
24 |
+
local v Ln_FirstCousin
|
25 |
+
local a ageb_sqrt ageb female
|
26 |
+
local b rugged dist_coast caloricsui abs_latitude
|
27 |
+
local c prec temp elevation river_lake rye_rain oat_rain
|
28 |
+
local d roman_road
|
29 |
+
local e monastic
|
30 |
+
local f rlgdgr i.rlgdnm
|
31 |
+
local g i.education
|
32 |
+
local h i.domicil pop_densit500ad
|
33 |
+
|
34 |
+
local x vote
|
35 |
+
eststo: areg `x' `v' `a' i.essround, absorb(cntry) cluster(region_name)
|
36 |
+
eststo: areg `x' `v' `a' `b' i.essround, absorb(cntry) cluster(region_name)
|
37 |
+
eststo: areg `x' `v' `a' `b' `c' i.essround, absorb(cntry) cluster(region_name)
|
38 |
+
eststo: areg `x' `v' `a' `b' `d' i.essround, absorb(cntry) cluster(region_name)
|
39 |
+
eststo: areg `x' `v' `a' `b' `e' `f' i.essround, absorb(cntry) cluster(region_name)
|
40 |
+
eststo: areg `x' `v' `a' `b' `g' i.essround, absorb(cntry) cluster(region_name)
|
41 |
+
eststo: areg `x' `v' `a' `b' `h' i.essround, absorb(cntry) cluster(region_name)
|
42 |
+
eststo: areg `x' `v' `a' `b' `c' `d' `e' `f' `g' `h' i.essround, absorb(cntry) cluster(region_name)
|
43 |
+
esttab using tables\Table6_Vote.rtf, replace star(* 0.10 ** 0.05 *** 0.01) se cells(b(star fmt(3)) se(par fmt(3))) scalars(r2)
|
44 |
+
eststo clear
|
45 |
+
|
46 |
+
*____________________________________________
|
47 |
+
* Table D1: Cousin Marriage and Political Participation in Regions of Europe with spatial Conley standard errors
|
48 |
+
|
49 |
+
*create numeric countyr code
|
50 |
+
sort cntry
|
51 |
+
by cntry: gen country_id = 1 if _n==1
|
52 |
+
replace country_id = sum(country_id)
|
53 |
+
replace country_id = . if missing(cntry)
|
54 |
+
|
55 |
+
local x vote
|
56 |
+
local dist 2500
|
57 |
+
eststo: acreg `x' `v' `a' , pfe1(essround) pfe2(country_id) spatial latitude(latitude) longitude(longitude) dist(`dist') bartlett
|
58 |
+
eststo: acreg `x' `v' `a' `b' , pfe1(essround) pfe2(country_id) spatial latitude(latitude) longitude(longitude) dist(`dist') bartlett
|
59 |
+
eststo: acreg `x' `v' `a' `b' `c' , pfe1(essround) pfe2(country_id) spatial latitude(latitude) longitude(longitude) dist(`dist') bartlett
|
60 |
+
eststo: acreg `x' `v' `a' `b' `d' , pfe1(essround) pfe2(country_id) spatial latitude(latitude) longitude(longitude) dist(`dist') bartlett
|
61 |
+
eststo: xi: acreg `x' `v' `a' `b' `e' `f' , pfe1(essround) pfe2(country_id) spatial latitude(latitude) longitude(longitude) dist(`dist') bartlett
|
62 |
+
eststo: xi: acreg `x' `v' `a' `b' `g' , pfe1(essround) pfe2(country_id) spatial latitude(latitude) longitude(longitude) dist(`dist') bartlett
|
63 |
+
eststo: xi: acreg `x' `v' `a' `b' `h' , pfe1(essround) pfe2(country_id) spatial latitude(latitude) longitude(longitude) dist(`dist') bartlett
|
64 |
+
eststo: xi: acreg `x' `v' `a' `b' `c' `d' `e' `f' `g' `h' , pfe1(essround) pfe2(country_id) spatial latitude(latitude) longitude(longitude) dist(`dist') bartlett
|
65 |
+
esttab using tables\TableD1_Conley_`dist'.rtf, replace star(* 0.10 ** 0.05 *** 0.01) se cells(b(star fmt(3)) se(par fmt(3))) scalars(r2)
|
66 |
+
eststo clear
|
67 |
+
|
68 |
+
|
69 |
+
*___________________________________________
|
70 |
+
* Table B5: European regional-level Church exposure and cousin-marriage practices
|
71 |
+
clear all
|
72 |
+
use data\EuropeanRegions2.dta
|
73 |
+
|
74 |
+
preserve
|
75 |
+
collapse carolingian_ratio ChurchExp rugged dist_coast caloricsui abs_latitude FirstCousin pop_densit500ad roman_road rye_rain oat_rain prec temp irg_po elevation river_lake, by(cntry region_name)
|
76 |
+
|
77 |
+
gen Ln_FirstCousin = ln(FirstCousin)
|
78 |
+
|
79 |
+
keep if cntry=="IT" | cntry=="ES" | cntry=="FR" | cntry=="TR"
|
80 |
+
|
81 |
+
local a rugged dist_coast caloricsui
|
82 |
+
local b rugged dist_coast caloricsui abs_latitude
|
83 |
+
|
84 |
+
local x Ln_FirstCousin
|
85 |
+
local v ChurchExp
|
86 |
+
*Panel 1: Church Exposure & Cousin-Marriage______________________________
|
87 |
+
eststo: areg `x' `v' , absorb(cntry) r
|
88 |
+
eststo: areg `x' `v' `a', absorb(cntry) r
|
89 |
+
eststo: areg `x' `v' `b', absorb(cntry) r
|
90 |
+
eststo: areg `x' `v' `a' prec temp elevation river_lake rye_rain oat_rain irg_po, absorb(cntry) r
|
91 |
+
eststo: areg `x' `v' `a' roman_road , absorb(cntry) r
|
92 |
+
eststo: areg `x' `v' `a' pop_densit500ad , absorb(cntry) r
|
93 |
+
eststo: areg `x' `v' `a' roman_road pop_densit500ad roman_road rye_rain oat_rain prec temp irg_po elevation river_lake, absorb(cntry) cluster(region_name)
|
94 |
+
esttab using tables\TableB5_Panel_1_ChurchExposure.rtf, replace star(* 0.10 ** 0.05 *** 0.01) se cells(b(star fmt(3)) se(par fmt(3))) scalars(r2)
|
95 |
+
eststo clear
|
96 |
+
|
97 |
+
local x Ln_FirstCousin
|
98 |
+
local v carolingian_ratio
|
99 |
+
*Panel 2: Carolingian Exposure & Cousin-Marriage______________________________
|
100 |
+
eststo: areg `x' `v' , absorb(cntry) r
|
101 |
+
eststo: areg `x' `v' `a', absorb(cntry) r
|
102 |
+
eststo: areg `x' `v' `b', absorb(cntry) r
|
103 |
+
eststo: areg `x' `v' `a' prec temp elevation river_lake rye_rain oat_rain irg_po, absorb(cntry) r
|
104 |
+
eststo: areg `x' `v' `a' roman_road , absorb(cntry) r
|
105 |
+
eststo: areg `x' `v' `a' pop_densit500ad , absorb(cntry) r
|
106 |
+
eststo: areg `x' `v' `a' roman_road pop_densit500ad roman_road rye_rain oat_rain prec temp irg_po elevation river_lake, absorb(cntry) cluster(region_name)
|
107 |
+
esttab using tables\TableB5_Panel_2_Carolingian.rtf, replace star(* 0.10 ** 0.05 *** 0.01) se cells(b(star fmt(3)) se(par fmt(3))) scalars(r2)
|
108 |
+
eststo clear
|
109 |
+
restore
|
110 |
+
|
106/replication_package/04_EuropeanRegions_Table5/data/EuropeanRegions2.csv
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:81e1121ff4fe750117ad0e8b6195b69cc2206f2ce32e40dcf38d8c48238c103a
|
3 |
+
size 58775964
|
106/replication_package/04_EuropeanRegions_Table5/data/EuropeanRegions2.dta
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6394c22aca6e8200e00d9aa5a7127bc3c15ea7d1dc381082091f2e9c71a553d3
|
3 |
+
size 52920454
|
106/replication_package/05_SecondGenerationImmigrants_Table6/01_Table6/AnalysesSecondGeneration.do
ADDED
@@ -0,0 +1,143 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
* THIS DO-FILE IS FOR THE SECOND GENERATION IMMIGRANT ANALYSIS
|
2 |
+
* IT CREATES THE OUTPUT FOR TABLE 6 AND APPENDIX TABLES D3
|
3 |
+
|
4 |
+
clear all
|
5 |
+
use data\ESS_immigrants.dta
|
6 |
+
|
7 |
+
*_____________________
|
8 |
+
* Table 6: Kin Networks in Mothers’ Originating Countries and Voting
|
9 |
+
|
10 |
+
preserve
|
11 |
+
keep if cntbrth_h==1 //keep only those that are born domestically
|
12 |
+
keep if mocntr==2 //only those where mother is from somewhere else
|
13 |
+
keep if citizen ==1 //only citizens
|
14 |
+
drop if ageb<18
|
15 |
+
|
16 |
+
*drop those where information where mother was born is missing
|
17 |
+
drop if mbrncnt =="99"
|
18 |
+
drop if mbrncnt =="88"
|
19 |
+
drop if mbrncnt =="77"
|
20 |
+
drop if mbrncnt =="06"
|
21 |
+
drop if mbrncnt =="04"
|
22 |
+
drop if mbrncnt =="03"
|
23 |
+
drop if mbrncnt =="02"
|
24 |
+
|
25 |
+
*drop observations with missing covariates ==> all specification have the same number of observations, which allows easy comparison
|
26 |
+
drop if education==. | rlgdnm==. | uempla==. | uempli==.
|
27 |
+
drop if dscrgrp==. | rlgdgr==. | ageb==. | ageb_sqrt==. | gndr==.
|
28 |
+
drop if m_nu_rugged==. | m_ag_abslat==. | m_du_caloricsui==. | m_ag_distcr ==. | m_nu_european==.
|
29 |
+
|
30 |
+
local a m_nu_rugged m_ag_abslat m_du_caloricsui m_ag_distcr
|
31 |
+
local y vote
|
32 |
+
|
33 |
+
* Panel 1: Cousin marriage preference
|
34 |
+
local v m_fs_cousin_pref_cont
|
35 |
+
eststo: xi: areg `y' `v' ageb ageb_sqrt gndr i.essround , absorb(cntry) cluster(cntry)
|
36 |
+
eststo: xi: areg `y' `v' `a' ageb ageb_sqrt gndr i.essround , absorb(cntry) cluster(cntry)
|
37 |
+
eststo: xi: areg `y' `v' `a' ageb ageb_sqrt gndr i.essround i.rlgdnm rlgdgr , absorb(cntry) cluster(cntry)
|
38 |
+
eststo: xi: areg `y' `v' `a' ageb ageb_sqrt gndr i.essround dscrgrp i.education uempla uempli , absorb(cntry) cluster(cntry)
|
39 |
+
eststo: xi: areg `y' `v' `a' ageb ageb_sqrt gndr i.essround i.rlgdnm rlgdgr dscrgrp i.education uempla uempli , absorb(cntry) cluster(cntry)
|
40 |
+
eststo: xi: areg `y' `v' `a' ageb ageb_sqrt gndr i.essround m_nu_european , absorb(cntry) cluster(cntry)
|
41 |
+
esttab using tables\Table6_Panel_1.rtf, replace star(* 0.10 ** 0.05 *** 0.01) r2 se cells(b(star fmt(3)) se(par fmt(3))) scalars(chi2 fs)
|
42 |
+
eststo clear
|
43 |
+
|
44 |
+
*Panel 2: Cousin-term differentiation
|
45 |
+
local v m_fs_diff_cousin
|
46 |
+
eststo: xi: areg `y' `v' ageb ageb_sqrt gndr i.essround , absorb(cntry) cluster(cntry)
|
47 |
+
eststo: xi: areg `y' `v' `a' ageb ageb_sqrt gndr i.essround , absorb(cntry) cluster(cntry)
|
48 |
+
eststo: xi: areg `y' `v' `a' ageb ageb_sqrt gndr i.essround i.rlgdnm rlgdgr , absorb(cntry) cluster(cntry)
|
49 |
+
eststo: xi: areg `y' `v' `a' ageb ageb_sqrt gndr i.essround dscrgrp i.education uempla uempli , absorb(cntry) cluster(cntry)
|
50 |
+
eststo: xi: areg `y' `v' `a' ageb ageb_sqrt gndr i.essround i.rlgdnm rlgdgr dscrgrp i.education uempla uempli , absorb(cntry) cluster(cntry)
|
51 |
+
eststo: xi: areg `y' `v' `a' ageb ageb_sqrt gndr i.essround m_nu_european , absorb(cntry) cluster(cntry)
|
52 |
+
esttab using tables\Table6_Panel_2.rtf, replace star(* 0.10 ** 0.05 *** 0.01) r2 se cells(b(star fmt(3)) se(par fmt(3))) scalars(chi2 fs)
|
53 |
+
eststo clear
|
54 |
+
|
55 |
+
*Panel 3: Log % cousin marriage
|
56 |
+
local v m_bit_consang_ln
|
57 |
+
eststo: xi: areg `y' `v' ageb ageb_sqrt gndr i.essround , absorb(cntry) cluster(cntry)
|
58 |
+
eststo: xi: areg `y' `v' `a' ageb ageb_sqrt gndr i.essround , absorb(cntry) cluster(cntry)
|
59 |
+
eststo: xi: areg `y' `v' `a' ageb ageb_sqrt gndr i.essround i.rlgdnm rlgdgr , absorb(cntry) cluster(cntry)
|
60 |
+
eststo: xi: areg `y' `v' `a' ageb ageb_sqrt gndr i.essround dscrgrp i.education uempla uempli , absorb(cntry) cluster(cntry)
|
61 |
+
eststo: xi: areg `y' `v' `a' ageb ageb_sqrt gndr i.essround i.rlgdnm rlgdgr dscrgrp i.education uempla uempli , absorb(cntry) cluster(cntry)
|
62 |
+
eststo: xi: areg `y' `v' `a' ageb ageb_sqrt gndr i.essround m_nu_european , absorb(cntry) cluster(cntry)
|
63 |
+
esttab using tables\Table6_Panel_3.rtf, replace star(* 0.10 ** 0.05 *** 0.01) r2 se cells(b(star fmt(3)) se(par fmt(3))) scalars(chi2 fs)
|
64 |
+
eststo clear
|
65 |
+
restore
|
66 |
+
|
67 |
+
|
68 |
+
|
69 |
+
|
70 |
+
|
71 |
+
|
72 |
+
|
73 |
+
|
74 |
+
*_____________________
|
75 |
+
* Table D3: Kin networks in Fathers’ Originating Countries and Political Activity
|
76 |
+
preserve
|
77 |
+
keep if cntbrth_h==1 //keep only those that are born domestically
|
78 |
+
keep if facntr==2 //only those where father is from somewhere else
|
79 |
+
*keep only those where we know where father is from
|
80 |
+
drop if fbrncnt =="99"
|
81 |
+
drop if fbrncnt =="88"
|
82 |
+
drop if fbrncnt =="77"
|
83 |
+
drop if fbrncnt =="06"
|
84 |
+
drop if fbrncnt =="04"
|
85 |
+
drop if fbrncnt =="03"
|
86 |
+
drop if fbrncnt =="02"
|
87 |
+
|
88 |
+
drop if education==. | rlgdnm==. | uempla==. | uempli==.
|
89 |
+
drop if dscrgrp==. | rlgdgr==. | ageb==. | ageb_sqrt==. | gndr==.
|
90 |
+
drop if f_nu_rugged==. | f_ag_abslat==. | f_du_caloricsui==. | f_ag_distcr ==. | f_nu_european==.
|
91 |
+
|
92 |
+
local a f_nu_rugged f_ag_abslat f_du_caloricsui f_ag_distcr
|
93 |
+
local y active1_std
|
94 |
+
|
95 |
+
* Panel 1: Cousin marriage preference
|
96 |
+
local v f_fs_cousin_pref_cont
|
97 |
+
eststo: xi: areg `y' `v' ageb ageb_sqrt gndr i.essround , absorb(cntry) cluster(cntry)
|
98 |
+
eststo: xi: areg `y' `v' `a' ageb ageb_sqrt gndr i.essround , absorb(cntry) cluster(cntry)
|
99 |
+
eststo: xi: areg `y' `v' `a' ageb ageb_sqrt gndr i.essround i.rlgdnm rlgdgr , absorb(cntry) cluster(cntry)
|
100 |
+
eststo: xi: areg `y' `v' `a' ageb ageb_sqrt gndr i.essround dscrgrp i.education uempla uempli , absorb(cntry) cluster(cntry)
|
101 |
+
eststo: xi: areg `y' `v' `a' ageb ageb_sqrt gndr i.essround i.rlgdnm rlgdgr dscrgrp i.education uempla uempli , absorb(cntry) cluster(cntry)
|
102 |
+
eststo: xi: areg `y' `v' `a' ageb ageb_sqrt gndr i.essround f_nu_european , absorb(cntry) cluster(cntry)
|
103 |
+
esttab using tables\TableD3_Panel_1.rtf, replace star(* 0.10 ** 0.05 *** 0.01) r2 se cells(b(star fmt(3)) se(par fmt(3))) scalars(chi2 fs)
|
104 |
+
eststo clear
|
105 |
+
|
106 |
+
* Panel 2: Cousin-term differentiation
|
107 |
+
local v f_fs_diff_cousin
|
108 |
+
eststo: xi: areg `y' `v' ageb ageb_sqrt gndr i.essround , absorb(cntry) cluster(cntry)
|
109 |
+
eststo: xi: areg `y' `v' `a' ageb ageb_sqrt gndr i.essround , absorb(cntry) cluster(cntry)
|
110 |
+
eststo: xi: areg `y' `v' `a' ageb ageb_sqrt gndr i.essround i.rlgdnm rlgdgr , absorb(cntry) cluster(cntry)
|
111 |
+
eststo: xi: areg `y' `v' `a' ageb ageb_sqrt gndr i.essround dscrgrp i.education uempla uempli , absorb(cntry) cluster(cntry)
|
112 |
+
eststo: xi: areg `y' `v' `a' ageb ageb_sqrt gndr i.essround i.rlgdnm rlgdgr dscrgrp i.education uempla uempli , absorb(cntry) cluster(cntry)
|
113 |
+
eststo: xi: areg `y' `v' `a' ageb ageb_sqrt gndr i.essround f_nu_european , absorb(cntry) cluster(cntry)
|
114 |
+
esttab using tables\TableD3_Panel_2.rtf, replace star(* 0.10 ** 0.05 *** 0.01) r2 se cells(b(star fmt(3)) se(par fmt(3))) scalars(chi2 fs)
|
115 |
+
eststo clear
|
116 |
+
|
117 |
+
* Panel 3: Log percent cousin marriage
|
118 |
+
local v f_bit_consang_ln
|
119 |
+
eststo: xi: areg `y' `v' ageb ageb_sqrt gndr i.essround , absorb(cntry) cluster(cntry)
|
120 |
+
eststo: xi: areg `y' `v' `a' ageb ageb_sqrt gndr i.essround , absorb(cntry) cluster(cntry)
|
121 |
+
eststo: xi: areg `y' `v' `a' ageb ageb_sqrt gndr i.essround i.rlgdnm rlgdgr , absorb(cntry) cluster(cntry)
|
122 |
+
eststo: xi: areg `y' `v' `a' ageb ageb_sqrt gndr i.essround dscrgrp i.education uempla uempli , absorb(cntry) cluster(cntry)
|
123 |
+
eststo: xi: areg `y' `v' `a' ageb ageb_sqrt gndr i.essround i.rlgdnm rlgdgr dscrgrp i.education uempla uempli , absorb(cntry) cluster(cntry)
|
124 |
+
eststo: xi: areg `y' `v' `a' ageb ageb_sqrt gndr i.essround f_nu_european , absorb(cntry) cluster(cntry)
|
125 |
+
esttab using tables\TableD3_Panel_3.rtf, replace star(* 0.10 ** 0.05 *** 0.01) r2 se cells(b(star fmt(3)) se(par fmt(3))) scalars(chi2 fs)
|
126 |
+
eststo clear
|
127 |
+
|
128 |
+
restore
|
129 |
+
|
130 |
+
|
131 |
+
|
132 |
+
|
133 |
+
|
134 |
+
|
135 |
+
|
136 |
+
|
137 |
+
|
138 |
+
|
139 |
+
|
140 |
+
|
141 |
+
|
142 |
+
|
143 |
+
|
106/replication_package/05_SecondGenerationImmigrants_Table6/01_Table6/data/ESS_immigrants.csv
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:14df47af2d69084780b916cc2516d19d9b149ea73bb08533ba068a915cce799f
|
3 |
+
size 11564985
|
106/replication_package/05_SecondGenerationImmigrants_Table6/01_Table6/data/ESS_immigrants.dta
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2c43888f4a849d0b1a2b72f115249c7078266205d57a7881825ca458451ef182
|
3 |
+
size 10302301
|
106/replication_package/05_SecondGenerationImmigrants_Table6/02_TableD4/Analyses_AncestralEthnicity.do
ADDED
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
*SECOND GENERATION IMMIGRANTS ANALYSIS EXPLOITUNG WITHIN COUNTRY VARIATION OF THE ORIGN COUNTRY DUE TO MATCHING OF ETHNICITIES
|
2 |
+
*THIS CREATES APPENDIX TABLE D4
|
3 |
+
|
4 |
+
|
5 |
+
clear all
|
6 |
+
use data\SecondGen_AncetralEthnicity.dta, replace
|
7 |
+
|
8 |
+
|
9 |
+
*____________________________________________________
|
10 |
+
* Table D4: Kin networks of Fathers’ Ancestral Ethnicities & Political activity
|
11 |
+
preserve
|
12 |
+
|
13 |
+
keep if facntr == 2 //non-domestic mother
|
14 |
+
drop if fbrncnt =="99" //drop those where origin is not known
|
15 |
+
drop if fbrncnt =="88"
|
16 |
+
drop if fbrncnt =="77"
|
17 |
+
drop if fbrncnt =="06"
|
18 |
+
drop if fbrncnt =="04"
|
19 |
+
drop if fbrncnt =="03"
|
20 |
+
drop if fbrncnt =="02"
|
21 |
+
|
22 |
+
keep if mbrncnt==fbrncnt | mbrncnt==cntry //keep only those where father is from the same country as mother or mother is native
|
23 |
+
|
24 |
+
*drop entries with missing data for covariates so that all specifications have the same number of observations
|
25 |
+
drop if dscrgrp==. | rlgdgr==. | uempla==. | uempli==. | ageb==. | ageb_sqrt==. | gndr==. | married==. | rlgdnm==.
|
26 |
+
drop if co_fishing==. | co_husbandry==. | co_agriculture==. | co_hierarchy==. | co_irrigation==. | co_settlementcomplex_mean==.
|
27 |
+
|
28 |
+
local x co_fishing co_husbandry co_agriculture co_hierarchy co_irrigation co_settlementcomplex_mean
|
29 |
+
local y activity1
|
30 |
+
|
31 |
+
* Panel 1: Cousin marriage preference
|
32 |
+
local v fs_cousin_preferred_cont_mean
|
33 |
+
eststo: xi: areg `y' `v' i.cntry ageb ageb_sqrt gndr i.essround , absorb(fbrncnt) cluster(cntry)
|
34 |
+
eststo: xi: areg `y' `v' `x' i.cntry ageb ageb_sqrt gndr i.essround , absorb(fbrncnt) cluster(cntry)
|
35 |
+
eststo: xi: areg `y' `v' `x' i.cntry dscrgrp uempla uempli married ageb ageb_sqrt gndr i.essround , absorb(fbrncnt) cluster(cntry)
|
36 |
+
eststo: xi: areg `y' `v' `x' i.cntry dscrgrp uempla uempli married i.rlgdnm rlgdgr ageb ageb_sqrt gndr i.essround , absorb(fbrncnt) cluster(cntry)
|
37 |
+
esttab using tables/TableD4_Panel_1.rtf, replace star(* 0.10 ** 0.05 *** 0.01) r2 se cells(b(star fmt(3)) se(par fmt(3))) scalars(chi2 fs)
|
38 |
+
eststo clear
|
39 |
+
|
40 |
+
* Panel 2: Cousin-term differentiation
|
41 |
+
local v fs_diff_cousin_mean
|
42 |
+
eststo: xi: areg `y' `v' i.cntry ageb ageb_sqrt gndr i.essround , absorb(fbrncnt) cluster(cntry)
|
43 |
+
eststo: xi: areg `y' `v' `x' i.cntry ageb ageb_sqrt gndr i.essround , absorb(fbrncnt) cluster(cntry)
|
44 |
+
eststo: xi: areg `y' `v' `x' i.cntry dscrgrp uempla uempli married ageb ageb_sqrt gndr i.essround , absorb(fbrncnt) cluster(cntry)
|
45 |
+
eststo: xi: areg `y' `v' `x' i.cntry dscrgrp uempla uempli married i.rlgdnm rlgdgr ageb ageb_sqrt gndr i.essround , absorb(fbrncnt) cluster(cntry)
|
46 |
+
esttab using tables/TableD4_Panel_2.rtf, replace star(* 0.10 ** 0.05 *** 0.01) r2 se cells(b(star fmt(3)) se(par fmt(3))) scalars(chi2 fs)
|
47 |
+
eststo clear
|
48 |
+
restore
|
49 |
+
|
50 |
+
|
51 |
+
|
52 |
+
|
106/replication_package/05_SecondGenerationImmigrants_Table6/02_TableD4/data/SecondGen_AncetralEthnicity.csv
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9853988d3ccd177728a2857ab7982166f49ff5c912ad7940664ce9cd905a9b57
|
3 |
+
size 777409
|
106/replication_package/05_SecondGenerationImmigrants_Table6/02_TableD4/data/SecondGen_AncetralEthnicity.dta
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:46577754e98eeb0794f18e55d51257b0c9e67ba78da02b94f795e92f78181cbb
|
3 |
+
size 1128528
|
106/replication_package/06_Appendix_Italy/Italy.do
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
* THIS DO FILE CREATES OUTUT FOR APPENDIX TABLE D2
|
2 |
+
|
3 |
+
|
4 |
+
|
5 |
+
use data\ItalyData.dta, clear
|
6 |
+
|
7 |
+
*____________________________________________________
|
8 |
+
* Table D2: Cousin marriage, Voter Turnout and Judicial Inefficiency in Italy
|
9 |
+
|
10 |
+
local y trust1 //voter turnout
|
11 |
+
local x Ln_FirstCousin
|
12 |
+
eststo: reg `y' `x', r
|
13 |
+
eststo: reg `y' `x' ruggedness dist_coast caloric_su abs_latitude, r
|
14 |
+
eststo: reg `y' `x' ruggedness dist_coast caloric_su abs_latitude tmp oat_irr rye_irr elevation prec_m river_lake, r
|
15 |
+
eststo: reg `y' `x' ruggedness dist_coast caloric_su abs_latitude tmp oat_irr rye_irr elevation prec_m river_lake avgschprov81, r
|
16 |
+
eststo: reg `y' `x' ruggedness dist_coast caloric_su abs_latitude tmp oat_irr rye_irr elevation prec_m river_lake i.regions , r
|
17 |
+
eststo: areg `y' `x' ruggedness dist_coast caloric_su abs_latitude tmp oat_irr rye_irr elevation prec_m river_lake avgschprov81, r absorb(Nuts2Code)
|
18 |
+
esttab using tables\TableD2_Panel_1.rtf, replace star(* 0.10 ** 0.05 *** 0.01) r2 se cells(b(star fmt(2)) se(par fmt(2))) scalars(F)
|
19 |
+
eststo clear
|
20 |
+
|
21 |
+
local y ineff1 // judicial inefficiencies
|
22 |
+
local x Ln_FirstCousin
|
23 |
+
eststo: reg `y' `x', r
|
24 |
+
eststo: reg `y' `x' ruggedness dist_coast caloric_su abs_latitude, r
|
25 |
+
eststo: reg `y' `x' ruggedness dist_coast caloric_su abs_latitude tmp oat_irr rye_irr elevation prec_m river_lake, r
|
26 |
+
eststo: reg `y' `x' ruggedness dist_coast caloric_su abs_latitude tmp oat_irr rye_irr elevation prec_m river_lake avgschprov81, r
|
27 |
+
eststo: reg `y' `x' ruggedness dist_coast caloric_su abs_latitude tmp oat_irr rye_irr elevation prec_m river_lake i.regions , r
|
28 |
+
eststo: areg `y' `x' ruggedness dist_coast caloric_su abs_latitude tmp oat_irr rye_irr elevation prec_m river_lake avgschprov81, r absorb(Nuts2Code)
|
29 |
+
esttab using tables\TableD2_Panel_2.rtf, replace star(* 0.10 ** 0.05 *** 0.01) r2 se cells(b(star fmt(2)) se(par fmt(2))) scalars(F)
|
30 |
+
eststo clear
|
106/replication_package/06_Appendix_Italy/data/Italydata.csv
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3444f6e31974a561df2cb54e6edf36c4d2b2c849a21eb09889eba2b7a644fa9e
|
3 |
+
size 23940
|
106/replication_package/06_Appendix_Italy/data/Italydata.dta
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3024b5b254c4cd8695c88f0ce4bce95993e56711aa290d285e6d7c660aeae9f2
|
3 |
+
size 28695
|
106/replication_package/07_Appendix_HistoricalCountry/PopulationEurope.do
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
* THIS DO FILE CREATES OUTUT FOR APPENDIX TABLE C6
|
2 |
+
|
3 |
+
use data\HistoricalCountry.dta, clear
|
4 |
+
|
5 |
+
*__________________________________________________________________________
|
6 |
+
* Table C6: Western Church Exposure and Countries’ medieval Urban and Overall Population
|
7 |
+
|
8 |
+
eststo: areg Pop ChurchExpWest ChurchExpEast, absorb(country) r
|
9 |
+
test ChurchExpWest = ChurchExpEast
|
10 |
+
eststo: areg Pop ChurchExpWest ChurchExpEast i.year, absorb(country) r
|
11 |
+
test ChurchExpWest = ChurchExpEast
|
12 |
+
xi: eststo: areg Pop ChurchExpWest ChurchExpEast i.year*Roman, absorb(country) r
|
13 |
+
test ChurchExpWest = ChurchExpEast
|
14 |
+
|
15 |
+
eststo: areg urban_ ChurchExpWest ChurchExpEast, absorb(country) r
|
16 |
+
test ChurchExpWest = ChurchExpEast
|
17 |
+
eststo: areg urban_ ChurchExpWest ChurchExpEast i.year, absorb(country) r
|
18 |
+
test ChurchExpWest = ChurchExpEast
|
19 |
+
xi: eststo: areg urban_ ChurchExpWest ChurchExpEast i.year*Roman, absorb(country) r
|
20 |
+
test ChurchExpWest = ChurchExpEast
|
21 |
+
|
22 |
+
esttab using tables\TableC6.rtf, replace star(* 0.10 ** 0.05 *** 0.01) r2 se cells(b(star fmt(2)) se(par fmt(2)))
|
23 |
+
eststo clear
|
24 |
+
|
25 |
+
|
106/replication_package/07_Appendix_HistoricalCountry/data/HistoricalCountry.csv
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e05fbc0edf907c23cc6485978afa92b96a36952fa8df5128d980905f6cd6d675
|
3 |
+
size 6269
|
106/replication_package/07_Appendix_HistoricalCountry/data/HistoricalCountry.dta
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8a3a87304e43a35010949a89109eec487f3fda7b8fa53f660b06bb5d725c92b0
|
3 |
+
size 152617
|
106/replication_package/README.pdf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c886b9ffdb2b23ea996dd05eb68c0a2ee5ef1e48efcb7c8dab131ec537f5efd6
|
3 |
+
size 323890
|
106/should_reproduce.txt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dfcefd9ebbbb6eddb777d68a6d8be96c98e7a132059885056e1ca5888e92b027
|
3 |
+
size 65
|