File size: 8,891 Bytes
f81d4f9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
* Set-up:

	do "${dirroot}\programs\00_setup.do"


* ==============================================================================
* Footnote 26: "In this sample, 20 % of peers in the House of Lords had sons 
* seating in the House of Commons"
* ------------------------------------------------------------------------------

use "${dirdta}/Peers_biographies.dta", clear
* drop sisters
drop if refno==157408
encode fbio1, gen(nfam)
duplicates drop nfam, force
* father's date seated at Lords (i.e., earliest succession date to a peerage)
* succeded
gen succ = regexm(fbio2, "He succeeded")
gen succ_info = substr(fbio2,strpos(fbio2,"He succeeded"),.) if succ==1
forvalues i=1/7{
gen possent`i' = strpos(succ_info,".`i'") if succ_info!=""
replace possent`i' = . if possent`i'==0
}
egen possent = rowmin(possent1 possent2 possent3 possent4 possent5 possent6 possent7)
replace succ_info = substr(succ_info,1,possent) if succ==1
drop possent possent1 possent2 possent3 possent4 possent5 possent6 possent7
replace succ_info="He succeeded as the 4th Earl of Ailesbury, Buckinghamshire [G.B., 1776] on 6 January 1878." if refno==2952
replace succ_info="He succeeded as the 6th Baron Ashford, of Ashford, Kent [E., 1697] on 15 March 1851." if refno==4104
replace succ_info="He succeeded to the title of 3rd Lord Camoys [E., 1383] on 27 August 1839." if refno==42658
replace succ_info = substr(succ_info,1,strpos(succ_info,", in his father's lifetime")) if succ==1 & regexm(succ_info,"in his father's lifetime")==1
gen succ_year = substr(succ_info,length(succ_info)-5,.) if succ==1
replace succ_year = substr(succ_year,1,5) if succ==1
replace succ_year = "" if succ_year=="arony"
destring succ_year, replace
* created
gen crea = regexm(fbio2, "He was created")
gen crea_info = substr(fbio2,strpos(fbio2,"He was created"),.) if crea==1
forvalues i=1/7{
gen possent`i' = strpos(crea_info,".`i'") if crea_info!=""
replace possent`i' = . if possent`i'==0
}
egen possent = rowmin(possent1 possent2 possent3 possent4 possent5 possent6 possent7)
replace crea_info = substr(crea_info,1,possent) if crea==1
drop possent possent1 possent2 possent3 possent4 possent5 possent6 possent7
replace crea_info = substr(crea_info,1,strpos(crea_info,", with a special")) if crea==1 & regexm(crea_info,"with a special")==1
gen crea_year = substr(crea_info,length(crea_info)-5,.) if crea==1
replace crea_year = substr(crea_year,1,5) if crea==1
destring crea_year, replace
* gained
gen gain = regexm(fbio2, "He gained the title")
gen gain_info = substr(fbio2,strpos(fbio2,"He gained the title"),.) if gain==1
forvalues i=1/7{
gen possent`i' = strpos(gain_info,".`i'") if gain_info!=""
replace possent`i' = . if possent`i'==0
}
egen possent = rowmin(possent1 possent2 possent3 possent4 possent5 possent6 possent7)
replace gain_info = substr(gain_info,1,possent) if gain==1
drop possent possent1 possent2 possent3 possent4 possent5 possent6 possent7
gen gain_year = .
replace gain_year =	1825 if refno==	33554
replace gain_year =	1862 if refno==	228704
replace gain_year =	1814 if refno==	263157
* styled
gen styl = regexm(fbio2, "He was styled as")
gen styl_info = substr(fbio2,strpos(fbio2,"He was styled as"),.) if styl==1
forvalues i=1/7{
gen possent`i' = strpos(styl_info,".`i'") if styl_info!=""
replace possent`i' = . if possent`i'==0
}
egen possent = rowmin(possent1 possent2 possent3 possent4 possent5 possent6 possent7)
replace styl_info = substr(styl_info,1,possent) if styl==1
drop possent possent1 possent2 possent3 possent4 possent5 possent6 possent7
gen styl_year = substr(styl_info,strpos(styl_info,"between"),.) if styl==1
replace styl_year = substr(styl_year,9,.) if styl==1
replace styl_year = substr(styl_year,1,4) if styl==1
destring styl_year, replace
replace styl_year=1820 if refno==211953
* other
replace succ_year = 1851 if refno==241001
gen writ_year = 1852 if refno==237952
replace succ_year = 1831 if refno==210454
replace succ_year = 1855 if refno==248805
replace succ_year = 1833 if refno==108451
replace succ_year = 1844 if refno==229660
replace succ_year = 1833 if refno==264903
replace succ_year = 1835 if refno==253951
replace succ_year = 1836 if refno==232251
replace succ_year = 1841 if refno==265705
replace succ_year = 1846 if refno==266101
replace succ_year = 1838 if refno==225902
* Lord's
egen lord_year = rowmin(succ_year gain_year crea_year)
replace lord_year = styl_year if lord_year==.
* father's death date
gen fdyear = substr(fbio1,strpos(fbio1,"d."),.)
replace fdyear = substr(fdyear,1,strpos(fdyear,"Last")-1)
replace fdyear = substr(fdyear,length(fdyear)-4,.)
destring fdyear, replace
replace fdyear = 1855 if refno==225902
* rename bio and MP data
rename fbio1 bio1_0
rename fbio2 bio2_0
rename hbio1 bio1_11
rename hbio2 bio2_11
replace bio1_11 = "" if fhead_1872!="other"
replace bio2_11 = "" if fhead_1872!="other" 
foreach x in 1 2 3 4 5 6 7 8 9 10{
rename b`x'bio1 bio1_`x'
rename b`x'bio2 bio2_`x'
}
qui sum MPf
local y = r(max)
if `y'>0{
	forvalues j = 1/`y'{
	gen term1_`j'_0 = term1f_`j'
	gen term2_`j'_0 = term2f_`j'
	gen cnsty_`j'_0 = cnstyf_`j'
	}
}
rename MPf MP_0
*
foreach b in 1 2 3 4 5 6 7 8 9 10{
qui sum MPb`b'
local y = r(max)
if `y'>0{
	forvalues j = 1/`y'{
	gen term1_`j'_`b' = term1b`b'_`j'
	gen term2_`j'_`b' = term2b`b'_`j'
	gen cnsty_`j'_`b' = cnstyb`b'_`j'
	}
}
rename MPb`b' MP_`b'
}
* reshape to each fathers and brother as an entry
reshape long bio1_ bio2_ MP_ ///
		term1_1_ term1_2_ term1_3_ term1_4_ term1_5_ term1_6_ term1_7_ term1_8_ ///
		term2_1_ term2_2_ term2_3_ term2_4_ term2_5_ term2_6_ term2_7_ term2_8_ ///
		cnsty_1_ cnsty_2_ cnsty_3_ cnsty_4_ cnsty_5_ cnsty_6_ cnsty_7_ cnsty_8_ ///
		, i(refno) j(nrelative)
keep 	refno bio1_ bio2_ MP_ refno nrelative ///
		lord_year fdyear ///
		term1_1_ term1_2_ term1_3_ term1_4_ term1_5_ term1_6_ term1_7_ term1_8_ ///
		term2_1_ term2_2_ term2_3_ term2_4_ term2_5_ term2_6_ term2_7_ term2_8_ ///
		cnsty_1_ cnsty_2_ cnsty_3_ cnsty_4_ cnsty_5_ cnsty_6_ cnsty_7_ cnsty_8_
drop if nrelative==11
drop if bio1_=="" & bio2_=="" & nrelative>0
tab nrelative 	// # fathers (N=159)
				// # brothers (N=510)
* first and last year in Parliament
egen first_MP = rowmin(term1_1_ term1_2_ term1_3_ term1_4_ term1_5_ term1_6_ term1_7_ term1_8_)
egen last_MP  = rowmin(term2_1_ term2_2_ term2_3_ term2_4_ term2_5_ term2_6_ term2_7_ term2_8_)

* SON MP WHILE FATHER IS A LORD
gen sMPfLord = .
replace sMPfLord = 1 if first_MP <= lord_year
replace sMPfLord = 0 if fdyear < first_MP
replace sMPfLord = 1 if lord_year <= first_MP & fdyear <= last_MP
replace sMPfLord = 1 if lord_year <= first_MP & last_MP <= fdyear
replace sMPfLord = 1 if first_MP <= lord_year & last_MP <= fdyear
replace sMPfLord = 0 if last_MP < lord_year
replace sMPfLord = 0 if first_MP==.
replace sMPfLord = . if nrelative==0
tab sMPfLord 				// 19% of sons sat in HoC while father sat in Lords
gen MPind = (MP_>0)
tab MPind if nrelative>0	// 20% of sons sat in HoC


* ==============================================================================
* ``I handcollected 674 biographies'' (p. 13).
* ------------------------------------------------------------------------------
use "${dirdta}/Peers_biographies.dta", clear
* drop sisters
drop if refno==157408
encode fbio1, gen(nfam)
duplicates drop nfam, force
* # fathers (N=159)
count if fbio1!=""
* # brothers (N=510)
preserve
drop if b1bio1==""
keep refno b1bio1 b1bio2 b2bio1 b2bio2 b3bio1 b3bio2 b4bio1 b4bio2 b5bio1 b5bio2 b6bio1 b6bio2 b7bio1 b7bio2 b8bio1 b8bio2 b9bio1 b9bio2 b10bio1 b10bio2
foreach x in b1 b2 b3 b4 b5 b6 b7 b8 b9 b10{
rename `x'bio1 bio1_`x'
rename `x'bio2 bio2_`x'
}
reshape long bio1_b bio2_b, i(refno) j(nbrother)
drop if bio1_b=="" & bio2_b==""
summ
restore
* # family heads who are not fathers nor brothers (N=15)
tab fhead_1872
* # TOTAL (N=674)
rename fbio1 bio1_0
rename fbio2 bio2_0
rename hbio1 bio1_11
rename hbio2 bio2_11
replace bio1_11 = "" if fhead_1872!="other"
replace bio2_11 = "" if fhead_1872!="other" 
foreach x in 1 2 3 4 5 6 7 8 9 10{
rename b`x'bio1 bio1_`x'
rename b`x'bio2 bio2_`x'
}
reshape long bio1_ bio2_, i(refno) j(nrelative)
drop if bio1_=="" & bio2_==""
sort bio1_ bio2_ 
by bio1_ bio2_: gen tokeep = _n
keep if tokeep==1
count


* ==============================================================================
* `` in 1851-75, 50% of peers' daughters married within this 0.03% group 
* [the titled aristocracy in Britain] (p. 8)
* ------------------------------------------------------------------------------
use "${dirdata}\final-data.dta", clear
tab grankspo if wom==1 & myear>=1851 & myear<1875 & nthismarr==1 & prank>0
di 100*(104+67+197)/764 	// ca. 50 of peers' daughters married a titled husband