Download 3/replication_package/programs/01_dataprep/master-dataprep.do from ljx529/REPRO-Bench: direct link, hf CLI and curl.
- Browser
- Download file 135 kB
-
https://huggingface.co/datasets/ljx529/REPRO-Bench/resolve/main/3/replication_package/programs/01_dataprep/master-dataprep.do
- Command line
-
hf download hf://datasets/ljx529/REPRO-Bench/3/replication_package/programs/01_dataprep/master-dataprep.do
-
curl -L -o master-dataprep.do https://huggingface.co/datasets/ljx529/REPRO-Bench/resolve/main/3/replication_package/programs/01_dataprep/master-dataprep.do
135 kB
| /******************************************************************************* | |
| This file contains the code to generate the variables and samples used in the | |
| analysis. | |
| Contents: | |
| 1. Hollingsworth's Genealogical Data on the Peerage (2001) | |
| 2. Family seats from Burke's Heraldic Dictionary (1826) | |
| 3. Family landholdings from Bateman (1883) | |
| 4. Attendance to the Season | |
| 5. Save final data for peerage marriages | |
| 6. Data for placebo tests | |
| 7. Data for Secion 4 (Implications) | |
| 7.1 Political power data | |
| 7.2 Education provision by local School Boards | |
| 8. Labels | |
| The file "3 Replication package\programs00_setup.do" sets the path to all | |
| directories and installs the required ado packages. If you want to run this | |
| do file individually, unmark and specify location of parent directory here: | |
| *global dirroot = "SPECIFY\LOCATION\OF\PARENT\DIRECTORY\HERE" | |
| and then run the following lines for the secondary directories (specified as | |
| downloaded in replication package): | |
| global dirdata = "${dirroot}\data" | |
| global dirdta = "${dirroot}\programs\01_dataprep\dta-temp-files" | |
| global dirresu = "${dirroot}\results" | |
| *******************************************************************************/ | |
| * ============================================================================== | |
| * 1. HOLLINGSWORTH'S GENEALOGICAL DATA ON THE PEERAGE (2001) | |
| * ------------------------------------------------------------------------------ | |
| /* This Section of the do file imports the original Hollingsworth genealogical | |
| dataset and generates the following variables: | |
| 1.1. Demographic characteristics: | |
| gender; age at marriage; age at death; birth order (excluding heirs); | |
| celibacy. | |
| 1.2. Social status: | |
| own rank; parental rank; spouse rank; rank separating 6 titles. | |
| 1.3. Peerage of origin (England and Wales, Scotland, Ireland). | |
| own; parental; highest; spouse. | |
| 1.4. Assortative matching by social status: | |
| married a commoner; married an heir. | |
| 1.5. Exposure to the interruption (1861-63): | |
| age at the start of the interruption; synthetic probability to marry | |
| during the interruption; synthetic probability for the placebo samples; | |
| married in 1861-63. | |
| 1.6. Cohort variables. | |
| size of the female cohort. | |
| * ============================================================================ */ | |
| * Import original Hollingsworth dataset | |
| clear all | |
| set more off | |
| insheet using "${dirdata}\peers.txt" | |
| * ============================================================================== | |
| * 1.1 DEMOGRAPHIC CHARACTERISTICS | |
| * ------------------------------------------------------------------------------ | |
| * gender | |
| gen wom = (sexdeath == 4 | sexdeath == 5 | sexdeath ==6) | |
| replace wom = 1 if heir==4 | heir==5 & sexdeath==. | |
| * age at marriage and age at death | |
| foreach z in b d m sb sd{ | |
| qui replace `z'month = "x" if `z'month=="X" // re-code months | |
| qui replace `z'month = "y" if `z'month=="Y" | |
| label define `z'month1 1 "x" 2 "y" 3 "0" 4 "1" 5 "2" 6 "3" 7 "4" 8 "5" 9 "6" 10 "7" 11 "8" 12 "9" | |
| encode `z'month, gen(`z'month1) | |
| gen `z'date = mdy(`z'month1, `z'day, `z'year) // dates in %td format | |
| format `z'date %td | |
| drop `z'month1 | |
| } | |
| gen smage0 = mdate-sbdate | |
| gen sdage0 = sddate-sbdate | |
| foreach z in m d{ | |
| gen `z'age0 = `z'date-bdate // age at marriage for individual and for his/her spouse | |
| gen `z'age = floor(`z'age0/365) | |
| gen s`z'age = floor(s`z'age0/365) | |
| } | |
| drop mage0 dage0 smage0 sdage0 | |
| * birth order, excluding heirs | |
| /* Note: The reference number (refno) of non-heirs is a consecutive number | |
| of the refno of their fathers (who are peers or peers' heirs). Here I use | |
| the last digits of refno to identify an individual's birth order (excluding | |
| heirs, whose refno is not a consecutive number of their fathers'). */ | |
| tostring refno, gen(str_refno) | |
| gen biorder = substr(str_refno,-2,.) | |
| replace biorder = "10" if biorder=="0" | |
| destring biorder, replace | |
| replace biorder = biorder-50 if biorder>=50 & biorder<80 | |
| replace biorder = 2 if refno==163800 // manual corrections (from full matching of parents and children in Gobbi & Goni 2020 EJ) | |
| replace biorder = 1 if refno==305600 | |
| replace biorder = 1 if refno==326150 | |
| replace biorder = 3 if refno==121600 | |
| replace biorder = 2 if refno==214882 | |
| replace biorder = 4 if refno==30200 | |
| replace biorder = 1 if refno==216850 | |
| replace biorder = 2 if refno==318250 | |
| replace biorder = 1 if refno==324900 | |
| replace biorder = 1 if refno==334850 | |
| replace biorder = 1 if refno==355800 | |
| replace biorder = 1 if refno==141242 | |
| replace biorder = 1 if refno==26250 | |
| replace biorder = 4 if refno==112406 | |
| replace biorder = 6 if refno==112408 | |
| replace biorder = 1 if refno==137403 | |
| replace biorder = 4 if refno==138402 | |
| replace biorder = 5 if refno==138408 | |
| replace biorder = 1 if refno==214881 | |
| replace biorder = 1 if refno==235341 | |
| * | |
| replace biorder = 1 if refno==15891 | |
| replace biorder = 5 if refno==15895 | |
| replace biorder = 8 if refno==66512 | |
| replace biorder = 9 if refno==66513 | |
| replace biorder = 9 if refno==93061 | |
| replace biorder = 11 if refno==112863 | |
| replace biorder = 12 if refno==112864 | |
| replace biorder = 16 if refno==112868 | |
| replace biorder = 6 if refno==185176 | |
| replace biorder = 10 if refno==185180 | |
| replace biorder = 12 if refno==185182 | |
| replace biorder = 1 if refno==188891 | |
| replace biorder = 14 if refno==185184 | |
| replace biorder = 6 if refno==234358 | |
| replace biorder = 2 if refno==67804 | |
| * celibacy | |
| gen celibacy = (nthismarr==0) | |
| label var celibacy "Celibacy" | |
| * ============================================================================== | |
| * 1.2 SOCIAL STATUS | |
| * ------------------------------------------------------------------------------ | |
| * recode rank variables in Hollingsworth dataset to numeric | |
| foreach var of varlist hss hsh hsc originspouse hfs hfh hfc hms hmh hmc originparent{ | |
| qui replace `var' = "x" if `var'=="X" | |
| qui replace `var' = "y" if `var'=="Y" | |
| label define `var'1 0 "x" 1 "y" 2 "0" 3 "1" 4 "2" 5 "3" 6 "4" 7 "5" 8 "6" 9 "7" 10 "8" 11 "9" | |
| encode `var', generate(`var'1) | |
| qui gen rk`var' = . | |
| qui replace rk`var' = 0 if `var'1==0 | `var'1==1 | `var'1==2 // Foreign | |
| qui replace rk`var' = 1 if `var'1==3 // Commoner | |
| qui replace rk`var' = 2 if `var'1==4 // Knight | |
| qui replace rk`var' = 3 if `var'1==5 // Baronet | |
| qui replace rk`var' = 4 if `var'1==9 | `var'1==10 | `var'1==11 // Viscount, Baron | |
| qui replace rk`var' = 5 if `var'1==6 | `var'1==7 | `var'1==8 // Duke, Earl, Marquess | |
| } | |
| rename rank rankstrg | |
| * Categorizartion for own, parental, and spouse titles, separating those received | |
| * from those one was heir at age 15 | |
| gen rank = max(rkhss,rkhsc,rkhsh) // Highest title HIMSELF succeeded to, was heir to at age 15, or was created for him. | |
| gen hrank = rkhsh // Highest title HIMSELF was heir to at age 15. | |
| rename rkoriginspouse rankspo // Highest title the SPOUSE succeeded to, was heir to at age 15, or was created for. | |
| gen prank = max(rkhfs,rkhfc,rkhfh,rkhms,rkhmc,rkhmh) // Highest title the PARENT succeeded to, was heir to at age 15, or was created for. | |
| rename rkoriginparent prankspo // Highest title the SPOUSE (highest ranked) PARENT succeeded to, was heir to at age 15, or was created for. | |
| label define rnk 0 "Foreign" 1 "Commoner" 2 "Knight" 3 "Baronet" 4 "Baron" 5 "Duke" // labels (1) | |
| label values rank rankspo hrank prank prankspo rnk | |
| label define hnk 0 "Foreign" 1 "Commoner at 15" 2 "Knight" 3 "Baronet" 4 "Baron" 5 "Duke" // labels (2) | |
| label values hrank hnk | |
| gen hrankspo = rankspo | |
| gen womspo = 1-wom | |
| * Categorization separating Dukes and Barons' younger sons (crank and crankspo) | |
| foreach x in "" spo{ | |
| gen crank`x' = . | |
| gen prank`x'2 = prank`x'+2 // just done to adjust levels such that values to daughters of knights, baronets, viscount-barons, and duke-earl-marquis are, respectively, 4, 5, 6, and 7. | |
| qui replace crank`x' = prank`x' if wom`x'==1 & prank`x'<=1 // Women receive parental rank | |
| qui replace crank`x' = prank`x'2 if wom`x'==1 & prank`x'> 1 | |
| drop prank`x'2 | |
| qui replace crank`x' = 0 if wom`x'==0 & hrank`x'==0 & prank`x'<4 // Foreign (men) | |
| qui replace crank`x' = 1 if wom`x'==0 & hrank`x'==1 & prank`x'<4 // Pure blood commoners (men) | |
| qui replace crank`x' = 2 if wom`x'==0 & hrank`x'==0 & prank`x'==4 // Barons's younger sons (men) | |
| qui replace crank`x' = 2 if wom`x'==0 & hrank`x'==1 & prank`x'==4 | |
| qui replace crank`x' = 2 if wom`x'==0 & hrank`x'==2 & prank`x'==4 | |
| qui replace crank`x' = 2 if wom`x'==0 & hrank`x'==3 & prank`x'==4 | |
| qui replace crank`x' = 3 if wom`x'==0 & hrank`x'==0 & prank`x'==5 // Dukes's younger sons (men) | |
| qui replace crank`x' = 3 if wom`x'==0 & hrank`x'==1 & prank`x'==5 | |
| qui replace crank`x' = 3 if wom`x'==0 & hrank`x'==2 & prank`x'==5 | |
| qui replace crank`x' = 3 if wom`x'==0 & hrank`x'==3 & prank`x'==5 | |
| qui replace crank`x' = 4 if wom`x'==0 & hrank`x'==2 & prank`x'<4 // Knights (men) | |
| qui replace crank`x' = 5 if wom`x'==0 & hrank`x'==3 & prank`x'<4 // Baronets (men) | |
| qui replace crank`x' = 6 if wom`x'==0 & hrank`x'==4 // Viscount, baron (men) | |
| qui replace crank`x' = 7 if wom`x'==0 & hrank`x'==5 // Duke, earl, marquess (men) | |
| } | |
| label define crnk 0 "Foreign" 1 "Pure commoner" 2 "Baron younger son" 3 "Duke younger son" 4 "Knight" 5 "Baronet" 6 "Baron" 7 "Duke" // labels | |
| label values crank crankspo crnk | |
| drop womspo | |
| * Categorization grouping Peers' sons and Gentry (grank and grankspo) | |
| * ranks for wives | |
| foreach x in "" spo{ | |
| gen grank`x' = crankspo if crank`x'<2 // below gentry | |
| } | |
| replace grank = 2 if crank==2 | crank`x'==3 | |
| replace grank = 3 if crank==4 | crank`x'==5 | |
| replace grank = 4 if crank==6 | |
| replace grank = 5 if crank==7 | |
| replace grank = 4 if rank==4 & grank==1 | |
| replace grank = 5 if rank==5 & title=="Cromartie" // corrections | |
| replace grank = 5 if parent=="14E Moray/18B Gray?" // Earl Moray > Baron Grey | |
| replace grank = 5 if refno==26250 // Earl's grand-daughter | |
| label define frank_lbl 4 "Baron dau." 5 "Duke dau." // labels | |
| label values grank frank_lbl | |
| * ranks for husbands | |
| replace grankspo = 2 if crankspo==4 | crankspo==5 // husband is gentry | |
| replace grankspo = 3 if crankspo==2 | crankspo==3 // husband is peers' son | |
| replace grankspo = 4 if crankspo==6 | crankspo==7 // husband is peers' heir | |
| replace grankspo = 1 if grankspo==0 // below gentry in one category | |
| label define grankspo_lbl2 1 "Commoner" 2 "Gentry" 3 "Peer son" 4 "Peer heir" // labels | |
| label values grankspo grankspo_lbl2 | |
| * this is only used for women and their husbands | |
| replace grank = . if wom==0 | |
| replace grankspo = . if wom==0 | |
| * Indicator for dukes', earls', marquis' daughters | |
| gen pr4 = (prank==5 & wom==1) | |
| * Separating Dukes', Earls', Marquis', Barons', Viscounts' daughters as 6 categories | |
| /* Note: To separate these titles, I use a string variable in the Hollingsworth | |
| dataset (father's form of address) and biographical data from thepeerage.com. | |
| This is done only for the baseline sample (i.e., peers' daughters aged 15-35 | |
| in 1861 who ever married, excluding second-marriages, women married to | |
| foreigners, and members of the royal family). For details, see Footnote 39 | |
| and Appendix B3 "Contingency tables separating wives' titles." */ | |
| gen parent0 = parent | |
| replace parent0 = trim(parent) | |
| * Using fathers' form of address (barons' daughters) | |
| replace parent0="B" if parent0=="/8Bs Clifton" | parent0=="1?B" | parent0=="10B" /// | |
| | parent0=="11B" | parent0=="11Bs" | parent0=="11Bs/6B Byron" | parent0=="12B" /// | |
| | parent0=="12Bs" | parent0=="13B" | parent0=="13Bs" | parent0=="14B" /// | |
| | parent0=="15B" | parent0=="15B Darcy" | parent0=="15Bs" | parent0=="16B" /// | |
| | parent0=="16Bs" | parent0=="16Bs/8B Teynham" | parent0=="18B" | parent0=="1B" /// | |
| | parent0=="1B 1" | parent0=="1B Abinger" | parent0=="1B Howard of Effingham" /// | |
| | parent0=="1B Lucas of Shenfield" | parent0=="1B/1Bs" | parent0=="1Bs" /// | |
| | parent0=="20B" | parent0=="B" | parent0=="20Bs" | parent0=="21B" /// | |
| | parent0=="21Bs" | parent0=="22B" | parent0=="22Bs" | parent0=="23B" /// | |
| | parent0=="24B" | parent0=="24Bs" | parent0=="27B" | parent0=="28B" /// | |
| | parent0=="2B" | parent0=="2B 2B" | parent0=="2B Wotton" | parent0=="2Bs" /// | |
| | parent0=="2Bs Keith" | parent0=="3B" | parent0=="3B Lovelace" | parent0=="3Bs" /// | |
| | parent0=="4B" | parent0=="4B Lennox(S)" | parent0=="4B Oliphant" | parent0=="6B" /// | |
| | parent0=="6B Abergavenny" | parent0=="6Bs" | parent0=="s&h 2B" | parent0=="s&h 6B" /// | |
| | parent0=="s&h ap 3B" | parent0=="s&h12B" | parent0=="s&h13B" | parent0=="s&h2B" /// | |
| | parent0=="s&h3B" | parent0=="s&h5B" | parent0=="SH 9B Hon Sir Thomas" /// | |
| | parent0=="SH11B" | parent0=="sh2B" | parent0=="SH9B" | parent0=="soh2B Clifford 3Cs" /// | |
| | parent0=="soh4B" | parent0=="25B" | parent0=="5B" | parent0=="5Bs" /// | |
| | parent0=="7B" | parent0=="7B Ogle" | parent0=="7Bs/2B" | parent0=="8B" /// | |
| | parent0=="8Bs" | parent0=="9B" | parent0=="9B Cathcart(S)" | parent0=="9Bs" /// | |
| | parent0=="B" | parent0=="h2B" | parent0=="h5B" | parent0=="h7B" | parent0=="17B" /// | |
| | parent0=="19B" | parent0=="19Bs" | |
| * Using fathers' form of address (viscounts' daughters) | |
| replace parent0="V" if parent0=="10V" | parent0=="11V" | parent0=="12V" /// | |
| | parent0=="13V" | parent0=="14V" | parent0=="15V" | parent0=="16V" /// | |
| | parent0=="1S 1M" | parent0=="1V" | parent0=="1V Bayning of Sudbury" /// | |
| | parent0=="1V Bayning-life" | parent0=="1V Cobham" | parent0=="1V/4V" /// | |
| | parent0=="1Vs" | parent0=="1Vs/h4V" | parent0=="2V" | parent0=="2V 2V" /// | |
| | parent0=="2V Grandison" | parent0=="3V" | parent0=="4V" | parent0=="5V" /// | |
| | parent0=="6V" | parent0=="7V" | parent0=="9V" | parent0=="9Vs/2V Ferrard" /// | |
| | parent0=="H 1V" | parent0=="8V" | parent0=="H 4V/1Vs" | parent0=="H 7V" /// | |
| | parent0=="h3V" | parent0=="s&h 4V" | parent0=="s&h 7V" | parent0=="s&h1V" /// | |
| | parent0=="s&h2V" | parent0=="s&h5V" | parent0=="SH 4V" | parent0=="SH2V" /// | |
| | parent0=="soh 2V" | parent0=="V Maidstone" | parent0=="Vs" | |
| * Using fathers' form of address (earls' daughters) | |
| replace parent0="E" if parent0=="10E" | parent0=="10E/11E" | parent0=="11E" /// | |
| | parent0=="11ESuffolk/4E Berkshire" | parent0=="12E" | parent0=="13E" /// | |
| | parent0=="13E/11E" | parent0=="14E" | parent0=="15E" | parent0=="15E/16E" /// | |
| | parent0=="16E" | parent0=="17E" | parent0=="18E" | parent0=="19E" /// | |
| | parent0=="1E" | parent0=="1E Bath" | parent0=="1E Cleveland" /// | |
| | parent0=="1E Consingby" | parent0=="1E de Grey" | parent0=="1E Desmond(I)" /// | |
| | parent0=="1E Lovelace" | parent0=="1E Pembroke" | parent0=="1E Rivers" /// | |
| | parent0=="1E Sussex" | parent0=="1E Talbot" | parent0=="1s12E" /// | |
| | parent0=="20E" | parent0=="21E" | parent0=="22E" | parent0=="24E" /// | |
| | parent0=="25E" | parent0=="26E" | parent0=="2E" | parent0=="2E Arran(I)" /// | |
| | parent0=="2E Peterborough" | parent0=="2E/1E" | parent0=="2E? [3]" /// | |
| | parent0=="3E" | parent0=="3E Breadalbane(S)" | parent0=="3E Clarendon" /// | |
| | parent0=="3E Guilford" | parent0=="3E of Cumberland" | parent0=="3E Selkirk/1E Ruglen" /// | |
| | parent0=="3E/1E" | parent0=="3E/2E" | parent0=="3ETyrone(I)" /// | |
| | parent0=="H 1E Limerick" | parent0=="4E" | parent0=="4E/3E" /// | |
| | parent0=="4E/3E Cork/Burlington" | parent0=="5E" | parent0=="5E Cumberland" /// | |
| | parent0=="5E Plymouth" | parent0=="5E/2E" | parent0=="6E" | parent0=="6E Rutland" /// | |
| | parent0=="6E Thanet" | parent0=="6E/1E" | parent0=="6E/23E" | parent0=="7E" /// | |
| | parent0=="7E/2E" | parent0=="9E" | parent0=="9E Huntingdon" | parent0=="h 2E" /// | |
| | parent0=="h 5E" | parent0=="h1E" | parent0=="H2E" | parent0=="h2E" /// | |
| | parent0=="h3E" | parent0=="h8E" | parent0=="hap1E" | parent0=="s&h19E" /// | |
| | parent0=="s&h1E" | parent0=="s&h20E" | parent0=="s&h4E" | parent0=="s&h5E" /// | |
| | parent0=="s&h7E" | parent0=="s&h9E" | parent0=="s1E" | parent0=="s2E" /// | |
| | parent0=="SH 5E" | parent0=="SH 6E" | parent0=="SH5E" | parent0=="sh6E" /// | |
| | parent0=="SHapp 6E" | parent0=="soh 1E" | parent0=="soh 6E Thomond(I)" /// | |
| | parent0=="soh11E" | parent0=="soh1ERockingham" | parent0=="soh2E" /// | |
| | parent0=="soh3E" | parent0=="soh6E" | parent0=="soh8E" | parent0=="8E" | |
| * Using fathers' form of address (marquis' daughters) | |
| replace parent0="M" if parent0=="10M" | parent0=="12M" | parent0=="13M" /// | |
| | parent0=="14M" | parent0=="1M" | parent0=="1M 1M" | parent0=="2M" /// | |
| | parent0=="2M 2 2M" | parent0=="2M Hastings" | parent0=="3M" /// | |
| | parent0=="4M" | parent0=="5M" | parent0=="6M" | parent0=="7M" /// | |
| | parent0=="8M" | parent0=="8M 8 8 8 8M" | parent0=="9M" | parent0=="SH 3M" /// | |
| | parent0=="SH1M" | |
| * Using fathers' form of address (dukes' daughters) | |
| replace parent0="D" if parent0=="/h 1D Beaufort" | parent0=="10D" | parent0=="11D" /// | |
| | parent0=="12D" | parent0=="13D" | parent0=="14D" | parent0=="15D" | parent0=="1D" /// | |
| | parent0=="1d" | parent0=="1D Kent" | parent0=="1D Leinster" | parent0=="1Ds" /// | |
| | parent0=="19D" | parent0=="2D" | parent0=="2D Argyll" | parent0=="2D Richmond" /// | |
| | parent0=="3D" | parent0=="3D Ancaster" | parent0=="3D Dorset" | parent0=="3Ds&1D" /// | |
| | parent0=="4D" | parent0=="5D" | parent0=="6D" | parent0=="7D" | parent0=="7DSomerset" /// | |
| | parent0=="9D" | parent0=="h 1D" | parent0=="h2D" | parent0=="h3D" | parent0=="soh1D" /// | |
| | parent0=="soh 1D" | parent0=="soh 2D" | parent0=="8D" | |
| * Double titles | |
| replace parent0="B/V" if parent0=="10B/1V" | parent0=="2B/1V" | parent0=="V/B" | |
| replace parent0="B/E" if parent0=="13Bs&1E" | parent0=="9Bs Congers/4EHuldernesse" /// | |
| | parent0=="H 3B & 1E" | |
| replace parent0="B/C" if parent0=="14B Dacre/1Cs" | |
| replace parent0="E/B" if parent0=="14E Moray/18B Gray?" | parent0=="1E/10B" /// | |
| | parent0=="1E/4B?" | parent0=="1E/8B" | parent0=="2E/1Bs Arden" /// | |
| | parent0=="B/E" | parent0=="5E/1Bs Buckhurst" | |
| replace parent0="E/B/V" if parent0=="1E Berkshire 2B Norris&V Thame" | |
| replace parent0="E/M" if parent0=="19E/1M" | parent0=="2E Hardwicke/2Ms Grey" | parent0=="M/E" | |
| replace parent0="V/B" if parent0=="s 2V/1B" | parent0=="1V&14Bs Strange" | parent0=="1V1B" | |
| replace parent0="D/E" if parent0=="2Ds/2E Godolphin" | |
| replace parent0="M/E" if parent0=="2M/E" | parent0=="2Ms/2E Hardwicke" | |
| replace parent0="C/V" if parent0=="1Cs/1V" | parent0=="1Cs/V" | |
| replace parent0="C/E" if parent0=="2Cs&4E Inchiquin" | parent0=="6Cs/1E" | |
| replace parent0="C/M" if parent0=="3Cs&1M Thomond" | |
| replace parent0="V/E" if parent0=="V Kil/soh 7E" | |
| * Other | |
| replace parent0="C" if parent0=="10Cs" | parent0=="12Cs" | parent0=="14Cs" /// | |
| | parent0=="18Cs" | parent0=="1Cs" | parent0=="1Cs Temple" | parent0=="2Cs" /// | |
| | parent0=="3Cs" | parent0=="4Cs" | parent0=="7Cs" | parent0=="Cs" | |
| replace parent0="King" if parent0=="King Charles I" | parent0=="King Edward VII" /// | |
| | parent0=="King George I" | parent0=="King George II" | parent0=="King George III" /// | |
| | parent0=="King George IV" | parent0=="King George V" | parent0=="King James I" /// | |
| | parent0=="King James II" | |
| replace parent0="Queen" if parent0=="Queen Victoria" | |
| replace parent0="" if parent0=="?" | parent0=="SH" | parent0=="sh" | |
| * define variable separating titles | |
| gen ownrank = 1 if parent0=="B" | |
| replace ownrank = 2 if parent0=="V" | |
| replace ownrank = 3 if parent0=="E" | parent0=="E/B" | |
| replace ownrank = 4 if parent0=="M" | |
| replace ownrank = 5 if parent0=="D" | |
| drop parent0 | |
| * manual fillings using biographical info from thepeerage.com | |
| replace ownrank=1 if refno==30200 | refno==59651 | refno==59654 | refno==26250 | refno==305600 | |
| replace ownrank=2 if refno==326150 | |
| replace ownrank=3 if refno==216904 | refno==70850 | |
| * labels | |
| label define ownrank_lbl 1 "Baron" 2 "Viscount" 3 "Earl" 4 "Marquis" 5 "Duke" | |
| label values ownrank ownrank_lbl | |
| * ============================================================================== | |
| * 1.3 PEERAGE OF ORIGIN | |
| * ------------------------------------------------------------------------------ | |
| * peerage of origin for every title | |
| foreach var of varlist hss hsh hsc originspouse hfs hfh hfc hms hmh hmc originparent{ | |
| gen peerage`var' = . | |
| qui replace peerage`var' = 0 if `var'1<3 // Foreign | |
| qui replace peerage`var' = 1 if `var'1>=3 & `var'1<=5 // British commoners and gentry | |
| qui replace peerage`var' = 2 if `var'1==6 | `var'1==9 // Peerage of England | |
| qui replace peerage`var' = 3 if `var'1==7 | `var'1==10 // Peerage of Scotland | |
| qui replace peerage`var' = 4 if `var'1==8 | `var'1==11 // Peerage of Ireland | |
| } | |
| * own peerage of origin | |
| gen peerage = . | |
| gen peeragespo = . | |
| foreach var of varlist hss hsh hsc{ | |
| qui replace rk`var' = -1 if rk`var'==. | |
| } | |
| gen hssdir =(rkhss>=rkhsc & rkhss> rkhsh & rkhss!=.) // First check whether the highest rank was succeded, inherited, or created (heir>suceeded>created). | |
| gen hshdir =(rkhsh>=rkhss & rkhsh>=rkhsc & rkhsh!=.) | |
| gen hscdir =(rkhsc> rkhss & rkhsc> rkhsh & rkhsc!=.) | |
| foreach var of varlist hss hsh hsc{ // Attach the corresponding Peerage origin | |
| qui replace rk`var' = . if rk`var'==-1 | |
| qui replace peerage = peerage`var' if `var'dir==1 | |
| } | |
| qui replace peeragespo = peerageoriginspouse | |
| * parental peerage of origin | |
| gen ppeerage = . | |
| gen ppeeragespo = . | |
| foreach y in hfs hfh hfc hms hmh hmc{ | |
| qui replace rk`y' = -1 if rk`y'==. | |
| } | |
| gen fath = max(rkhfs,rkhfc,rkhfh) // First check whether the highest rank comes from her father or her mother. | |
| gen moth = max(rkhms,rkhmc,rkhmh) | |
| gen hfdir = (fath>=moth) | |
| foreach x in hf hm{ // Now check whether the highest rank was succeded, inherited, or created (succedeed>heir>created). | |
| gen `x'sdir=(rk`x's>=rk`x'c & rk`x's>=rk`x'h) | |
| gen `x'hdir=(rk`x'h> rk`x's & rk`x'h>=rk`x'c) | |
| gen `x'cdir=(rk`x'c> rk`x's & rk`x'c> rk`x'h) | |
| foreach y in s h c{ | |
| qui replace rk`x'`y' = . if rk`x'`y'==-1 | |
| } | |
| } | |
| foreach var of varlist hfs hfh hfc{ // Attach the corresponding Peerage origin | |
| qui replace ppeerage = peerage`var' if `var'dir==1 & hfdir==1 | |
| } | |
| foreach var of varlist hms hmh hmc{ | |
| qui replace ppeerage = peerage`var' if `var'dir==1 & hfdir==0 | |
| } | |
| qui replace ppeeragespo = peerageoriginparent | |
| * highest peerage of origin | |
| gen maxparent = (prank>=rank) | |
| foreach x in "" spo{ | |
| gen hpeerage`x' = peerage`x' | |
| qui replace hpeerage`x' = ppeerage`x' if maxparent==1 | |
| qui replace hpeerage`x' = peerage`x' if maxparent==0 | |
| } | |
| * labels | |
| label define regg 0 "Foreign" 1 "British Commoner" 2 "Peerage of England" 3 "Peerage of Scotland" 4 "Peerage of Ireland" | |
| label values peerage peeragespo ppeerage ppeeragespo hpeerage regg | |
| * indicator dummies | |
| gen hforeign = (hpeerage==0) | |
| gen hbritcom = (hpeerage==1) | |
| gen hengpee = (hpeerage==2) | |
| gen hscotpee = (hpeerage==3) | |
| gen hiripee = (hpeerage==4) | |
| * drop original rank and peerage string-variables | |
| foreach x in hss hsh hsc hfs hfh hfc hms hmh hmc{ | |
| drop `x' `x'1 rk`x' peerage`x' `x'dir | |
| } | |
| drop originspouse originparent originspouse1 originparent1 peerageoriginspouse peerageoriginparent fath moth hfdir maxparent | |
| * ============================================================================== | |
| * 1.4 ASSORTATIVE MATCHING BY SOCIAL STATUS | |
| * ------------------------------------------------------------------------------ | |
| * Married a commoner | |
| gen cOut = ((rank>=4 | prank>=4)==1 & (rankspo>=4 | prankspo>=4)==0) // own or fathers' rank in the peerage & spouses or spouses' father rank NOT in the peerage | |
| replace cOut=1 if refno==156356 // Spouse was not a peers' heir until his late 50s | |
| replace grankspo = 1 if cOut==1 & grankspo>2 // corrections for rank variable used in contingency tables | |
| replace grankspo = 4 if cOut==0 & grankspo>4 | |
| * Married an heir | |
| qui gen mheir = (grankspo>=4) // marrying an heir | |
| qui replace mheir = 0 if cOut==1 // correction | |
| * ============================================================================== | |
| * 1.5 EXPOSURE TO THE INTERRUPTION (1861-63) | |
| * ------------------------------------------------------------------------------ | |
| * Age at the start of the 1861 Season | |
| gen age1861 = floor((td(31mar1861)-bdate)/365) | |
| replace age1861 = 1861-byear-1 if age1861==. & byear!=. | |
| * Synthetic probability to marry in 1861-63 (treatment variable) | |
| /* Note: A woman's synthetic probability to marry in 1861-63 is based on her | |
| age in 1861-63 and on the percentage of women marrying at each age in | |
| "normal times" (i.e., before the interruption). My benchmark cohort for | |
| "normal times" is peers' daughters born in 1815-30, excluding those who married | |
| after 1861 or died before age 30. See main text for details. */ | |
| preserve | |
| keep if wom==1 & nthismarriage<2 & byear<=1830 & byear>=1815 & dage>30 // sample for benchmark cohort | |
| replace mage = myear-byear if nthismarr==1 & mage==. // exclude those married after 1861 | |
| drop if myear>=1861 & myear!=. | |
| replace mage = 999 if nthismarr==0 // missing age at marriage for those never married | |
| replace nthismarr = 1 if nthismarr==0 // keep never married as they are used in the precentage denominator | |
| collapse (sum) freq = nthismarr, by(mage) | |
| sort mage | |
| while mage[1]>15{ // in case no woman married at a given age (15, 16,...35) | |
| set obs `=_N+1' | |
| replace mage = mage[1]-1 in l | |
| replace freq = 0 in l | |
| sort mage | |
| } | |
| drop if mage==. | |
| replace freq = 0 if freq==. | |
| egen tot = sum(freq) // total women in benchmark cohort (i.e., percentage denominator) | |
| sort mage | |
| gen prob = 100*freq/tot // synthetic probability at each age [p(.) in equation (1)] | |
| drop if mage == 999 | |
| keep mage prob | |
| sort mage | |
| gen syntheticT = prob+prob[_n+1]+prob[_n+2] // synthetic probability [T=p(t)+p(t+1)+p(t+2) in equation (1)] | |
| drop prob | |
| rename mage age1861 // for the purpose of merging | |
| sort age1861 | |
| keep if age1861>=15 & age1861<=35 | |
| label var age1861 "Age at the start of the 1861 Season" | |
| label var syntheticT "Treatment" | |
| save "${dirdta}\syntheticprob.dta", replace // save as temp dta file | |
| restore | |
| merge m:1 age1861 using "${dirdta}\syntheticprob.dta", nogen // merge for baseline sample | |
| erase "${dirdta}\syntheticprob.dta" // erase temp dta file | |
| * Synthetic probability treatment for placebo samples | |
| /* Note: A woman's synthetic probability to marry in a placebo interruption | |
| occurring j years before the real interruption (i.e., from 1861-j to 1863-j) | |
| is based on her age in 1861-j to 1863-j and on the percentage of women | |
| marrying at each age before the placebo interruption. My benchmark cohort | |
| for the years before the placebo interruption is peers' daughters born in | |
| 1815-j to 1830-j, excluding those who married after 1861-j or died before | |
| age 30. See main text for details. */ | |
| forvalues j = 10(1)50{ | |
| local i = `j' | |
| local y = 1861-`j' | |
| preserve | |
| use "${dirdata}\final-data.dta", clear | |
| gen age`y' = floor((td(31mar`y')-bdate)/365) | |
| keep if wom==1 & nthismarriage<2 & byear<=1830-`j' & byear>=1815-`j' & dage>30 // analogous benchmark sample to calculate synthetic probability | |
| drop if myear>=`y' | |
| replace mage = 999 if nthismarr==0 | |
| replace nthismarr = 1 if nthismarr==0 | |
| collapse (sum) freq = nthismarr, by(mage) | |
| drop if mage==. | |
| replace freq = 0 if freq==. | |
| egen tot = sum(freq) | |
| sort mage | |
| gen prob = 100*freq/tot | |
| drop if mage == 999 | |
| rename mage age`y' | |
| sort age`y' | |
| gen synthetic_plac = prob+prob[_n+1]+prob[_n+2] | |
| keep age`y' synthetic_plac | |
| local y2 = 1863-`j' | |
| label var age`y' "Age at the start of the `y'-`y2' Placebo Interruption of the Season" | |
| label var synthetic_plac "Synthetic probability to marry during placebo interruption" | |
| save "${dirdta}\synthetic_placebo_`j'.dta", replace | |
| restore | |
| } | |
| * Married in 1861-63 | |
| gen mourn = (myear>=1861 & myear<=1863) | |
| * ============================================================================== | |
| * 1.6 COHORT VARIABLES | |
| * ------------------------------------------------------------------------------ | |
| * Female cohort size (>18 & <=24 years of age) | |
| gen all = 1 | |
| gen wrisk = . // Women at risk of marriage | |
| forvalues i=1527/1959{ | |
| qui summ all if nthismarr<2 & `i'-byear>=19 & `i'-byear<=24 & dyear>=`i' & wom==1 // # girls aged 18-23 when the LS starts | |
| qui replace wrisk = r(N) if myear==`i' | |
| } | |
| * Housekeeping | |
| drop all | |
| label var wrisk "Size of the marriageble cohort (women)" | |
| * ============================================================================== | |
| * 2. FAMILY SEATS FROM BURKE'S HERALDIC DICTIONARY (1826) | |
| * ------------------------------------------------------------------------------ | |
| /* This Section of the do file adds information on family seats to the prepared | |
| Hollingsworth genealogical data. The code is organized into the following | |
| sub-sections: | |
| 2.1. Prepare title (string variable) for merger. | |
| 2.2. Add the corresponding family seats | |
| 2.3. Geographical variables | |
| distance between spouses' seats, distance to London | |
| * ============================================================================ */ | |
| * ============================================================================== | |
| * 2.1 PREPARE TITLE VARIABLE FOR MERGE | |
| * ------------------------------------------------------------------------------ | |
| * Rename title variables | |
| rename parentaltitle ptitle | |
| rename spousetitle stitle | |
| rename fatherttitle ftitle | |
| rename fatheraddress faddress | |
| rename motherttitle mtitle | |
| rename motheraddress maddress | |
| foreach x in title ptitle stitle ftitle mtitle{ | |
| * A. SPLIT `X' when TWO `X'S APPEAR | |
| gen str60 `x'1 = "" | |
| gen str60 `x'2 = "" | |
| * A.1 SEPARATED BY A SLASH | |
| gen slash`x' = regexm(`x',"/+") // Whether `x’ has an "/" | |
| replace `x'1 = substr(`x',strpos(`x',"/") + 1,.) if slash`x'==1 // Take the second part | |
| replace `x' = substr(`x',1,strpos(`x',"/") - 1) if slash`x'==1 // Take the first part | |
| drop slash`x' | |
| * A.2 SEPARATED BY AN OR | |
| gen or`x' = regexm(`x'," or ") // Whether `x’ has an "or" | |
| replace `x'1 = substr(`x',strpos(`x'," or ") + 4,.) if or`x'==1 // Take the second part | |
| replace `x' = substr(`x',1,strpos(`x'," or ") - 1) if or`x'==1 // Take the first part | |
| drop or`x' | |
| * A.3 SECOND SLASH | |
| gen slash2`x' = regexm(`x'1,"/") | |
| replace `x'2 = substr(`x'1,strpos(`x'1,"/")+1,.) if slash2`x'==1 | |
| replace `x'1 = substr(`x'1,1,strpos(`x'1,"/")-1) if slash2`x'==1 | |
| drop slash2`x' | |
| * B. DROPPING ??? | |
| gen interr`x' = regexm(`x',"\?") // Whether `x’ has an "?" | |
| gen interr1`x' = regexm(`x'1,"\?") | |
| replace `x' = substr(`x',1,strpos(`x',"?")-1) if interr`x'==1 // Drop "?" | |
| replace `x'1 = substr(`x'1,1,strpos(`x'1,"?")-1) if interr1`x'==1 | |
| drop interr`x' interr1`x' | |
| * C. DROPPING (I) or (S) | |
| * C.1 AT THE END | |
| gen par`x' = regexm(`x',"\)$") // Whether `x’ has an ")" at the end | |
| gen par1`x' = regexm(`x'1,"\)$") | |
| gen pari`x' = strpos(`x',"(") // Position in which "(" appears | |
| gen par1i`x' = strpos(`x'1,"(") | |
| gen parii`x' = strpos(`x',")") // Position in which ")" appears | |
| gen par1ii`x' = strpos(`x'1,")") | |
| gen parlngth`x' = parii`x'-pari`x' | |
| // To distinguish between parenthesis types | |
| gen parlngth1`x' = par1ii`x'-par1i`x' | |
| replace `x' = substr(`x',1,pari`x'-1) if parlngth`x'<=3 & parlngth`x'>0 & par`x'==1 | |
| // Dropping (I) | |
| replace `x'1 = substr(`x'1,1,par1i`x'-1) if parlngth1`x'<=3 & parlngth1`x'>0 & par1`x'==1 | |
| drop par`x' par1`x' pari`x' par1i`x' parii`x' par1ii`x' parlngth`x' parlngth1`x' | |
| * C.2. AFTER PARENTHESIS | |
| gen parpar`x' = regexm(`x',"[A-Za-z]+\)+\(+[A-Z]+\)$") | |
| gen parpar2`x' = strpos(`x',")") | |
| replace `x' = substr(`x',1,parpar2`x') if parpar`x'==1 | |
| drop parpar`x' parpar2`x' | |
| * D. SPLITING NAMES & SURNAMES IN PARENTHESIS | |
| gen nspar`x' = regexm(`x',"\)$") | |
| replace `x'1 = substr(`x',strpos(`x',"(")+1,.) if nspar`x'==1 | |
| replace `x'1 = substr(`x'1,1,strpos(`x'1,")")-1) if nspar`x'==1 | |
| replace `x' = substr(`x',1,strpos(`x',"(")-1) if nspar`x'==1 | |
| drop nspar`x' | |
| * E. DROPPING THE REMAINING (I), (S) EXPRESSIONS | |
| gen sis`x' = regexm(`x',"\(+[A-Z]+\)") | |
| replace `x' = regexs(1)+" "+regexs(2) if regexm(`x',"([a-zA-Z]+[ ]*[a-zA-Z]*)[ ]*[\(][A-Z]+[\)][ ]*([&]*[0-9]*[ ]*[a-zA-Z]+[ ]*[a-zA-Z]+[ ]*[a-zA-Z]*)") & sis`x'==1 | |
| drop sis`x' | |
| * F. RE-JOINING `X’, `X’1, and `X’2 AND LAST CLEANING | |
| * Re-joining | |
| gen of`x' = regexm(`x'1,"of$") | |
| replace `x' = substr(`x'1,1,.) + " " + substr(`x',1,.) if of`x'==1 | |
| replace `x'1 = "" if of`x'==1 | |
| replace `x' = substr(`x',1,.) + " / " + substr(`x'1,1,.) + " / " + substr(`x'2,1,.) if `x'2!="" | |
| replace `x' = substr(`x',1,.) + " / " + substr(`x'1,1,.) if `x'1!="" | |
| drop of`x' `x'1 `x'2 | |
| * Dropping blank spaces at the end | |
| gen blank`x' = regexm(`x'," $") | |
| gen length`x' = strlen(`x') | |
| replace `x' = substr(`x',1,length`x'-1) if blank`x'==1 | |
| drop blank`x' length`x' | |
| * Dropping slash before an of: | |
| gen slaof`x' = regexm(`x',"/ of") | |
| replace `x' = substr(`x',1,strpos(`x',"/ of ")-1) + "" + substr(`x',strpos(`x',"/ of ")+2,.) if slaof`x'==1 | |
| drop slaof`x' | |
| * Counties in parenthesis | |
| gen co`x' = regexm(`x',"Co [A-Za-z]+") | |
| replace `x' = regexs(1) + " (Co" + regexs(2) + ")" if regexm(`x',"([a-zA-Z]+)[ ]+[/]*[ ]*[Co]+([ ]+[a-zA-Z]+[ ]*[a-zA-Z]*$)") & co`x'==1 | |
| drop co`x' | |
| * Of at the beggining | |
| gen ofbeg`x' = regexm(`x',"^of") | |
| replace `x' = substr(`x',4,.) if ofbeg`x'==1 | |
| drop ofbeg`x' | |
| } | |
| * G. MANUAL STANDARDIZATION OF TITLE NAMES | |
| *title | |
| replace title="Kings & Dukes of Cornwall" if title=="(Kings & Dukes) Cornwall" | title=="George I" | title=="George II" | title=="George III / Cornwall" | title=="George IV" | title=="George V" | title=="George VI" | title=="Edward VII" | title=="Edward VIII / Windsor" | title=="Victoria" | title=="Charles I" | title=="Charles II" | title=="William III" | title=="William IV" | title=="Mary II" | title=="James II" | title=="James VI & I / (Kings & Dukes) Cornwall" | title=="Anne" | |
| replace title="Carew (Co Wexford) & Carew of Castle Boro" if title=="Carew (Co Wexford)" | |
| replace title="Clanbrassill" if title=="Clanbrassill 2nd Creation" | |
| replace title="Kingston (Hull)" if title=="Kingston-upon-Hull" | |
| replace title="Leinster / Cholmondeley of Kells / Cholmondeley of Ulichemalbank" if title=="Leinster / Cholmondeley of Kells / Cholmondeley of Ulichemalbank? / Cholmondeley of Kells" | |
| replace title="Mount Temple" if title=="Mount Temple of Mount Temple" | |
| replace title="Mountmorres of Castlemorrres" if title=="Mountmorres of Castlemorrres" | |
| replace title="Duncan of Camperdown" if title=="(Duncan of) Camperdown" | |
| replace title="Loftus of Ely" if title=="(Loftus of) Ely" | title=="(Loftus) of Ely" | |
| replace title="Clifford" if title=="[de] Clifford" | |
| replace title="Romney" if title=="Romney of Romney" | |
| *ptitle | |
| replace ptitle= "Kings & Dukes of Cornwall" if ptitle=="(Kings & Dukes) Cornwall" | ptitle=="George I" | ptitle=="George II" | ptitle=="George III / Cornwall" | ptitle=="George IV" | ptitle=="George V" | ptitle=="George VI" | ptitle=="Edward VII" | ptitle=="Edward VIII / Windsor" | ptitle=="Edward VIII / Windsor" | ptitle=="Charles I" | ptitle=="Charles II" | ptitle=="William III" | ptitle=="William IV" | ptitle=="Mary II" | ptitle== "James II" | ptitle== "James VI & I / (Kings & Dukes) Cornwall" | ptitle=="Anne" | |
| replace ptitle= "Carew (Co Wexford) & Carew of Castle Boro" if ptitle=="Carew (Co Wexford)" | |
| replace ptitle= "Clanbrassill" if ptitle=="Clanbrassill 2nd Creation" | |
| replace ptitle= "Kingston (Hull)" if ptitle=="Kingston-upon-Hull" | |
| replace ptitle= "Leinster / Cholmondeley of Kells / Cholmondeley of Ulichemalbank" if ptitle==" Leinster / Cholmondeley of Kells / Cholmondeley of Uli / Cholmondeley of Kells" | |
| replace ptitle= "Mountmorres of Castlemorrres" if ptitle=="Mountmorres of Castlemorrres " | |
| replace ptitle= "Rivers / Darcy /Savage" if ptitle=="Rivers(Darcy / Savage)" | |
| replace ptitle= "Wenlock / Thompson/ Lawley" if ptitle=="Wenlock(Thompson / Lawley)" | |
| replace ptitle= "Carrick (Orkney Islands)" if ptitle=="Carrick(in Orkney) Scotland" | |
| *stitle | |
| replace stitle= "Clifford" if stitle=="Clifford of Churdleigh" | stitle=="Clifford of Lanesborough / Dungarvon" | |
| replace stitle= "Choiseul-Beaupre" if stitle=="de Choiseul Beaupre" | stitle=="de Choiseul-Beaupre" | |
| replace stitle= "Dorchester" if stitle=="Dorchester / KUH" | |
| replace stitle= "Eglinton / Winton" if stitle=="Eglinton & Winton" | |
| replace stitle= "Falconer" if stitle=="Falconer of H" | |
| replace stitle= "Forbes of Pitsligo" if stitle=="Forbes of PitsligoS" | |
| replace stitle= "Mecklenburg-Strelitz" if stitle=="Grand D of Mecklenburg-Strelitz" | |
| replace stitle= "Gwydyr" if stitle=="Gwydyr / Gwydir" | |
| replace stitle= "Herbert of Chirbury / Hebert of Castle Island" if stitle=="Herbert of Chirbury / [H'bert of]Castle Island" | |
| replace stitle= "Holdernesse / Conyers / Darcy de Knayth" if stitle=="Holdernesse / Conyers / Darcy de Knayth / Conyers" | |
| replace stitle= "Kingston (Hull)" if stitle=="Kingston-upon-Hull" | |
| replace stitle= "Lincolnshire / Carrington" if stitle=="Lincolnshire / C[arrington]" | |
| replace stitle= "Mount Edgecumbe" if stitle=="Mt Edgcumbe" | stitle=="Mt Edgecumbe" | |
| replace stitle= "Northam (Northampton)" if stitle=="Northam[Northampton]" | |
| replace stitle= "Prussia" if stitle=="Germany of Prussia" | stitle=="Royal of Prussia" | |
| replace stitle= "Empire" if stitle=="de Salis in Holy Roman Empire" | stitle=="the Empire" | |
| replace stitle= "Carlyle of Torthorwald" if stitle=="[Carlyle of] Torthorwald" | |
| replace stitle= "Hastings" if stitle=="[Hastings]" | |
| replace stitle= "Atholl" if stitle=="Atholl(S" | |
| *ftitle | |
| replace ftitle= "Downshire" if ftitle=="[Downshire]" | |
| replace ftitle= "Mackenzie" if ftitle==">ackenzie" | |
| replace ftitle= "Huyssen de Kattendyke" if ftitle=="3B Huyssen de Kattendyke" | |
| replace ftitle= "Abernathy of Saltoun" if ftitle=="Abernethy of Saltoun" | |
| replace ftitle= "Argyll / Greenwich" if ftitle=="Argyll & Greenwich" | ftitle=="Argyll / Geeenwick" | |
| replace ftitle= "Argyll" if ftitle=="Argyll / S&UK" | |
| replace ftitle= "Arundell of Wardour" if ftitle=="Arundell of W" | ftitle=="Arundell of Wardom" | |
| replace ftitle= "Vernon of Kinderton" if ftitle=="B of Kindeton" | |
| replace ftitle= "Barnewall of Kingsland" if ftitle=="Barnewall of K" | |
| replace ftitle= "Rottenbury" if ftitle=="Baron de Rottenbury" | |
| replace ftitle= "Liege (Holy Roman Empire)" if ftitle=="Baron of Holy Roman Empire of Liege" | |
| replace ftitle= "Leek & Beverwaet" if ftitle=="Baron of Leek and Beverwaet" | |
| replace ftitle= "Reed" if ftitle=="Baron of Reed" | |
| replace ftitle= "von Wassenaah" if ftitle=="Baron von" | |
| replace ftitle= "von Schunck" if ftitle=="Baron von Schunck" | |
| replace ftitle= "von Tuyll" if ftitle=="Baron von Tuyll" | |
| replace ftitle= "Bedford" if ftitle=="Bedfprd" | |
| replace ftitle= "Belhaven & Stenton" if ftitle=="Bellhaven" | |
| replace ftitle= "Brooke of Warwick Castle / Brooke" if ftitle=="Brooke / 1E Warwick" | ftitle=="Brooke of Warick Castle" | ftitle=="Brooke of Warwick Castle" | |
| replace ftitle= "Buccleuch / Queensbury" if ftitle=="Buccleugh" | |
| replace ftitle= "Carrington" if ftitle=="Carrington Of Upton" | ftitle=="Carrington also GB" | |
| replace ftitle= "Chandos of Sudeley" if ftitle=="Chandos of Suddey" | |
| replace ftitle= "Chotek von Chothowa und Wogrin" if ftitle=="Chotek von Chothowa und Wogrin " | |
| replace ftitle= "Clifford of Chudleigh" if ftitle=="Clifford of C" | ftitle=="Clifford of Churdleigh" | |
| replace ftitle= "Cobham / Westcote / Lyttleton" if ftitle=="Cobham / Westcote / Lyttleton(GB) / Westcote" | |
| replace ftitle= "Cork & Orrery" if ftitle=="Cork and Orrey" | ftitle=="Cork&Orrery" | ftitle=="Corke" | |
| replace ftitle= "Courtenay" if ftitle=="Cour" | |
| replace ftitle= "Cranbrook" if ftitle=="Cranbrooke" | |
| replace ftitle= "Crawford / Lindsay" if ftitle=="Crawford & Lindsay" | |
| replace ftitle= "d'Albi (Holy Roman Empire)" if ftitle=="d'Albi of H Rom Emp" | |
| replace ftitle= "Saumarez" if ftitle=="de Samurez" | |
| replace ftitle= "Decazeset de Gluchsbjerg" if ftitle=="Decazes" | |
| replace ftitle= "Denmark & Norway" if ftitle=="Denmark&Norway" | |
| replace ftitle= "Ditchley (Co Oxford)" if ftitle=="Ditchley, Co Oxford" | |
| replace ftitle= "SHSG (Germany)" if ftitle=="Duke of SHSG / Germany" | |
| replace ftitle= "Dunraven" if ftitle=="Dunraven & Mt Earl" | |
| replace ftitle= "Uxhull" if ftitle=="d'Uxhull" | |
| replace ftitle= "Effingham" if ftitle=="Effingham / Howard of Effingham" | |
| replace ftitle= "Forth" if ftitle=="Forth / Brentwood" | |
| replace ftitle= "Grant / Freuchie" if ftitle=="Grant of Freuchie" | |
| replace ftitle= "Howard of Glossop" if ftitle=="Howard of G[lossop]" | |
| replace ftitle= "Winchester" if ftitle=="if Winchester" | |
| replace ftitle= "Kingston (Hull)" if ftitle=="Kingston Upon Hull" | ftitle==" Kingston-upon-Hull" | |
| replace ftitle= "Laverstoke (Hants)" if ftitle=="Laverstoke, Hants" | |
| replace ftitle= "le Despenser" if ftitle=="de Despenser" | |
| replace ftitle= "Leven / Melville" if ftitle=="Leven & Melville" | |
| replace ftitle= "Lexinton of Aram" if ftitle=="Lexington of Aram" | |
| replace ftitle= "Keith" if ftitle=="Lord Keith" | |
| replace ftitle= "Mountjoy" if ftitle=="M[oun]tjoy" | |
| replace ftitle= "Maitland of Thirlestane" if ftitle=="Maitland of THirlestane" | |
| replace ftitle= "Edgcumbe" if ftitle=="Mount Edgcumbe" | ftitle=="Mount Edgecumbe" | |
| replace ftitle= "Mountnorris" if ftitle=="Mt Norris" | |
| replace ftitle= "Offaley" if ftitle=="Mt Offaley" | |
| replace ftitle= "Alexander" if ftitle=="Mt. Alexander" | |
| replace ftitle= "Garret" if ftitle=="Mtgarret" | |
| replace ftitle= "Newcastle (Lyne)" if ftitle=="Newcastle under Lyne" | ftitle=="Newcastle-under-Lyme" | |
| replace ftitle= "Newcastle (Tyne)" if ftitle=="Newcastle upon Tyne" | ftitle==" Newcastle-upon-Tyne" | |
| replace ftitle= "Oxford / Mortimer" if ftitle=="Oxford & Mortimer" | |
| replace ftitle= "Peterborough & Monmouth" if ftitle=="Peterborough &" | |
| replace ftitle= "Piombino" if ftitle=="pf Piombino" | |
| replace ftitle= "Stamford / Warrington" if ftitle=="Stamford and Warrington" | |
| replace ftitle= "Strathmore / Kinghorne" if ftitle=="Strathmore & Kinghorn" | ftitle=="Strathmore & Kinghorne" | ftitle=="Strathmore / Kingham" | |
| *mtitle | |
| replace mtitle= "Grey de Ruthin" if mtitle=="Grey de Ruthyn" | mtitle=="Grey of Ruthin" | |
| replace mtitle= "Willoughby of Eresby" if mtitle=="W [Willoughby] of Eresby" | |
| *repeated names | |
| replace title= "Breadalbane" if title=="Breadalbane / Breadalbane" | |
| replace title= "Buchan" if title=="Buchan / Buchan" | |
| replace title= "Cloncurry" if title=="Cloncurry / Cloncurry" | |
| replace title= "Hamilton" if title=="Hamilton / Hamilton" | |
| replace ptitle= "Granville" if ptitle=="Granville / Granville" | |
| replace ftitle= "Bute" if ftitle=="Bute / Bute" | |
| replace ftitle= "Argyll" if ftitle=="Arygll / Arygll" | |
| replace ftitle= "Ruthven" if ftitle=="Ruthven / Ruthven" | |
| * H. GEN TITLE VARIABLES | |
| * Generate the variable geo indicating title for each individual | |
| * Entries | |
| gen str70 geo = "" | |
| replace geo = title if nthismarriage==1 & wom==0 // For male entries, we take its own title and, if not available, parental title. | |
| replace geo = ptitle if nthismarriage==1 & wom==0 & geo=="" | |
| replace geo = ptitle if nthismarriage==1 & wom==1 // For female entries, we take first parental and then own. | |
| replace geo = title if nthismarriage==1 & wom==1 & geo=="" | |
| * Spouses | |
| gen str70 geospo = "" | |
| replace geospo = stitle if nthismarriage==1 | |
| foreach var of varlist stitle ftitle mtitle{ // For spouses, we take its own title and, if not available, his father's title | |
| replace geospo = `var' if nthismarriage==1 & geospo=="" // then father's address, then mother's title, and finally mother's address. | |
| } | |
| replace geospo = "Lincolnshire / Carrington" if geospo=="Lincolnshire / C[arrington]" | |
| replace geospo = "Cobham / Westcote / Lyttleton" if geospo=="Cobham / Westcote / Lyttleton(GB) / Westcote" | |
| replace geospo = "Effingham" if geospo=="Effingham / Howard of Effingham" | |
| * Housekeeping | |
| foreach x in "" spo{ | |
| replace geo`x'="Abercromby" if geo`x'=="Abercrombie" | |
| replace geo`x'="Abernathy of Saltoun" if geo`x'=="Abernathy" | |
| replace geo`x'="Antrim" if geo`x'=="Amtrim" | |
| replace geo`x'="Argyll" if geo`x'=="Argyle" | |
| replace geo`x'="Arundell" if geo`x'=="Arundel" | |
| replace geo`x'="Arundell / Surrey" if geo`x'=="Arundel / Surrey" | |
| replace geo`x'="Arundell of Wardour" if geo`x'=="Arundell of W" | |
| replace geo`x'="Ashbrooke" if geo`x'=="Ashbrook" | |
| replace geo`x'="Aylesford" if geo`x'=="Avlesford" | |
| replace geo`x'="Balfour of Burleigh" if geo`x'=="Balfour of Bunleigh" | |
| replace geo`x'="Balfour of Glenawley" if geo`x'=="Balfour of Glenawly" | |
| replace geo`x'="Balmerinoch" if geo`x'=="Balmmerinoch" | |
| replace geo`x'="Banbury of Southam" if geo`x'=="Banbury" | |
| replace geo`x'="Aberdeen" if geo`x'=="Abedeen" | |
| } | |
| replace geo = "Feversham Duncombe Park" if title=="Feversham of Duncombe Park" | title=="Feversham of Ryedale" | |
| replace geospo = "Feversham Duncombe Park" if stitle=="Feversham" | |
| drop faddress maddress fatherfnames fathersurname motherfnames mothersurname | |
| * ============================================================================== | |
| * 2.2 FAMILY SEATS FROM BURKE (1826) | |
| * ------------------------------------------------------------------------------ | |
| /* Note: The file familyseats.txt contains the family seats in Burke (1826) | |
| for titles in the Hollingsworth dataset (variable geo) and for titles of | |
| spouses in the Hollingsworth dataset (variable geospo). */ | |
| * save family seats data in .dta format | |
| preserve | |
| * family seats for titles in the Hollingsworth dataset | |
| import delimited "${dirdata}\familyseats.txt", clear | |
| keep if geo!="" | |
| keep geo countryseat county countryseat2 county2 countryseat3 county3 countryseat4 county4 wgslat wgslon wgslat2 wgslon2 wgslat3 wgslon3 wgslat4 wgslon4 | |
| label var geo "Title to merge with Hollingsworth dataset" | |
| local j = 1 | |
| foreach x in "" 2 3 4{ | |
| local N = "n" | |
| if `j'==4{ | |
| local N = 4 | |
| } | |
| label var countryseat`x' "Name of family seat (`j'/`N')" | |
| label var county`x' "County where family seat is located (`j'/`N')" | |
| label var wgslat`x' "Latitude of family seat (`j'/`N'), WGS84" | |
| label var wgslon`x' "Longitude of family seat (`j'/`N'), WGS84" | |
| local j = `j'+1 | |
| } | |
| save "${dirdta}\familyseats.dta", replace | |
| * family seats for titles of spouses in the Hollingsworth dataset | |
| import delimited "${dirdata}\familyseats.txt", clear | |
| keep if geospo!="" | |
| keep geospo countryseatspo countyspo countryseat2spo county2spo countryseat3spo county3spo countryseat4spo county4spo countryseat5spo county5spo wgslatspo wgslonspo wgslat2spo wgslon2spo wgslat3spo wgslon3spo wgslat4spo wgslon4spo wgslat5spo wgslon5spo | |
| label var geospo "Title to merge with Hollingswort dataset" | |
| local j = 1 | |
| foreach x in "" 2 3 4 5{ | |
| local N = "n" | |
| if `j'==5{ | |
| local N = 5 | |
| } | |
| label var countryseat`x'spo "Name of seat (`j'/`N') (for spouses' families)" | |
| label var county`x'spo "County where family seat is located (`j'/`N') (for spouses' families)" | |
| label var wgslat`x'spo "Latitude of family seat (`j'/`N'), WGS84 (for spouses' families)" | |
| label var wgslon`x'spo "Longitude of family seat (`j'/`N'), WGS84 (for spouses' families)" | |
| local j = `j'+1 | |
| } | |
| save "${dirdta}\familyseats_spo.dta", replace | |
| restore | |
| * merge family seats | |
| * family seats for titles in the Hollingsworth dataset | |
| merge m:1 geo using "${dirdta}\familyseats.dta", nogen | |
| * family seats for titles of spouses in the Hollingsworth dataset | |
| merge m:1 geospo using "${dirdta}\familyseats_spo.dta", nogen | |
| * erase temp files | |
| erase "${dirdta}\familyseats.dta" | |
| erase "${dirdta}\familyseats_spo.dta" | |
| * housekeeping | |
| drop geo geospo | |
| keep if refno!=. | |
| * ============================================================================== | |
| * 2.3 GEOGRAPHIC VARIABLES | |
| * ------------------------------------------------------------------------------ | |
| * Distance between spouses' seats. When spouses have more than one seat, I use | |
| * the minimum distance between seats. | |
| foreach x in "" 2 3 4{ | |
| foreach y in "" 2 3 4 5{ | |
| geodist wgslat`x' wgslon`x' wgslat`y'spo wgslon`y'spo, miles gen(disttmp`x'_`y') | |
| } | |
| } | |
| gen dist = min(disttmp_, disttmp2_, disttmp3_, disttmp4_, disttmp_2, disttmp2_2, disttmp3_2, disttmp4_2, disttmp_3, disttmp2_3, disttmp3_3, disttmp4_3, disttmp_4, disttmp2_4, disttmp3_4, disttmp4_4, disttmp_5, disttmp2_5, disttmp3_5, disttmp4_5) | |
| drop disttmp_ disttmp2_ disttmp3_ disttmp4_ disttmp_2 disttmp2_2 disttmp3_2 disttmp4_2 disttmp_3 disttmp2_3 disttmp3_3 disttmp4_3 disttmp_4 disttmp2_4 disttmp3_4 disttmp4_4 disttmp_5 disttmp2_5 disttmp3_5 disttmp4_5 | |
| * Manual corrections | |
| * The following corrections correspond to a group of marriages where both spouses | |
| * are peers' or peers' offspring; i.e., each spouse has its own entry in the | |
| * Hollingsworth dataset. However, for these individuals, the names or surnames | |
| * in the entries are not consistently reported. For the sake of illustration, take | |
| * the marriage between Edward Keppel Coke and Diana Mary Blanche Georgiana Ellis. | |
| * In Diana's entry (refno=59654) both names are correctly reported so I was able | |
| * to find their country seats and the corresponding distance. However, in Edward's | |
| * entry (refno=154454) his name is correctly reported, but his wife only appears | |
| * as "Diana," making it impossible to find her country seat and to calculate | |
| * the distance. The following lines correct for these mistakes, assigning both | |
| * spouses' entries the same distance. | |
| replace dist=87.49741 if refno==154454 | |
| replace dist=94.21429 if refno==27511 | |
| replace dist=91.12578 if refno==205653 | |
| replace dist=151.6865 if refno==117602 | |
| replace dist=347.8196 if refno==180652 | |
| replace dist=242.4853 if refno==257205 | |
| replace dist=279.2881 if refno==4103 | |
| replace dist=45.72152 if refno==124850 | |
| replace dist=7.508985 if refno==78251 | |
| replace dist=79.80771 if refno==302750 | |
| replace dist=213.4518 if refno==220652 | |
| replace dist=11.39863 if refno==69152 | |
| * Distance to London | |
| /* Note: this is calculated only for the baseline sample. To calculate it, | |
| I use seats at the title level */ | |
| gen distsample = (wom==1 & nthismarriage<2) // distance to london only used for peers' daughters, excluding second-marriages and 20C marriages | |
| gsort distsample surname title -nthismarr | |
| foreach x in wgslat wgslon wgslat2 wgslon2 wgslat3 wgslon3 wgslat4 wgslon4{ | |
| by distsample surname title: gen `x'0 = `x'[1] | |
| } | |
| foreach i in "" 2 3 4{ | |
| geodist wgslat`i'0 wgslon`i'0 51.507222 -0.1275, miles gen(distlnd`i') | |
| } | |
| egen distlondon = rowmin(distlnd distlnd2 distlnd3 distlnd4) | |
| replace distlondon = . if distsample!=1 | |
| drop distlnd distlnd2 distlnd3 distlnd4 wgslat0 wgslon0 wgslat20 wgslon20 wgslat30 wgslon30 wgslat40 wgslon40 distsample | |
| * ============================================================================== | |
| * 3. FAMILY LANDHOLDINGS FROM BATEMAN (1883) | |
| * ------------------------------------------------------------------------------ | |
| /* This Section of the do file adds information on family landholdings to the | |
| prepared Hollingsworth genealogical data. The code is organized into the | |
| following sub-sections: | |
| 3.1. Import data for baseline sample (women aged 15-35 in 1861) | |
| 3.2. Import data for appendix sample (men marrying in 1851-75) | |
| 3.3. Sorting by landholdings variables | |
| * ============================================================================ */ | |
| * ============================================================================== | |
| * 3.1 IMPORT DATA FOR BASELINE SAMPLE | |
| * ------------------------------------------------------------------------------ | |
| /* Note: Here I import the family landholdings for women in my baseline | |
| sample and their (first) husbands. A woman's family landholdings refers | |
| to the acreage owned by her birth family (idem for men). Out of a potential | |
| sample of 644 women (peers' daughters aged 15-35 in 1861 who ever married, | |
| excluding second-marriages, women married to foreigners, and members of the | |
| royal family), I found the family landholdings for 324 women and their | |
| husbands. Eighty-one percent of the lost observations correspond to women | |
| marrying landless commoners. The remaining 19 percent are women whose families | |
| (or whose husbands families) owned fewer than 2,000 acres, and hence, were | |
| not listed in Bateman (1883). | |
| I constructed this dataset in three steps: | |
| (i) First, I digitized all 596 men who appear both in Bateman and in | |
| Hollingsworth's dataset. | |
| (ii) Second, I coded 353 of their wives' birth families. | |
| The data from steps 1 and 2 is in the dataset bateman-master.txt. The file | |
| also contains 70 entries in Bateman for men who do not appear in the | |
| Hollingsworth dataset directly but that (first) married in 1858-66 | |
| to a peers' daughter in the baseline sample. From these two steps, I found | |
| both spouses' family landholdings for 227 couples in my baseline sample. | |
| This is indicated by the variables fsource (for women) and sfsource | |
| (for their husbands): | |
| fsource = "bateman_master (notes)" | |
| sfsource = "bateman_master (notes)" | |
| Where notes lists the reference number in the bateman-master datset from | |
| which the data comes from (and indicates whether this corresponds to their | |
| landholdings in bateman-master or to the landholdings of spouses in bateman-master) | |
| (iii) Third, I searched the remaining baseline sample's spouses (families) | |
| in Bateman's book manually. | |
| From step three, I found 97 additional couples. This is indicated by the | |
| variables sfsource (for their husbands): | |
| sfsource = "Bateman 1883 (notes)" | |
| Where notes lists the page and the entry (i.e., the title of the landholder) | |
| where the info comes from in Bateman's book. */ | |
| * import data | |
| preserve | |
| import delimited "${dirdata}\landholings-baseline-sample.txt", clear | |
| label var refno "Reference number in Hollingsworth" | |
| label var fatotal "Family landholdings" | |
| label var sfatotal "Family landholdings, spouse" | |
| label var id "Reference number in bateman-master for fatotal" | |
| label var sid "Reference number in bateman-master for sfaTotal" | |
| label var fsource "Source for fATotal (landholdings or landholdings of spouses in bateman-master)" | |
| label var sfsource "Source sfATotal (Bateman 1883;lholdings or lholdings spouses in bateman-master)" | |
| save "${dirdta}\landholings-baseline-sample.dta", replace | |
| restore | |
| * merge family seats | |
| merge m:1 refno using "${dirdta}\landholings-baseline-sample.dta", nogen | |
| erase "${dirdta}\landholings-baseline-sample.dta" | |
| * sorting by landholdings' variables | |
| xtile fATot = fatotal if fatotal!=. & nthismarr<2 & age1861>=15 & age1861<=35, nq(100) // rank percentiles for family landholdings | |
| xtile sfATot = sfatotal if fatotal!=. & nthismarr<2 & age1861>=15 & age1861<=35, nq(100) // rank percentiles for spouses' family landholdings | |
| gen fmissmatch = abs(fATot-sfATot) // Difference in spouses' family landholdings (absolute value, rank percentiles) | |
| gen fmissmatch2 = sfATot-fATot // Difference in spouses' family landholdings (rank percentiles) | |
| gen fdown = 1 if fATot>sfATot & fATot!=. & sfATot!=. // Married down in landholdings | |
| replace fdown = 0 if fATot<=sfATot & fATot!=. & sfATot!=. | |
| label var fmissmatch "Difference in spouses' family landholdings (absolute value, percentile ranks)" | |
| label var fmissmatch2 "Difference in spouses' family landholdings (hus-wife, percentile ranks)" | |
| label var fdown "Married down in family landholdings" | |
| * ============================================================================== | |
| * 3.2 IMPORT DATA FOR APPENDIX SAMPLE (MEN) | |
| * ------------------------------------------------------------------------------ | |
| * import data | |
| preserve | |
| import delimited "${dirdata}\bateman-master.txt", clear | |
| keep if refno!=. // keep great landowners listed both in Bateman 1883 and in the Hollingsworth dataset | |
| label var refno "Reference number in Hollingsworth dataset" | |
| label var nthismarriage "Number this Marriage in Hollingsworth dataset" | |
| label var firstnames "First Name" | |
| label var surname "Surname" | |
| label var title "Title" | |
| label var byear "Birth year" | |
| label var dyear "Death year" | |
| label var id "Identifier for family landholdings' source in landholdings-baseline-sample.txt" | |
| label var rnk_bate "Rank listed in Bateman (1883)" | |
| label var accuracy "Accuracy Bateman entry (1 = least; 3 = most; see Bateman prologue)" | |
| label var oldfamily "Head of family/family's junior branch who held land in England since Henry VII" | |
| label var sfatherfirstname "Spouse's father first name" | |
| label var ssurname "Spouse's surname" | |
| label var stitle "Spouses' title" | |
| label var sid "Identifier (spo) family landholdings' source in landholdings-baseline-sample.txt" | |
| label var saccuracy "Accuracy Bateman entry for spouse family (1=least; 3=most; see Bateman prologue)" | |
| label var soldfamily "Spouse in family/family's junior branch held land in England since Henry VII" | |
| local s1 = 1 | |
| local Slab = "" | |
| foreach S in "" s{ | |
| if `s1'==2{ | |
| local Slab = "(spouse's family)" | |
| } | |
| label var `S'seatname "Address/name of seat in Bateman `Slab'" | |
| label var `S'town "Town of address/seat in Bateman `Slab'" | |
| label var `S'county "County of address/seat in Bateman `Slab'" | |
| label var `S'school "School attended by landowner as of 1870s `Slab'" | |
| label var `S'college "College attended by landowner as of 1870s `Slab'" | |
| label var `S'militaryacademy "Military academy attended by landowner as of 1870s `Slab'" | |
| label var `S'club "Club (1/n) to which landowner belonged `Slab'" | |
| forvalues j=2/6{ | |
| label var `S'club`j' "Club (`j'/n) to which landowner belonged `Slab'" | |
| } | |
| label var `S'club7 "Club (7/7) to which landowner belonged `Slab'" | |
| label var `S'succyear "Year of succession in Bateman `Slab'" | |
| label var `S'woods "Woods included in Bateman `Slab'" | |
| label var `S'acrestotal "Acreage (total) `Slab'" | |
| label var `S'valuetotal "Gross annual value, pounds (total) `Slab'" | |
| forvalues i=1/13{ | |
| label var `S'estate`i' "County `i'/n where landowners has estates `Slab'" | |
| label var `S'acres`i' "Acres in county `i'/n `Slab'" | |
| label var `S'value`i' "Gross annual value (pounds) in county `i'/n `Slab'" | |
| } | |
| label var `S'estate14 "County 14/14 where landowners has estates `Slab'" | |
| label var `S'acres14 "Acres in county 14/14 `Slab'" | |
| label var `S'value14 "Gross annual value (pounds) in county 14/14 `Slab'" | |
| label var `S'queenservices "Services to the Queen, as of 1870s (1/n) `Slab'" | |
| local j = 1 | |
| foreach x in queenservices2 queenservices3 queensevices4 queensevices5 queensevices6 queensevices7{ | |
| label var `S'`x' "Services to the Queen, as of 1870s (`j'/n) `Slab'" | |
| local j = `j'+1 | |
| } | |
| label var `S'queensevices8 "Services to the Queen, as of 1870s (8/8) `Slab'" | |
| label var `S'parliament "Services to Parliament, as of 1870s (1/n) `Slab'" | |
| label var `S'parliament2 "Services to Parliament, as of 1870s (2/n) `Slab'" | |
| label var `S'parliament3 "Services to Parliament, as of 1870s (3/n) `Slab'" | |
| label var `S'parliament4 "Services to Parliament, as of 1870s (4/4) `Slab'" | |
| label var `S'wealthsources "Other wealth sources listed in Bateman (1/n) `Slab'" | |
| label var `S'wealthsources2 "Other wealth sources listed in Bateman (1/2) `Slab'" | |
| local s1 = `s1'+1 | |
| } | |
| save "${dirdta}\bateman_master.dta", replace | |
| restore | |
| * merger | |
| merge 1:1 refno nthismarriage using "${dirdta}\bateman_master.dta", nogen | |
| erase "${dirdta}\bateman_master.dta" | |
| * ============================================================================== | |
| * 4. ATTENDANCE TO THE SEASON | |
| * ------------------------------------------------------------------------------ | |
| /* This Section of the do file adds the yearly number of people who: (a) were | |
| invited to a royal party during the Season, (b) who attended royal parties, | |
| (c) who excused themselves from not attending (source: self collected from | |
| National Archives, reference provided). I also add the number of girls who | |
| were presented at Court and the number of peers' daughters presented at Court | |
| (source: Ellenberger 1990) | |
| * ============================================================================ */ | |
| * Import original data | |
| preserve | |
| import delimited "${dirdata}\seasonattend.txt", clear | |
| label var date "Date of the event" | |
| label var year "Year of the event" | |
| label var partyname "Name of event" | |
| label var partytype "Type of event" | |
| label var invited "Number of people invited" | |
| label var attended "Number of people who attended the event" | |
| label var excused "Number of people who were invited and excused themselves for not attending" | |
| label var referenceparty "Reference in National Archives" | |
| label var court "Yearly number of girls presented at court" | |
| label var courtp "Yearly number of peers' daughters presented at court" | |
| label var referencecourt "Source for court presentations data" | |
| * Collapse data by year, separating events | |
| encode partytype, gen(ptype) | |
| keep ptype invited excused attended year court courtp | |
| collapse (sum) invited excused attended, by(year ptype) | |
| reshape wide invited excused attended, i(year) j(ptype) | |
| foreach x in invited excused attended{ | |
| egen `x'_bc = rsum(`x'2 `x'5) | |
| egen `x' = rsum(`x'1 `x'2 `x'3 `x'4 `x'5 `x'6 `x'7) | |
| drop `x'1 `x'2 `x'3 `x'4 `x'5 `x'6 `x'7 | |
| } | |
| rename year myear | |
| label var myear "Year" | |
| label var invited_bc "Yearly invitees at Season (balls and concerts)" | |
| label var invited "Yearly invitees at Season (royal parties)" | |
| label var excused_bc "Yearly invitees who excused themselves at Season (balls and concerts)" | |
| label var excused "Yearly invitees who excused themselves at Season (royal parties)" | |
| label var attended_bc "Yearly attendees at Season (balls and concerts)" | |
| label var attended "Yearly attendees at Season (royal parties)" | |
| save "${dirdta}\temp-seasonattend.dta", replace | |
| restore | |
| * Collapse data by year, court presentations | |
| preserve | |
| import delimited "${dirdata}\seasonattend.txt", clear | |
| collapse court courtp, by(year) | |
| rename year myear | |
| label var myear "Year" | |
| label var court "Yearly number of girls presented at court in the Season" | |
| label var courtp "Yearly number of peers' daughters presented at court in the Season" | |
| save "${dirdta}\temp-seasoncourt.dta", replace | |
| restore | |
| * Merge with master data | |
| merge m:1 myear using "${dirdta}\temp-seasonattend.dta", nogen | |
| merge m:1 myear using "${dirdta}\temp-seasoncourt.dta", nogen | |
| erase "${dirdta}\temp-seasonattend.dta" | |
| erase "${dirdta}\temp-seasoncourt.dta" | |
| * Other variables | |
| gen courtpc = courtp/court // Proportion of peers' daughters presented at court | |
| rename attended attendLC | |
| gen attend100 = attendLC/100 // Variables in hundreds | |
| foreach x in invited excused attended_bc invited_bc{ | |
| gen `x'100 = `x'/100 | |
| drop `x' | |
| } | |
| label var attend100 "Attendees Season" | |
| label var invited100 "Invited at royal parties" | |
| label var attended_bc100 "Attendees at balls and concerts" | |
| label var invited_bc100 "Invidted at balls and concerts" | |
| * ============================================================================== | |
| * 5. SAVE FINAL DATA FOR PEERAGE MARRIAGES | |
| * ------------------------------------------------------------------------------ | |
| /* This Section of the do file produces the variables with the analysis samples, | |
| adds variable labels, and saves the final data for the analysis of marriages | |
| (Sections I to III) | |
| * ============================================================================ */ | |
| * Sample variables | |
| drop if myear>=1900 & myear!=. & wom==1 // keep 19C marriages | |
| gen base_sample = (wom==1 & nthismarriage==1 & age1861>=15 & age1861<=35 & myear!=. & prankspo!=0) | |
| /* Note: Baseline sample is 644 peers' daughters aged 15-35 in 1861 who ever | |
| married, excluding second-marriages, women married to foreigners, and | |
| members of the royal family (prankspo!=0 drops saxe-coburg). */ | |
| gen marital_rates_sample = (wom==1 & nthismarriage<2 & age1861>=15 & age1861<=35 & dage>35 & dyear>byear+1 & prank>1) | |
| /* Note: To examine marital rates, I consider women aged 15-35 in 1861, | |
| whether they married or not. To avoid counting women who died at an early | |
| age as celibate, I exclude those dying before age 35 (see p.20). */ | |
| * Labels | |
| label var syntheticT "Treatment" | |
| label var mourn "Married in 1861-63" | |
| label var cOut "Married a commoner" | |
| label var mheir "Married an heir" | |
| label var pr4 "Duke/Earl/Marquis' daughter" | |
| label var grankspo "Husband's rank at age 15" | |
| label var biorder "Birth order (excluding heirs)" | |
| label var hengpee "Peerage of England" | |
| label var hscotpee "Peerage of Scotland" | |
| label var hiripee "Peerage of Ireland" | |
| label var mage "Age at marriage" | |
| * Save final data | |
| save "${dirdata}\final-data.dta", replace | |
| * ============================================================================== | |
| * 6. DATA FOR PLACEBO TESTS | |
| * ------------------------------------------------------------------------------ | |
| /* This Section of the do file produces the datasets used for the placebo tests | |
| in Section III. | |
| * ============================================================================ */ | |
| * Add baseline sample to placebo dataset | |
| use "${dirdata}\final-data.dta", clear | |
| set more off | |
| preserve | |
| keep age1861 refno pr4 myear bdate syntheticT cOut mheir prank biorder mage hengpee byear nthismarriage crankspo base_sample distlondon title | |
| gen str10 sample0 = "baseline" | |
| keep if base_sample==1 | |
| save "${dirdata}\placebo-data.dta", replace | |
| restore | |
| * Add placebo samples to placebo dataset | |
| forvalues j = 10(1)50{ | |
| local i = `j' | |
| local y = 1861-`j' | |
| preserve | |
| gen age`y' = floor((td(31mar`y')-bdate)/365) | |
| keep if wom==1 & prank>1 & age`y'>=15 & age`y'<=35 & nthismarriage==1 & crankspo!=0 // analogous placebo sample: peers' daughters aged 15 to 35 in placebo interruption who ever married, excluding second marriages and foreign marriages | |
| merge m:1 age`y' using "${dirdta}\synthetic_placebo_`j'.dta" // add placebo synthetic probability to marry during placebo interruptions | |
| replace synthetic_plac = 0 if synthetic_plac==. | |
| keep if synthetic_plac!=. | |
| drop if _merge==2 | |
| drop _merge | |
| gen sample01 = `y' | |
| keep age`y' refno pr4 myear bdate synthetic_plac cOut mheir prank biorder mage hengpee byear nthismarriage crankspo sample01 distlondon title | |
| gen str10 sample0 = "placebo" | |
| gen age1861_plac = age`y' | |
| gen mourn_plac=(myear>=1861-`j' & myear<=1863-`j') | |
| append using "${dirdata}\placebo-data.dta" // append placebo samples | |
| save "${dirdata}\placebo-data.dta", replace | |
| restore | |
| } | |
| use "${dirdata}\placebo-data.dta", clear | |
| egen byearclst=group(byear sample01) // cluster by byear across samples (for suest pooled estimation) | |
| replace byearclst = byear if sample0=="baseline" | |
| * Save placebo data | |
| save "${dirdata}\placebo-data.dta", replace | |
| forvalues j = 10(1)50{ | |
| erase "${dirdta}\synthetic_placebo_`j'.dta" // erase temporal datasets with placebo synthetic probabilities | |
| } | |
| * ============================================================================== | |
| * 7. DATA FOR SECTION IV (IMPLICATIONS) | |
| * ------------------------------------------------------------------------------ | |
| /* This Section of the do file produces the datasets used in Section IV for | |
| analyzing the implications of marriage on political power (and of political | |
| power on public goods' provision): | |
| 7.1 Political power data | |
| 7.2 Education provision by local School Boards | |
| 7.3 Merge datasets and save | |
| * ============================================================================ */ | |
| * ============================================================================== | |
| * 7.1 POLITICAL POWER DATA | |
| * ------------------------------------------------------------------------------ | |
| /* Here I import data on MP elections from peers' biographies in thepeerage.com | |
| and use regular expressions to construct all the measures of MP elections and | |
| political power in the paper. */ | |
| * Import raw dataset with 674 biographies of the fathers, brothers, and family | |
| * heads of women in the baseline sample (source: thepeerage.com) | |
| import excel "${dirdata}\biographies", sheet("Sheet1") firstrow clear | |
| * Brother's birth year | |
| forvalues i=1/10{ | |
| qui gen byear_b0`i' = substr(b`i'bio1,strpos(b`i'bio1,"b."),.) | |
| qui gen byear_b`i' = substr(byear_b0`i',1,strpos(byear_b0`i',", ")-1) if regexm(byear_b0`i',", ")==1 | |
| qui replace byear_b`i' = substr(byear_b0`i',1,strpos(byear_b0`i',"Last")-1) if byear_b`i'=="" | |
| qui replace byear_b`i' = substr(byear_b`i',length(byear_b`i')-4,.) | |
| qui replace byear_b`i' = strrtrim(byear_b`i') | |
| qui replace byear_b`i' = strltrim(byear_b`i') | |
| destring byear_b`i', replace | |
| } | |
| * Marriage year | |
| foreach x in f h b1 b2 b3 b4 b5 b6 b7 b8 b9 b10{ | |
| qui gen myear_`x'_0 = substr(`x'bio2,strpos(`x'bio2,"married"),.) if regexm(`x'bio2,"unmarried")==0 | |
| gen myear_`x'_alt = regexs(1) if regexm(myear_`x'_0, "([0-9]?[0-9]? [A-Z]*[a-z]* [0-9][0-9][0-9][0-9])") | |
| replace myear_`x'_alt=strtrim(myear_`x'_alt) | |
| gen myear_`x' = substr(myear_`x'_alt,length(myear_`x'_alt)-4,.) | |
| destring myear_`x', replace | |
| } | |
| * MP count(s) and indicator(s) | |
| foreach x in f h b1 b2 b3 b4 b5 b6 b7 b8 b9 b10{ | |
| gen d_MP`x' = regexm(`x'bio2,"(M.P.)") | |
| moss `x'bio2, match("(M.P.)") prefix(MP1`x') | |
| gen MP`x' = MP1`x'count | |
| replace MP`x' = 0 if MP`x'==. | |
| } | |
| gen MPb = MPb1+MPb2+MPb3+MPb4+MPb5+MPb6+MPb7+MPb8+MPb9+MPb10 | |
| gen d_MPb = (MPb>0) | |
| * MP information (party, terms, constituency) | |
| foreach x in f h b1 b2 b3 b4 b5 b6 b7 b8 b9 b10{ | |
| gen `x'bio2_1 = `x'bio2 | |
| gen lib`x' = 0 | |
| gen tory`x' = 0 | |
| qui sum MP`x' | |
| local y=r(max) | |
| forvalues j=1/`y'{ | |
| * all | |
| gen MPall`x'_`j' = regexs(1) if regexm(`x'bio2_`j',"[Member of Parliament ]+[\(]+[M]+[\.]+[P]+[\.]+[\)]+[1]*[ ]*[for ]*(.+)") | |
| replace MPall`x'_`j' = subinstr(MPall`x'_`j', "St.", "St",.) | |
| replace MPall`x'_`j' = substr(MPall`x'_`j',1,strpos(MPall`x'_`j',".")) | |
| local i = `j' + 1 | |
| gen `x'bio2_`i' = substr(`x'bio2_`j',strpos(`x'bio2_`j',"Member of Parliament")+28,.) | |
| drop `x'bio2_`j' | |
| * party | |
| gen party`x'_`j' = substr(MPall`x'_`j',strpos(MPall`x'_`j',"(")+1,strpos(MPall`x'_`j',")")-2) | |
| replace lib`x' = 1 if party`x'_`j'=="Lib" | party`x'_`j'=="Liberal" | party`x'_`j'=="Whig" | party`x'_`j'=="Liberal Union" | |
| replace tory`x' = 1 if party`x'_`j'=="C" | party`x'_`j'=="Conservative" | party`x'_`j'=="Tory" | party`x'_`j'=="U" | party`x'_`j'=="Unionist" | |
| * constituency | |
| gen cnsty`x'_`j' = regexs(1) if regexm(MPall`x'_`j',"[the ]*(.+)") & party`x'_`j'=="" | |
| replace cnsty`x'_`j' = regexs(1) if regexm(MPall`x'_`j',"[\(]+[a-zA-Z]+[\)]+[ ]+[for ]*[between ]*[the ]*(.+)") & party`x'_`j'!="" | |
| foreach endword in "between " "from " "1"{ | |
| replace cnsty`x'_`j' = strrtrim(substr(cnsty`x'_`j',1,strpos(cnsty`x'_`j',"`endword'")-1)) if regexm(cnsty`x'_`j',"`endword'") | |
| } | |
| replace cnsty`x'_`j' = strrtrim(substr(cnsty`x'_`j',1,length(cnsty`x'_`j')-1)) if regexm(cnsty`x'_`j',"\.") | regexm(cnsty`x'_`j',",") | |
| replace cnsty`x'_`j' = subinstr(cnsty`x'_`j' , " in", "",.) | |
| * term | |
| gen term1`x'_`j' = substr(MPall`x'_`j',strpos(MPall`x'_`j',"1"),4) | |
| gen term2`x'_`j' = substr(MPall`x'_`j',strpos(MPall`x'_`j',"1"),.) | |
| replace term2`x'_`j' = regexs(1) if regexm(term2`x'_`j',"[0-9]*[ ]*[and ]*[to ]*[–]*[a-zA-Z]*[ ]*[a-zA-Z]*[ ]*([0-9]+)") | |
| replace term2`x'_`j' = term1`x'_`j' if length(term2`x'_`j')<2 | |
| replace term2`x'_`j' = substr(term1`x'_`j',1,2) + substr(term2`x'_`j',1,2) if length(term2`x'_`j')==2 | |
| destring term1`x'_`j' term2`x'_`j', replace | |
| } | |
| } | |
| * Housekeeping | |
| qui sum MPb1 | |
| local y=r(max) | |
| if `y'>0{ | |
| * Arthur Edward Holland Grey Egerton, 3rd Earl of Wilton | |
| replace term1b1_2 = 1859 if (refno==263156 & cnstyb1_2=="Weymouth") | (refno==263157 & cnstyb1_2=="Weymouth") | (refno==263159 & cnstyb1_2=="Weymouth") | |
| replace term2b1_2 = 1865 if (refno==263156 & cnstyb1_2=="Weymouth") | (refno==263157 & cnstyb1_2=="Weymouth") | (refno==263159 & cnstyb1_2=="Weymouth") | |
| * Arthur Edward Holland Grey Egerton, 3rd Earl of Wilton | |
| replace term1b1_1 = 1873 if (refno==263156 & cnstyb1_1=="Bath") | (refno==263157 & cnstyb1_1=="Bath") | (refno==263159 & cnstyb1_1=="Bath") | |
| replace term2b1_1 = 1874 if (refno==263156 & cnstyb1_1=="Bath") | (refno==263157 & cnstyb1_1=="Bath") | (refno==263159 & cnstyb1_1=="Bath") | |
| * George Augustus Frederick Louis Curzon-Howe, 2nd Earl Howe | |
| replace term1b1_1 = 1857 if (refno==136403 & cnstyb1_1=="South Lancashire") | (refno==136407 & cnstyb1_1=="South Lancashire") | (refno==136408 & cnstyb1_1=="South Lancashire") | |
| replace term2b1_1 = 1870 if (refno==136403 & cnstyb1_1=="South Lancashire") | (refno==136407 & cnstyb1_1=="South Lancashire") | (refno==136408 & cnstyb1_1=="South Lancashire") | |
| } | |
| qui sum MPb2 | |
| local y=r(max) | |
| if `y'>0{ | |
| * Lord Augustus Henry Charles Hervey | |
| replace term1b2_1 = 1864 if refno==35306 & cnstyb2_1=="West Suffolk" | |
| replace term2b2_1 = 1875 if refno==35306 & cnstyb2_1=="West Suffolk" | |
| } | |
| qui sum MPb3 | |
| local y=r(max) | |
| if `y'>0{ | |
| * Rt. Hon. Lord Frederick Charles Cavendish | |
| replace term1b3_1 = 1865 if refno==79852 & cnstyb3_1=="North and West Ridings of Yorkshire" | |
| replace term2b3_1 = 1882 if refno==79852 & cnstyb3_1=="North and West Ridings of Yorkshire" | |
| * Commander Hon. Frederick Walpole | |
| replace term1b3_1 = 1868 if refno==196005 & cnstyb3_1=="North Norfolk" | |
| replace term2b3_1 = 1885 if refno==196005 & cnstyb3_1=="North Norfolk" | |
| * Lord Arthur Pelham-Clinton | |
| replace term1b3_1 = 1865 if refno==189002 & cnstyb3_1=="Newark" | |
| replace term2b3_1 = 1868 if refno==189002 & cnstyb3_1=="Newark" | |
| } | |
| qui sum MPb4 | |
| local y=r(max) | |
| if `y'>0{ | |
| * Hon. Elliot Constantine Yorke | |
| replace term1b4_1 = 1874 if (refno==126701 & cnstyb4_1=="Cambridgeshire") | (refno==126702 & cnstyb4_1=="Cambridgeshire") | (refno==126703 & cnstyb4_1=="Cambridgeshire") | |
| replace term2b4_1 = 1878 if (refno==126701 & cnstyb4_1=="Cambridgeshire") | (refno==126702 & cnstyb4_1=="Cambridgeshire") | (refno==126703 & cnstyb4_1=="Cambridgeshire") | |
| } | |
| qui sum MPb5 | |
| local y=r(max) | |
| if `y'>0{ | |
| * Lord George Charles Gordon-Lennox | |
| replace term1b5_1 = 1860 if (refno==209856 & cnstyb5_1=="Lymington") | (refno==209860 & cnstyb5_1=="Lymington") | |
| replace term2b5_1 = 1874 if (refno==209856 & cnstyb5_1=="Lymington") | (refno==209860 & cnstyb5_1=="Lymington") | |
| } | |
| qui sum MPh | |
| local y=r(max) | |
| if `y'>0{ | |
| * George Augustus Frederick Louis Curzon-Howe, 2nd Earl Howe | |
| replace term1h_1 = 1857 if (refno==136403 & cnstyh_1=="South Lancashire") | (refno==136407 & cnstyh_1=="South Lancashire") | (refno==136408 & cnstyh_1=="South Lancashire") | |
| replace term2h_1 = 1870 if (refno==136403 & cnstyh_1=="South Lancashire") | (refno==136407 & cnstyh_1=="South Lancashire") | (refno==136408 & cnstyh_1=="South Lancashire") | |
| } | |
| qui sum MPf | |
| local y=r(max) | |
| if `y'>0{ | |
| * Hon. Robert Henry Clive | |
| replace term1f_1 = 1832 if refno==264509 & cnstyf_1=="South Shropshire" | |
| replace term2f_1 = 1854 if refno==264509 & cnstyf_1=="South Shropshire" | |
| } | |
| * MPs before and after marriage (and total years) | |
| foreach z in h f b1 b2 b3 b4 b5 b6 b7 b8 b9 b10{ | |
| local i=1 | |
| gen MP`z'_aft = 0 | |
| gen MP`z'_bef = 0 | |
| gen MP`z'_years = 0 | |
| gen MP`z'_years_aft = 0 | |
| gen d_MP`z'_bef = 0 | |
| qui sum MP`z' | |
| local y = r(max) | |
| if `y'>0{ | |
| forvalues j = 1/`y'{ | |
| summ term1`z'_`j' term2`z'_`j' | |
| replace MP`z'_aft = 1 if (term1`z'_`j'>=myear & term1`z'_`j'!=.) | (term2`z'_`j'>=myear & term2`z'_`j'!=.) | |
| replace MP`z'_bef = 1 if term2`z'_`j'< myear & term2`z'_`j'!=. | |
| replace MP`z'_years = MP`z'_years + term2`z'_`j'-term1`z'_`j' if term1`z'_`j'!=. | |
| replace MP`z'_years_aft = MP`z'_years_aft + term2`z'_`j'-term1`z'_`j' if myear<=term1`z'_`j' & term1`z'_`j'!=. | |
| replace MP`z'_years_aft = MP`z'_years_aft + term2`z'_`j'-myear if myear>term1`z'_`j' & myear<=term2`z'_`j' & term1`z'_`j'!=. | |
| } | |
| } | |
| gen d_MP`z'_aft = (MP`z'_aft>0 & MP`z'_aft!=.) | |
| if `y'>0{ | |
| replace d_MP`z'_bef = (term2`z'_1<myear & term2`z'_1!=.) | |
| } | |
| } | |
| foreach x in aft bef years years_aft{ | |
| gen MPb_`x' = MPb1_`x'+MPb2_`x'+MPb3_`x'+MPb4_`x'+MPb5_`x'+MPb6_`x'+MPb7_`x'+MPb8_`x'+MPb9_`x'+MPb10_`x' | |
| gen d_MPb_`x' = (MPb_`x'>0) | |
| } | |
| foreach z in h f b1 b2 b3 b4 b5 b6 b7 b8 b9 b10{ | |
| qui sum MP`z' | |
| local y = r(max) | |
| if `y'>0{ | |
| forvalues i=1/`y'{ | |
| * Constituencies where elected | |
| preserve | |
| import excel "${dirdata}\constituencies.xlsx", sheet("Sheet1") firstrow clear | |
| rename cnsty cnsty`z'_`i' | |
| rename countyN cnstycounty`z'_`i' | |
| rename wgs cnstywgs`z'_`i' | |
| label var cnsty`z'_`i' "`z''s electoral constituency (`i' M.P. occurrance)" | |
| label var cnstycounty`z'_`i' "`z''s county of electoral constituency (`i' M.P. occurrance)" | |
| label var cnstywgs`z'_`i' "`z''s lat & lon of electoral constituency (`i' M.P. occurrance)" | |
| label var note "`z''s type of electoral constituency (`i' M.P. occurrance)" | |
| label var history "`z''s electoral constituency (`i' M.P. occurrance) active from . to ." | |
| save "${dirdta}\constituencies.dta", replace | |
| restore | |
| merge m:1 cnsty`z'_`i' using "${dirdta}\constituencies.dta", gen(cnsty`z'_merge) | |
| drop if cnsty`z'_merge==2 | |
| drop cnsty`z'_merge | |
| } | |
| } | |
| } | |
| drop history | |
| * Relation to family head | |
| gen fhead_1872_2 = fhead_1872 | |
| replace fhead_1872_2 = "brother" if fhead_1872=="brother (1)" | fhead_1872=="brother (2)" | fhead_1872=="brother (3)" | fhead_1872=="brother (4)" | |
| encode fhead_1872_2, gen(nfhead_1872) | |
| * Number of brothers | |
| gen nsib = . | |
| forvalues i=1/10{ | |
| replace nsib = `i' if b`i'bio1!="" | |
| } | |
| * Save temporary data | |
| save "${dirdta}/Peers_biographies.dta", replace | |
| erase "${dirdta}/constituencies.dta" | |
| * ============================================================================== | |
| * 7.2 EDUCATION PROVISION BY LOCAL SCHOOL BOARDS | |
| * ------------------------------------------------------------------------------ | |
| /* Using ArcMap, import shapefile schoolboards_all.shp, which contains the | |
| location of all School Boards. Then import shapefile seats_base_10mi.shp, which | |
| contains all family seats of women in the baseline sample in England and 10-miles | |
| radius around each family seat. Use the intersect tool to generate the shapefile | |
| IseatXsb_10mi.shp, which contains all family seat-School Board dyads within 10 | |
| miles. This is also saved as a txt file (IseatXsb_10mi.txt). */ | |
| * Import all family seat-School Board dyads within 10 miles. | |
| import delimited "${dirdata}\shapefiles\IseatXsb_10mi.txt", clear | |
| * Replace , for . for decimals | |
| foreach x in refno wgslat wgslon wgs1_lat wgs1_lon wgs2_lat wgs2_lon wgs3_lat wgs3_lon wgs4_lat wgs4_lon rateperpou{ | |
| replace `x'=subinstr(`x',",",".",.) | |
| destring `x', replace | |
| } | |
| rename fid_seats_ fid_b10sea | |
| geodist wgslat wgslon 51.507222 -0.1275, miles gen(distlondon2) // distance to london from each seat | |
| * Number of unique seats and school boards | |
| duplicates tag refno countrysea wgslon wgslat schoolboar wgs1_lat wgs1_lon, gen(dup1) | |
| drop if dup1 & countyn!=county | |
| distinct fid_b10sea | |
| distinct fid_school | |
| gen numsb = 1 | |
| * Collapse by refno family seat to get the averate tax rate around the family | |
| * seat of each woman in the baseline sample: | |
| collapse (sum) numsb (mean) rateperpound = rateperpou (mean) distlondon2, by(refno countyn fid_b10sea wgslat wgslon) | |
| * Add Hechter's county controls | |
| preserve | |
| import delimited "${dirdata}\countycntrls.txt", clear | |
| label var countyn "County" | |
| label var income "Income pc in county in 1881 census (Hechter 1976)" | |
| label var propman100 "% working in manufacturing in county in 1881 census (Hechter 1976)" | |
| label var logincome "Log Income pc in county in 1881 census (Hechter 1976)" | |
| label var propcon "Proportion voting conservative in county in 1885 General Election (Hechter 1976)" | |
| label var propnonc "Proportion non-conformists in county in 1881 census (Hechter 1976)" | |
| label var relig "Religiosity in county (Hechter 1976)" | |
| save "${dirdta}\countycntrls.dta", replace | |
| restore | |
| merge m:1 countyn using "${dirdta}\countycntrls.dta", nogen | |
| erase "${dirdta}\countycntrls.dta" | |
| rename countyn countyN | |
| * Save temporary file | |
| rename wgslat wgslat_ | |
| rename wgslon wgslon_ | |
| save "${dirdta}\eduXseatsaverages.dta", replace | |
| * ============================================================================== | |
| * 7.3 MERGE DATASETS AND SAVE | |
| * ------------------------------------------------------------------------------ | |
| * Merge with Hollingsworth final data | |
| gen nthismarriage = 1 // by construction, all women in this sample correspond to first-marriages | |
| merge m:1 refno nthismarriage using "${dirdata}\final-data.dta", keep(mas mat) nogen | |
| /* Note: refno does not uniquely identify observations in the master dataset | |
| because some women had more than one family seat (see discussion in Section | |
| IV B, p.40 and in footnote 55). */ | |
| * Merge with Peers' biographies data | |
| merge m:1 refno using "${dirdta}/Peers_biographies.dta", nogen | |
| drop distlondon // use distance from each seat to London | |
| rename distlondon2 distlondon | |
| * Local political power | |
| /* Note: This is defined here to use geo-located family seats and check | |
| whether individuals were elected MP in the county where the family seat is | |
| located */ | |
| foreach z in h f b1 b2 b3 b4 b5 b6 b7 b8{ | |
| gen MP`z'_local = 0 | |
| gen MP`z'_locaft = 0 | |
| qui sum MP`z' | |
| local y = r(max) | |
| forvalues i=1/`y'{ | |
| replace MP`z'_local = 1 if cnstycounty`z'_`i'==countyN | |
| replace MP`z'_locaft = 1 if (cnstycounty`z'_`i'==countyN & term2`z'_`i'>=myear) | (cnstycounty`z'_`i'==countyN & term1`z'_`i'>=myear) | |
| } | |
| gen d_MP`z'_local = (MP`z'_local>0) | |
| gen d_MP`z'_locaft = (MP`z'_locaft>0) | |
| } | |
| * Years local political power | |
| /* Note: idem */ | |
| foreach z in h f b1 b2 b3 b4 b5 b6 b7 b8 b9 b10{ | |
| gen MP`z'_years_loc = 0 | |
| gen MP`z'_years_locaft = 0 | |
| qui sum MP`z' | |
| local y = r(max) | |
| if `y'>0{ | |
| forvalues j = 1/`y'{ | |
| summ term1`z'_`j' term2`z'_`j' | |
| replace MP`z'_years_loc = MP`z'_years_loc+term2`z'_`j'-term1`z'_`j' if term1`z'_`j'!=. & cnstycounty`z'_`j'==countyN | |
| replace MP`z'_years_locaft = MP`z'_years_locaft + term2`z'_`j'-term1`z'_`j' if myear<=term1`z'_`j' & term1`z'_`j'!=. & cnstycounty`z'_`j'==countyN | |
| replace MP`z'_years_locaft = MP`z'_years_locaft + term2`z'_`j'-myear if myear>term1`z'_`j' & myear<=term2`z'_`j' & term1`z'_`j'!=. & cnstycounty`z'_`j'==countyN | |
| } | |
| } | |
| } | |
| foreach x in years_loc years_locaft{ | |
| gen MPb_`x' = MPb1_`x'+MPb2_`x'+MPb3_`x'+MPb4_`x'+MPb5_`x'+MPb6_`x'+MPb7_`x'+MPb8_`x'+MPb9_`x'+MPb10_`x' | |
| } | |
| gen MPb_local = MPb1_local+MPb2_local+MPb3_local+MPb4_local+MPb5_local+MPb6_local+MPb7_local+MPb8_local | |
| gen d_MPb_local = (MPb_local>0) | |
| gen MPb_locaft = MPb1_locaft+MPb2_locaft+MPb3_locaft+MPb4_locaft+MPb5_locaft+MPb6_locaft+MPb7_locaft+MPb8_locaft | |
| gen d_MPb_locaft = (MPb_locaft>0) | |
| drop MPb1_locaft d_MPb1_locaft MPb2_locaft d_MPb2_locaft MPb3_locaft d_MPb3_locaft MPb4_locaft d_MPb4_locaft MPb5_locaft d_MPb5_locaft MPb6_locaft d_MPb6_locaft MPb7_locaft d_MPb7_locaft MPb8_locaft d_MPb8_locaft MPb1_local MPb2_local MPb3_local MPb4_local MPb5_local MPb6_local MPb7_local MPb8_local d_MPb1_local d_MPb2_local d_MPb3_local d_MPb4_local d_MPb5_local d_MPb6_local d_MPb7_local d_MPb8_local | |
| bysort refno: egen d_MPb_locaft2 = max(d_MPb_locaft) // for women with more than one seat, take the max local political power (this variable is then collapsed) | |
| bysort refno: egen d_MPf_local2 = max(d_MPf_local) | |
| * Keep geo-referenced lat and lon | |
| drop wgslat wgslon | |
| rename wgslat_ wgslat | |
| rename wgslon_ wgslon | |
| * Labels & housekeeping | |
| label var d_MPb_aft "Any brother is MP after woman's marriage" | |
| label var d_MPf_bef "MP indicator before woman's marriage" | |
| label var MPb_years_aft "Years MP after a woman's marriage (all brothers)" | |
| gen MPf_years_bef = MPf_years-MPf_years_aft | |
| label var MPf_years_bef "Years MP before a woman's marriage" | |
| label var d_MPb_locaft "Any brother is local MP after woman's marriage" | |
| label var d_MPb_locaft2 "Any brother is local MP after woman's marriage" | |
| label var d_MPf_local2 "Local MP indicator before woman's marriage" | |
| label var MPb_years_locaft "Years local MP after a woman's marriage (all brothers)" | |
| gen MPf_years_locbef = MPf_years_loc-MPf_years_locaft | |
| label var MPf_years_locbef "Years local MP before a woman's marriage (father)" | |
| label var d_MPh_aft "Family head is MP after woman's marriage" | |
| label var d_MPh_bef "Family head is MP before woman's marriage" | |
| label var MPh_years_aft "Years MP after a woman's marriage (family heads)" | |
| gen MPh_years_bef = MPh_years-MPh_years_aft | |
| label var MPh_years_bef "Years MP before a woman's marriage (family heads)" | |
| drop fbio2_6 hbio2_5 b1bio2_6 b2bio2_5 b3bio2_9 b4bio2_4 b5bio2_2 b6bio2_2 b7bio2_2 b8bio2_2 b9bio2_1 b10bio2_1 | |
| * Save final dataset for Section IV | |
| save "${dirdata}/final-data-sec4.dta", replace | |
| * ============================================================================== | |
| * 8. LABELS | |
| * ------------------------------------------------------------------------------ | |
| /* This Section of the do file adds labels to all the variables in the .dta | |
| files generated by master-dataprep.do. All variable values are explained | |
| by the variable labels (e.g., string variables), the value labels (e.g., | |
| encoded variables for rank), or the variable formats (e.g., variables for | |
| birth, marriage, and death dates. */ | |
| * ============================================================================== | |
| * ============================================================================== | |
| * 8.1. LABELS FOR final-data.dta | |
| * ------------------------------------------------------------------------------ | |
| use "${dirdata}\final-data.dta", clear | |
| label var counter "Counter number in Hollingsworth" | |
| label var refno "Reference number in Hollingsworth" | |
| label var str_refno "Reference number in Hollingsworth (string)" | |
| label var child "Abbreviated family relationship to peer" | |
| label var parent "Rank and title of parent or last incumbent of peerage; eg 3E = third Earl." | |
| label var rankstrg "Rank & no of title (eg, D=Duke;M=Marquess;E=Earl;Cs=Countess;V=Viscount;B=Baron)" | |
| label var titlec "Title comment" | |
| label define lbv_sexdeath 1 "Male, Non-violent death" 2 "Male, Violent death" 3 "Male, Living 1959" 4 "Female, Non-violent death" 5 "Female, Violent death" 6 "Female, Living 1959", replace | |
| label values sexdeath lbv_sexdeath | |
| label var violentd "Violent death comment" | |
| label var soleheirship "Sole heir (Y=Only child of F who reached 15 / of M if Peeress; X=Not only child)" | |
| label var illegitchm "Illegitimate male children" | |
| label var illegitchf "Illegitimate female children" | |
| label var illegitdied "Ill ch died<15 (Y=0;X=1M;0=1F;1=2M;2=1M1F;3=2F;4=3M;5=2M1F;6=1M2F;7=3F;8=4;9=>4)" | |
| label var created "Title created date comment" | |
| label var entry "Year of entry to peerage? Meaning unknown" | |
| label var entryflag "Entry flag (0;1;blank) Meaning unknown" | |
| label var notes "Notes from original Hollingsworth paper slips" | |
| label var bday "Birth/baptism Day" | |
| label var bmonth "Birth/baptism Month (Y=Jan;X=Feb;0=Mar;1=Apr;...;9=Dec)" | |
| label var byear "Birth/baptism Year" | |
| label var bacc "B Accuracy +-years (Y=0;X=.03;0=.06;1=.12;2=.25;3=.5;4=1;5=2:6=4;7=8;8=16;9=32)" | |
| label var bbefore "Birth/baptism Before" | |
| label var bafter "Birth/baptism After" | |
| label var bcomment "Birth/baptism Comment" | |
| label var dday "Death/burial Day" | |
| label var dmonth "Death/burial Month (Y=Jan;X=Feb;0=Mar;1=Apr;...;9=Dec)" | |
| label var dyear "Death/burial Year" | |
| label var dacc "D Accuracy +-years (Y=0;X=.03;0=.06;1=.12;2=.25;3=.5;4=1;5=2:6=4;7=8;8=16;9=32)" | |
| label var dbefore "Death/burial Before" | |
| label var dafter "Death/burial After" | |
| label var dcomment "Death/burial Comment" | |
| label var nmarriages "Number of marriages" | |
| label var nthismarriage "Number this Marriage" | |
| label var livethismarr "Live Births this marriage" | |
| label var allstillbirths "All Stillbirths" | |
| label var alllivebirths "All Live Births" | |
| label var spousefnames "First Names of spouse in this marriage" | |
| label var spousesurname "Surname of spouse in this marriage" | |
| label var spousecomment "Spouse Comment" | |
| label var spousechild "Abbreviated family relationship to peer of spouse in this marriage" | |
| label var spouseparent "Rank and title of spouse's parent in this marriage" | |
| label var spouserank "Rank and number of that title of spouse in this marriage" | |
| label var stitle "Title of spouse in this marriage" | |
| label var spouseaddress "Address of spouse in this marriage" | |
| label var widowfnames "First Names of spouse's own dead spouse from their previous marriage" | |
| label var widowsurname "Surname of spouse's own dead spouse from their previous marriage" | |
| label var widowcomment "Widow Comment" | |
| label var wdowchild "Abbr family relation to peer of spouse's own dead spouse from previous marriage" | |
| label var widowparent "Rank & title of spouse's own dead spouse's parent from previous marriage" | |
| label var widowrank "Rank and number of title of spouse's own dead spouse from previous marriage" | |
| label var widowttitle "Title of spouse's own dead spouse from their previous marriage" | |
| label var widowaddress "Address of spouse's own dead spouse from their previous marriage" | |
| label var fathercomment "Spouse's Father Comment" | |
| label var fatherchild "Abbreviated family relationship to peer of spouse's father" | |
| label var fatherparent "Rank and title of parent of spouse's father" | |
| label var fatherrank "Rank and number of that title of spouse's father" | |
| label var ftitle "Title of spouse's father" | |
| label var mothercomment "Spouse's Mother Comment" | |
| label var motherchild "Abbreviated family relationship to peer of spouse's mother" | |
| label var motherparent "Rank and title of parent of spouse's mother" | |
| label var motherrank "Rank and number of that title of spouse's mother" | |
| label var mtitle "Title of spouse's mother" | |
| label var mgffnames "First Names of Spouse's maternal grandfather (MGF)" | |
| label var mgfsurname "Surname of spouse's MGF" | |
| label var mgfcomment "Spouse's MGF Comment" | |
| label var mgfchild "Abbreviated family relationship to peer of spouse's MGF" | |
| label var mgfparent "Rank and title of parent of spouse's MGF" | |
| label var mgfrank "Rank and number of that title of spouse's MGF" | |
| label var mgfttitle "Title of spouse's MGF" | |
| label var mgfaddress "Address of spouse's MGF" | |
| label var heir "Heir to estate? (1=wife sole heir;2=wife coheir;3=wife not;4=hus heir;5=hus not)" | |
| label var marrcomment "Comments on marriage" | |
| label var mday "Marriage Day" | |
| label var mmonth "Marriage Month (Y=Jan;X=Feb;0=Mar;1=Apr;...;9=Dec)" | |
| label var myear "Marriage year" | |
| label var macc "M Accuracy +-years (Y=0;X=.03;0=.06;1=.12;2=.25;3=.5;4=1;5=2:6=4;7=8;8=16;9=32)" | |
| label var mbefore "Marriage Before" | |
| label var mafter "Marriage After" | |
| label var mcomment "Marriage date Comment" | |
| label var sbday "Spouse's birth day" | |
| label var sbmonth "Spouse's birth month (Y=Jan;X=Feb;0=Mar;1=Apr;...;9=Dec)" | |
| label var sbyear "Spouse's birth year" | |
| label var sbacc "SB Accuracy +-years (Y=0;X=.03;0=.06;1=.12;2=.25;3=.5;4=1;5=2:6=4;7=8;8=16;9=32)" | |
| label var sbbefore "Spouse's birth Before" | |
| label var sbafter "Spouse's birth After" | |
| label var sbcomment "Spouse's birth Comment" | |
| label var sdday "Spouse's death day" | |
| label var sdmonth "Spouse's death month (Y=Jan;X=Feb;0=Mar;1=Apr;...;9=Dec)" | |
| label var sdyear "Spouse's death year" | |
| label var sdacc "SD Accuracy +-years (Y=0;X=.03;0=.06;1=.12;2=.25;3=.5;4=1;5=2:6=4;7=8;8=16;9=32)" | |
| label var sdbefore "Spouse's death Before" | |
| label var sdafter "Spouse's death After" | |
| label var sdcomment "Spouse's death Comment" | |
| label var dsday "Day of divorce/separation this marriage" | |
| label var dsmonth "Month of divorce/separation this marriage (Y=Jan;X=Feb;0=Mar;1=Apr;...;9=Dec)" | |
| label var dsyear "Year of divorce/separation this marriage" | |
| label var dsacc "DS Accuracy +-years (Y=0;X=.03;0=.06;1=.12;2=.25;3=.5;4=1;5=2:6=4;7=8;8=16;9=32)" | |
| label var dsbefore "Divorce/separation Before" | |
| label var dsafter "Divorce/separation After" | |
| label var dscomment "Divorce/separation Comment" | |
| label var setno "This marriage: specification for children: set no" | |
| label var avebacc "Average accuracy of birth dates" | |
| label var wom "Woman (1=yes;0=no)" | |
| label var bdate "Birth date " | |
| label var ddate "Death date" | |
| label var mdate "Marriage date" | |
| label var sbdate "Spouse's birth date" | |
| label var sddate "Spouse's death date" | |
| label var smage "Spouse's age at marriage" | |
| label var dage "Age at death" | |
| label var sdage "Spouse's age at death" | |
| label var rankspo "Highest title the spouse succeeded to/was heir to at 15/was created for" | |
| label var prankspo "Highest title the spouse's parent succeeded to/was heir to at 15/was created for" | |
| label var rank "Highest title succeeded to/was heir to at 15/was created for" | |
| label var hrank "Highest title heir to at 15" | |
| label var prank "Highest title the parent succeeded to/was heir to at 15/was created for" | |
| label var hrankspo "Highest title the spouse was heir to at 15" | |
| label var crank "Rank (heir to at 15 for men; highest parental rank for women)" | |
| label var crankspo "Spouse's rank (heir to at 15 for men; highest parental rank for women)" | |
| label var grank "Wife's parental rank" | |
| replace grank = . if grank!=4 & grank!=5 | |
| label var ownrank "Title (separating Duke, Earl, Marqui, Baron, Viscount daughters)" | |
| label var peerage "Nation of peerage (highest title succeeded to/heir to at 15/created for)" | |
| label var peeragespo "Spouse Nation of peerage (highest title succeeded to/heir to at 15/created for)" | |
| label var ppeerage "Parent Nation of peerage (highest title succeeded to/heir to at 15/created for)" | |
| label var ppeeragespo "Spo parent Nation of peerage (highest title succ to/heir to at 15/created for)" | |
| label var hpeerage "Nation of peerage (highest title self or parent succeeded/heir at 15/created)" | |
| label var hpeeragespo "Spouse Nation of peerage (highest title self or parent succ/heir at 15/created)" | |
| label values hpeeragespo regg | |
| label var hforeign "Foreign" | |
| label var hbritcom "British commoner" | |
| label var age1861 "Age at the start of the 1861 Season" | |
| label var countryseat "Name of family seat (1/n)" | |
| label var county "County where family seat is located (1/n)" | |
| label var countryseat2 "Name of family seat (2/n)" | |
| label var county2 "County where family seat is located (2/n)" | |
| label var countryseat3 "Name of family seat (3/n)" | |
| label var county3 "County where family seat is located (3/n)" | |
| label var countryseat4 "Name of family seat (4/4)" | |
| label var county4 "County where family seat is located (4/4)" | |
| label var wgslat "Latitude of family seat (1/n), WGS84" | |
| label var wgslon "Longitude of family seat (1/n), WGS84" | |
| label var wgslat2 "Latitude of family seat (2/n), WGS84" | |
| label var wgslon2 "Longitude of family seat (2/n), WGS84" | |
| label var wgslat3 "Latitude of family seat (3/n), WGS84" | |
| label var wgslon3 "Longitude of family seat (3/n), WGS84" | |
| label var wgslat4 "Latitude of family seat (4/4), WGS84" | |
| label var wgslon4 "Longitude of family seat (4/4), WGS84" | |
| label var countryseatspo "Name of family seat (1/n) (for spouses' families)" | |
| label var countyspo "County where family seat is located (1/n) (for spouses' families)" | |
| label var countryseat2spo "Name of family seat (2/n) (for spouses' families)" | |
| label var county2spo "County where family seat is located (2/n) (for spouses' families)" | |
| label var countryseat3spo "Name of family seat (3/n) (for spouses' families)" | |
| label var county3spo "County where family seat is located (3/n) (for spouses' families)" | |
| label var countryseat4spo "Name of family seat (4/n) (for spouses' families)" | |
| label var county4spo "County where family seat is located (4/n) (for spouses' families)" | |
| label var countryseat5spo "Name of family seat (5/5) (for spouses' families)" | |
| label var county5spo "County where family seat is located (5/5) (for spouses' families)" | |
| label var wgslatspo "Latitude of family seat (1/n), WGS84 (for spouses' families)" | |
| label var wgslonspo "Longitude of family seat (1/n), WGS84 (for spouses' families)" | |
| label var wgslat2spo "Latitude of family seat (2/n), WGS84 (for spouses' families)" | |
| label var wgslon2spo "Longitude of family seat (2/n), WGS84 (for spouses' families)" | |
| label var wgslat3spo "Latitude of family seat (3/n), WGS84 (for spouses' families)" | |
| label var wgslon3spo "Longitude of family seat (3/n), WGS84 (for spouses' families)" | |
| label var wgslat4spo "Latitude of family seat (4/n), WGS84 (for spouses' families)" | |
| label var wgslon4spo "Longitude of family seat (4/n), WGS84 (for spouses' families)" | |
| label var wgslat5spo "Latitude of family seat (5/5), WGS84 (for spouses' families)" | |
| label var wgslon5spo "Latitude of family seat (5/5), WGS84 (for spouses' families)" | |
| label var dist "Shortest distance between spouses' seats" | |
| label var distlondon "Shortest distance between seat and London" | |
| label var rnk_bate "Rank listed in Bateman (1883)" | |
| label var seatname "Address/name of seat in Bateman" | |
| label var town "Town of address/seat in Bateman" | |
| label var school "School attended by landowner as of 1870s" | |
| label var college "College attended by landowner as of 1870s" | |
| label var militaryacademy "Military academy attended by landowner as of 1870s" | |
| label var club "Club (1/n) to which landowner belonged" | |
| label var club2 "Club (2/n) to which landowner belonged" | |
| label var club3 "Club (3/n) to which landowner belonged" | |
| label var club4 "Club (4/n) to which landowner belonged" | |
| label var club5 "Club (5/n) to which landowner belonged" | |
| label var club6 "Club (6/n) to which landowner belonged" | |
| label var club7 "Club (7/7) to which landowner belonged" | |
| label var succyear "Year of succession in Bateman" | |
| label var accuracy "Accuracy Bateman entry (1 = least; 3 = most; see Bateman prologue)" | |
| label var oldfamily "Head of family/family's junior branch who held land in England since Henry VII" | |
| label var woods "Woods included in Bateman" | |
| label var acrestotal "Acreage (total)" | |
| label var valuetotal "Gross annual value, pounds (total)" | |
| forvalues i=1/13{ | |
| label var estate`i' "County `i'/n where landowners has estates" | |
| label var acres`i' "Acres in county `i'/n" | |
| label var value`i' "Gross annual value (pounds) in county `i'/n" | |
| } | |
| label var estate14 "County 14/14 where landowners has estates" | |
| label var acres14 "Acres in county 14/14" | |
| label var value14 "Gross annual value (pounds) in county 14/14" | |
| label var queenservices "Services to the Queen, as of 1870s (1/n)" | |
| label var queenservices2 "Services to the Queen, as of 1870s (2/n)" | |
| label var queenservices3 "Services to the Queen, as of 1870s (3/n)" | |
| label var queensevices4 "Services to the Queen, as of 1870s (4/n)" | |
| label var queensevices5 "Services to the Queen, as of 1870s (5/n)" | |
| label var queensevices6 "Services to the Queen, as of 1870s (6/n)" | |
| label var queensevices7 "Services to the Queen, as of 1870s (7/n)" | |
| label var queensevices8 "Services to the Queen, as of 1870s (8/8)" | |
| label var parliament "Services to Parliament, as of 1870s (1/n)" | |
| label var parliament2 "Services to Parliament, as of 1870s (2/n)" | |
| label var parliament3 "Services to Parliament, as of 1870s (3/n)" | |
| label var parliament4 "Services to Parliament, as of 1870s (4/4)" | |
| label var wealthsources "Other wealth sources listed in Bateman (1/n)" | |
| label var wealthsources2 "Other wealth sources listed in Bateman (1/2)" | |
| label var sfatherfirstname "Spouse's father first name" | |
| label var ssurname "Spouse's surname" | |
| label var sseatname "Address/name of seat in Bateman (spouse's family)" | |
| label var stown "Town of address/seat in Bateman (spouse's family)" | |
| label var scounty "County of address/seat in Bateman (spouse's family)" | |
| label var sschool "School attended by landowner as of 1870s (spouse's family)" | |
| label var scollege "College attended by landowner as of 1870s (spouse's family)" | |
| label var smilitaryacademy "Military academy attended by landowner as of 1870s (spouse's family)" | |
| label var sclub "Club (1/n) to which landowner belonged (spouse's family)" | |
| forvalues i=2/6{ | |
| label var sclub`i' "Club (`i'/n) to which landowner belonged (spouse's family)" | |
| } | |
| label var sclub7 "Club (7/7) to which landowner belonged (spouse's family)" | |
| label var ssuccyear "Year of succession in Bateman (spouse's family)" | |
| label var saccuracy "Accuracy Bateman entry for spouse family (1=least; 3=most; see Bateman prologue)" | |
| label var soldfamily "Spouse in family/family's junior branch held land in England since Henry VII" | |
| label var swoods "Woods included in Bateman (spouse's family)" | |
| label var sacrestotal "Acreage (total) (spouse's family)" | |
| label var svaluetotal "Gross annual value, pounds (total) (spouse's family)" | |
| forvalues i=1/13{ | |
| label var sestate`i' "County `i'/n where landowners has estates (spouse's family)" | |
| label var sacres`i' "Acres in county `i'/n (spouse's family)" | |
| label var svalue`i' "Gross annual value (pounds) in county `i'/n (spouse's family)" | |
| } | |
| label var sestate14 "County 14/14 where landowners has estates (spouse's family)" | |
| label var sacres14 "Acres in county 14/14 (spouse's family)" | |
| label var svalue14 "Gross annual value (pounds) in county 14/14 (spouse's family)" | |
| label var squeenservices "Services to the Queen, as of 1870s (1/n) (spouse's family)" | |
| label var squeenservices2 "Services to the Queen, as of 1870s (2/n) (spouse's family)" | |
| label var squeenservices3 "Services to the Queen, as of 1870s (3/n) (spouse's family)" | |
| label var squeensevices4 "Services to the Queen, as of 1870s (4/n) (spouse's family)" | |
| label var squeensevices5 "Services to the Queen, as of 1870s (5/n) (spouse's family)" | |
| label var squeensevices6 "Services to the Queen, as of 1870s (6/n) (spouse's family)" | |
| label var squeensevices7 "Services to the Queen, as of 1870s (7/n) (spouse's family)" | |
| label var squeensevices8 "Services to the Queen, as of 1870s (8/8) (spouse's family)" | |
| label var sparliament "Services to Parliament, as of 1870s (1/n) (spouse's family)" | |
| label var sparliament2 "Services to Parliament, as of 1870s (2/n) (spouse's family)" | |
| label var sparliament3 "Services to Parliament, as of 1870s (3/n) (spouse's family)" | |
| label var sparliament4 "Services to Parliament, as of 1870s (4/4) (spouse's family)" | |
| label var swealthsources "Other wealth sources listed in Bateman (1/n) (spouse's family)" | |
| label var swealthsources2 "Other wealth sources listed in Bateman (1/2) (spouse's family)" | |
| label var attend100 "Yearly attendees at Season (royal parties), in hundreds" | |
| label var invited100 "Yearly invitees at Season (royal parties), in hundreds" | |
| label var excused100 "Yearly invitees who excused themselves at Season (royal parties), in hundreds" | |
| label var invited_bc100 "Yearly invitees at Season (balls and concerts), in hundreds" | |
| label var attendLC "Yearly attendees at Season (royal parties)" | |
| label var excused_bc "Yearly invitees who excused themselves at Season (balls and concerts)" | |
| label var court "Yearly number of girls presented at court in the Season" | |
| label var courtp "Yearly number of peers' daughters presented at court in the Season" | |
| label var courtpc "Yearly % of court presentations in the Season by peers' daughters" | |
| label var base_sample "Baseline sample (1=yes;0=no)" | |
| label var marital_rates_sample "Sample to examine marital rates (1=yes;0=no)" | |
| save "${dirdata}\final-data.dta", replace | |
| * ============================================================================== | |
| * 8.2 LABELS FOR final-data-sec4.dta | |
| * ------------------------------------------------------------------------------ | |
| use "${dirdata}\final-data-sec4.dta", clear | |
| label var fid_b10sea "FID identifier for family seats of women in baseline sample (ArcGIS)" | |
| label var countyN "County where family seat is located" | |
| label var refno "Reference number in Hollingsworth" | |
| label var wgslat "Latitude of family seat, WGS84" | |
| label var wgslon "Longitude of family seat, WGS84" | |
| label var numsb "Number of School Boards within 10mi of seat" | |
| label var rateperpound "Average tax rate (%) in 1872-78 set by School Board within 10mi from family seat" | |
| label var distlondon "Shortest distance between seat and London" | |
| label var income "Income pc in county in 1881 census (Hechter 1976)" | |
| label var propman100 "% working in manufacturing in county in 1881 census (Hechter 1976)" | |
| label var logincome "Log Income pc in county in 1881 census (Hechter 1976)" | |
| label var propcon "Proportion voting conservative in county in 1885 General Election (Hechter 1976)" | |
| label var propnonc "Proportion non-conformists in county in 1881 census (Hechter 1976)" | |
| label var relig "Religiosity in county (Hechter 1976)" | |
| label var nthismarriage "Number this Marriage" | |
| label var counter "Counter number in Hollingsworth" | |
| label var str_refno "Reference number in Hollingsworth (string)" | |
| label var surname "Surname" | |
| label var firstnames "First Names" | |
| label var child "Abbreviated family relationship to peer" | |
| label var parent "Rank and title of parent or last incumbent of peerage; eg 3E = third Earl." | |
| label var rankstrg "Rank & no of title (eg, D=Duke;M=Marquess;E=Earl;Cs=Countess;V=Viscount;B=Baron)" | |
| label var title "Title" | |
| label var ptitle "Parental Title" | |
| label var titlec "Title comment" | |
| label var sexdeath "Sex/Death" | |
| label define lbv_sexdeath 1 "Male, Non-violent death" 2 "Male, Violent death" 3 "Male, Living 1959" 4 "Female, Non-violent death" 5 "Female, Violent death" 6 "Female, Living 1959", replace | |
| label values sexdeath lbv_sexdeath | |
| label var violentd "Violent death comment" | |
| label var soleheirship "Sole heir (Y=Only child of F who reached 15 / of M if Peeress; X=Not only child)" | |
| label var illegitchm "Illegitimate male children" | |
| label var illegitchf "Illegitimate female children" | |
| label var illegitdied "Ill ch died<15 (Y=0;X=1M;0=1F;1=2M;2=1M1F;3=2F;4=3M;5=2M1F;6=1M2F;7=3F;8=4;9=>4)" | |
| label var created "Title created date comment" | |
| label var entry "Year of entry to peerage? Meaning unknown" | |
| label var entryflag "Entry flag (0;1;blank) Meaning unknown" | |
| label var notes "Notes from original Hollingsworth paper slips" | |
| label var bday "Birth/baptism Day" | |
| label var bmonth "Birth/baptism Month (Y=Jan;X=Feb;0=Mar;1=Apr;...;9=Dec)" | |
| label var byear "Birth/baptism Year" | |
| label var bacc "B Accuracy +-years (Y=0;X=.03;0=.06;1=.12;2=.25;3=.5;4=1;5=2:6=4;7=8;8=16;9=32)" | |
| label var bbefore "Birth/baptism Before" | |
| label var bafter "Birth/baptism After" | |
| label var bcomment "Birth/baptism Comment" | |
| label var dday "Death/burial Day" | |
| label var dmonth "Death/burial Month (Y=Jan;X=Feb;0=Mar;1=Apr;...;9=Dec)" | |
| label var dyear "Death/burial Year" | |
| label var dacc "D Accuracy +-years (Y=0;X=.03;0=.06;1=.12;2=.25;3=.5;4=1;5=2:6=4;7=8;8=16;9=32)" | |
| label var dbefore "Death/burial Before" | |
| label var dafter "Death/burial After" | |
| label var dcomment "Death/burial Comment" | |
| label var nmarriages "Number of marriages" | |
| label var livethismarr "Live Births this marriage" | |
| label var allstillbirths "All Stillbirths" | |
| label var alllivebirths "All Live Births" | |
| label var spousefnames "First Names of spouse in this marriage" | |
| label var spousesurname "Surname of spouse in this marriage" | |
| label var spousecomment "Spouse Comment" | |
| label var spousechild "Abbreviated family relationship to peer of spouse in this marriage" | |
| label var spouseparent "Rank and title of spouse's parent in this marriage" | |
| label var spouserank "Rank and number of that title of spouse in this marriage" | |
| label var stitle "Title of spouse in this marriage" | |
| label var spouseaddress "Address of spouse in this marriage" | |
| label var widowfnames "First Names of spouse's own dead spouse from their previous marriage" | |
| label var widowsurname "Surname of spouse's own dead spouse from their previous marriage" | |
| label var widowcomment "Widow Comment" | |
| label var wdowchild "Abbr family relation to peer of spouse's own dead spouse from previous marriage" | |
| label var widowparent "Rank & title of spouse's own dead spouse's parent from previous marriage" | |
| label var widowrank "Rank and number of title of spouse's own dead spouse from previous marriage" | |
| label var widowttitle "Title of spouse's own dead spouse from their previous marriage" | |
| label var widowaddress "Address of spouse's own dead spouse from their previous marriage" | |
| label var fathercomment "Spouse's Father Comment" | |
| label var fatherchild "Abbreviated family relationship to peer of spouse's father" | |
| label var fatherparent "Rank and title of parent of spouse's father" | |
| label var fatherrank "Rank and number of that title of spouse's father" | |
| label var ftitle "Title of spouse's father" | |
| label var mothercomment "Spouse's Mother Comment" | |
| label var motherchild "Abbreviated family relationship to peer of spouse's mother" | |
| label var motherparent "Rank and title of parent of spouse's mother" | |
| label var motherrank "Rank and number of that title of spouse's mother" | |
| label var mtitle "Title of spouse's mother" | |
| label var mgffnames "First Names of Spouse's maternal grandfather (MGF)" | |
| label var mgfsurname "Surname of spouse's MGF" | |
| label var mgfcomment "Spouse's MGF Comment" | |
| label var mgfchild "Abbreviated family relationship to peer of spouse's MGF" | |
| label var mgfparent "Rank and title of parent of spouse's MGF" | |
| label var mgfrank "Rank and number of that title of spouse's MGF" | |
| label var mgfttitle "Title of spouse's MGF" | |
| label var mgfaddress "Address of spouse's MGF" | |
| label var heir "Heir to estate? (1=wife sole heir;2=wife coheir;3=wife not;4=hus heir;5=hus not)" | |
| label var marrcomment "Comments on marriage" | |
| label var mday "Marriage Day" | |
| label var mmonth "Marriage Month (Y=Jan;X=Feb;0=Mar;1=Apr;...;9=Dec)" | |
| label var myear "Marriage year" | |
| label var macc "M Accuracy +-years (Y=0;X=.03;0=.06;1=.12;2=.25;3=.5;4=1;5=2:6=4;7=8;8=16;9=32)" | |
| label var mbefore "Marriage Before" | |
| label var mafter "Marriage After" | |
| label var mcomment "Marriage date Comment" | |
| label var sbday "Spouse's birth day" | |
| label var sbmonth "Spouse's birth month (Y=Jan;X=Feb;0=Mar;1=Apr;...;9=Dec)" | |
| label var sbyear "Spouse's birth year" | |
| label var sbacc "SB Accuracy +-years (Y=0;X=.03;0=.06;1=.12;2=.25;3=.5;4=1;5=2:6=4;7=8;8=16;9=32)" | |
| label var sbbefore "Spouse's birth Before" | |
| label var sbafter "Spouse's birth After" | |
| label var sbcomment "Spouse's birth Comment" | |
| label var sdday "Spouse's death day" | |
| label var sdmonth "Spouse's death month (Y=Jan;X=Feb;0=Mar;1=Apr;...;9=Dec)" | |
| label var sdyear "Spouse's death year" | |
| label var sdacc "SD Accuracy +-years (Y=0;X=.03;0=.06;1=.12;2=.25;3=.5;4=1;5=2:6=4;7=8;8=16;9=32)" | |
| label var sdbefore "Spouse's death Before" | |
| label var sdafter "Spouse's death After" | |
| label var sdcomment "Spouse's death Comment" | |
| label var dsday "Day of divorce/separation this marriage" | |
| label var dsmonth "Month of divorce/separation this marriage (Y=Jan;X=Feb;0=Mar;1=Apr;...;9=Dec)" | |
| label var dsyear "Year of divorce/separation this marriage" | |
| label var dsacc "DS Accuracy +-years (Y=0;X=.03;0=.06;1=.12;2=.25;3=.5;4=1;5=2:6=4;7=8;8=16;9=32)" | |
| label var dsbefore "Divorce/separation Before" | |
| label var dsafter "Divorce/separation After" | |
| label var dscomment "Divorce/separation Comment" | |
| label var setno "This marriage: specification for children: set no" | |
| label var avebacc "Average accuracy of birth dates" | |
| label var wom "Woman (1=yes;0=no)" | |
| label var bdate "Birth date " | |
| label var ddate "Death date" | |
| label var mdate "Marriage date" | |
| label var sbdate "Spouse's birth date" | |
| label var sddate "Spouse's death date" | |
| label var smage "Spouse's age at marriage" | |
| label var dage "Age at death" | |
| label var sdage "Spouse's age at death" | |
| label var rankspo "Highest title the spouse succeeded to/was heir to at 15/was created for" | |
| label var prankspo "Highest title the spouse's parent succeeded to/was heir to at 15/was created for" | |
| label var rank "Highest title succeeded to/was heir to at 15/was created for" | |
| label var hrank "Highest title heir to at 15" | |
| label var prank "Highest title the parent succeeded to/was heir to at 15/was created for" | |
| label var hrankspo "Highest title the spouse was heir to at 15" | |
| label var crank "Rank (heir to at 15 for men; highest parental rank for women)" | |
| label var crankspo "Spouse's rank (heir to at 15 for men; highest parental rank for women)" | |
| label var grank "Wife's parental rank" | |
| replace grank = . if grank!=4 & grank!=5 | |
| label var ownrank "Title (separating Duke, Earl, Marqui, Baron, Viscount daughters)" | |
| label var peerage "Nation of peerage (highest title succeeded to/heir to at 15/created for)" | |
| label var peeragespo "Spouse Nation of peerage (highest title succeeded to/heir to at 15/created for)" | |
| label var ppeerage "Parent Nation of peerage (highest title succeeded to/heir to at 15/created for)" | |
| label var ppeeragespo "Spo parent Nation of peerage (highest title succ to/heir to at 15/created for)" | |
| label var hpeerage "Nation of peerage (highest title self or parent succeeded/heir at 15/created)" | |
| label var hpeeragespo "Spouse Nation of peerage (highest title self or parent succ/heir at 15/created)" | |
| label values hpeeragespo regg | |
| label var hforeign "Foreign" | |
| label var hbritcom "British commoner" | |
| label var age1861 "Age at the start of the 1861 Season" | |
| label var countryseat "Name of family seat (1/n)" | |
| label var county "County where family seat is located (1/n)" | |
| label var countryseat2 "Name of family seat (2/n)" | |
| label var county2 "County where family seat is located (2/n)" | |
| label var countryseat3 "Name of family seat (3/n)" | |
| label var county3 "County where family seat is located (3/n)" | |
| label var countryseat4 "Name of family seat (4/4)" | |
| label var county4 "County where family seat is located (4/4)" | |
| label var wgslat2 "Latitude of family seat (2/n), WGS84" | |
| label var wgslon2 "Longitude of family seat (2/n), WGS84" | |
| label var wgslat3 "Latitude of family seat (3/n), WGS84" | |
| label var wgslon3 "Longitude of family seat (3/n), WGS84" | |
| label var wgslat4 "Latitude of family seat (4/4), WGS84" | |
| label var wgslon4 "Longitude of family seat (4/4), WGS84" | |
| label var countryseatspo "Name of family seat (1/n) (for spouses' families)" | |
| label var countyspo "County where family seat is located (1/n) (for spouses' families)" | |
| label var countryseat2spo "Name of family seat (2/n) (for spouses' families)" | |
| label var county2spo "County where family seat is located (2/n) (for spouses' families)" | |
| label var countryseat3spo "Name of family seat (3/n) (for spouses' families)" | |
| label var county3spo "County where family seat is located (3/n) (for spouses' families)" | |
| label var countryseat4spo "Name of family seat (4/n) (for spouses' families)" | |
| label var county4spo "County where family seat is located (4/n) (for spouses' families)" | |
| label var countryseat5spo "Name of family seat (5/5) (for spouses' families)" | |
| label var county5spo "County where family seat is located (5/5) (for spouses' families)" | |
| label var wgslatspo "Latitude of family seat (1/n), WGS84 (for spouses' families)" | |
| label var wgslonspo "Longitude of family seat (1/n), WGS84 (for spouses' families)" | |
| label var wgslat2spo "Latitude of family seat (2/n), WGS84 (for spouses' families)" | |
| label var wgslon2spo "Longitude of family seat (2/n), WGS84 (for spouses' families)" | |
| label var wgslat3spo "Latitude of family seat (3/n), WGS84 (for spouses' families)" | |
| label var wgslon3spo "Longitude of family seat (3/n), WGS84 (for spouses' families)" | |
| label var wgslat4spo "Latitude of family seat (4/n), WGS84 (for spouses' families)" | |
| label var wgslon4spo "Longitude of family seat (4/n), WGS84 (for spouses' families)" | |
| label var wgslat5spo "Latitude of family seat (5/5), WGS84 (for spouses' families)" | |
| label var wgslon5spo "Latitude of family seat (5/5), WGS84 (for spouses' families)" | |
| label var dist "Shortest distance between spouses' seats" | |
| label var rnk_bate "Rank listed in Bateman (1883)" | |
| label var seatname "Address/name of seat in Bateman" | |
| label var town "Town of address/seat in Bateman" | |
| label var school "School attended by landowner as of 1870s" | |
| label var college "College attended by landowner as of 1870s" | |
| label var militaryacademy "Military academy attended by landowner as of 1870s" | |
| label var club "Club (1/n) to which landowner belonged" | |
| label var club2 "Club (2/n) to which landowner belonged" | |
| label var club3 "Club (3/n) to which landowner belonged" | |
| label var club4 "Club (4/n) to which landowner belonged" | |
| label var club5 "Club (5/n) to which landowner belonged" | |
| label var club6 "Club (6/n) to which landowner belonged" | |
| label var club7 "Club (7/7) to which landowner belonged" | |
| label var succyear "Year of succession in Bateman" | |
| label var accuracy "Accuracy Bateman entry (1 = least; 3 = most; see Bateman prologue)" | |
| label var oldfamily "Head of family/family's junior branch who held land in England since Henry VII" | |
| label var woods "Woods included in Bateman" | |
| label var acrestotal "Acreage (total)" | |
| label var valuetotal "Gross annual value, pounds (total)" | |
| forvalues i=1/13{ | |
| label var estate`i' "County `i'/n where landowners has estates" | |
| label var acres`i' "Acres in county `i'/n" | |
| label var value`i' "Gross annual value (pounds) in county `i'/n" | |
| } | |
| label var estate14 "County 14/14 where landowners has estates" | |
| label var acres14 "Acres in county 14/14" | |
| label var value14 "Gross annual value (pounds) in county 14/14" | |
| label var queenservices "Services to the Queen, as of 1870s (1/n)" | |
| label var queenservices2 "Services to the Queen, as of 1870s (2/n)" | |
| label var queenservices3 "Services to the Queen, as of 1870s (3/n)" | |
| label var queensevices4 "Services to the Queen, as of 1870s (4/n)" | |
| label var queensevices5 "Services to the Queen, as of 1870s (5/n)" | |
| label var queensevices6 "Services to the Queen, as of 1870s (6/n)" | |
| label var queensevices7 "Services to the Queen, as of 1870s (7/n)" | |
| label var queensevices8 "Services to the Queen, as of 1870s (8/8)" | |
| label var parliament "Services to Parliament, as of 1870s (1/n)" | |
| label var parliament2 "Services to Parliament, as of 1870s (2/n)" | |
| label var parliament3 "Services to Parliament, as of 1870s (3/n)" | |
| label var parliament4 "Services to Parliament, as of 1870s (4/4)" | |
| label var wealthsources "Other wealth sources listed in Bateman (1/n)" | |
| label var wealthsources2 "Other wealth sources listed in Bateman (1/2)" | |
| label var sfatherfirstname "Spouse's father first name" | |
| label var ssurname "Spouse's surname" | |
| label var sseatname "Address/name of seat in Bateman (spouse's family)" | |
| label var stown "Town of address/seat in Bateman (spouse's family)" | |
| label var scounty "County of address/seat in Bateman (spouse's family)" | |
| label var sschool "School attended by landowner as of 1870s (spouse's family)" | |
| label var scollege "College attended by landowner as of 1870s (spouse's family)" | |
| label var smilitaryacademy "Military academy attended by landowner as of 1870s (spouse's family)" | |
| label var sclub "Club (1/n) to which landowner belonged (spouse's family)" | |
| forvalues i=2/6{ | |
| label var sclub`i' "Club (`i'/n) to which landowner belonged (spouse's family)" | |
| } | |
| label var sclub7 "Club (7/7) to which landowner belonged (spouse's family)" | |
| label var ssuccyear "Year of succession in Bateman (spouse's family)" | |
| label var saccuracy "Accuracy Bateman entry for spouse family (1=least; 3=most; see Bateman prologue)" | |
| label var soldfamily "Spouse in family/family's junior branch held land in England since Henry VII" | |
| label var swoods "Woods included in Bateman (spouse's family)" | |
| label var sacrestotal "Acreage (total) (spouse's family)" | |
| label var svaluetotal "Gross annual value, pounds (total) (spouse's family)" | |
| forvalues i=1/13{ | |
| label var sestate`i' "County `i'/n where landowners has estates (spouse's family)" | |
| label var sacres`i' "Acres in county `i'/n (spouse's family)" | |
| label var svalue`i' "Gross annual value (pounds) in county `i'/n (spouse's family)" | |
| } | |
| label var sestate14 "County 14/14 where landowners has estates (spouse's family)" | |
| label var sacres14 "Acres in county 14/14 (spouse's family)" | |
| label var svalue14 "Gross annual value (pounds) in county 14/14 (spouse's family)" | |
| label var squeenservices "Services to the Queen, as of 1870s (1/n) (spouse's family)" | |
| label var squeenservices2 "Services to the Queen, as of 1870s (2/n) (spouse's family)" | |
| label var squeenservices3 "Services to the Queen, as of 1870s (3/n) (spouse's family)" | |
| label var squeensevices4 "Services to the Queen, as of 1870s (4/n) (spouse's family)" | |
| label var squeensevices5 "Services to the Queen, as of 1870s (5/n) (spouse's family)" | |
| label var squeensevices6 "Services to the Queen, as of 1870s (6/n) (spouse's family)" | |
| label var squeensevices7 "Services to the Queen, as of 1870s (7/n) (spouse's family)" | |
| label var squeensevices8 "Services to the Queen, as of 1870s (8/8) (spouse's family)" | |
| label var sparliament "Services to Parliament, as of 1870s (1/n) (spouse's family)" | |
| label var sparliament2 "Services to Parliament, as of 1870s (2/n) (spouse's family)" | |
| label var sparliament3 "Services to Parliament, as of 1870s (3/n) (spouse's family)" | |
| label var sparliament4 "Services to Parliament, as of 1870s (4/4) (spouse's family)" | |
| label var swealthsources "Other wealth sources listed in Bateman (1/n) (spouse's family)" | |
| label var swealthsources2 "Other wealth sources listed in Bateman (1/2) (spouse's family)" | |
| label var excused_bc "Yearly invitees who excused themselves at Season (balls and concerts)" | |
| label var attendLC "Yearly attendees at Season (royal parties)" | |
| label var court "Yearly number of girls presented at court in the Season" | |
| label var courtp "Yearly number of peers' daughters presented at court in the Season" | |
| label var courtpc "Yearly % of court presentations in the Season by peers' daughters" | |
| label var attend100 "Yearly attendees at Season (royal parties), in hundreds" | |
| label var invited100 "Yearly invitees at Season (royal parties), in hundreds" | |
| label var excused100 "Yearly invitees who excused themselves at Season (royal parties), in hundreds" | |
| label var invited_bc100 "Yearly invitees at Season (balls and concerts), in hundreds" | |
| label var base_sample "Baseline sample (1=yes;0=no)" | |
| label var marital_rates_sample "Sample to examine marital rates (1=yes;0=no)" | |
| label var cs "Recorded family seat indicator (1=yes;0=no)" | |
| label var fhead_1872 "Family member who was family head in 1872 (brother 1;brother 2... father;other)" | |
| label var fhead_1878 "Family member who was family head in 1878 (brother 1;brother 2... father;other)" | |
| label var fhead_1872_2 "Family member who was family head in 1872 (brother; father; other)" | |
| label var nfhead_1872 "Encoded family member who was family head in 1872 (brother; father; other)" | |
| label var relation_f "Woman's family relation to f variables" | |
| label var fh "Father is family head in 1872 (=0 no, =1 yes)" | |
| forvalues i=1/10{ | |
| label var relation_b`i' "Woman's family relation to b`i' variables" | |
| label var b`i'h "Brother `i' is family head in 1872 (=0 no; =1 yes)" | |
| label var heir_b`i' "Brother `i' is heir (=0 no; =1 yes)" | |
| } | |
| label var relation_b11 "Woman's relation to B11 (ie, to 'other' relative who is family head in 1872)" | |
| label var b11h "B11 is family head in 1872 (=0 no; =1 yes)" | |
| label var heir_b11 "B11 is heir (=0 no; =1 yes)" | |
| label var note "Notes on thepeerage.com biographies" | |
| forvalues i=1/10{ | |
| label var byear_b0`i' "Notes on Brother `i''s birth & death info in thepeerage.com" | |
| label var byear_b`i' "Brother `i''s birth year" | |
| } | |
| local j = -1 | |
| foreach x in f h b1 b2 b3 b4 b5 b6 b7 b8 b9 b10{ | |
| if `j'==-1{ | |
| local xlab = "Father" | |
| } | |
| if `j'==0{ | |
| local xlab = "Family head in 1872" | |
| } | |
| if `j'>0{ | |
| local xlab = "Brother `j'" | |
| } | |
| label var `x'bio1 "`xlab''s short biography in thepeerage.com" | |
| label var `x'bio2 "`xlab''s long biography in thepeerage.com" | |
| label var myear_`x'_0 "`xlab''s marriage info in thepeerage.com biography" | |
| label var myear_`x'_alt "`xlab''s marriage date (day month year)" | |
| label var myear_`x' "`xlab''s marriage year" | |
| label var d_MP`x' "`xlab' was ever MP (=0 no; 1=yes)" | |
| label var MP1`x'count "N occurrances of 'M.P.' string in long biography for `xlab'" | |
| qui summ MP1`x'count | |
| if `r(max)'>0{ | |
| forvalues k=1/`r(max)'{ | |
| local kord : word `k' of 1st 2nd 3rd 4th 5th 6th 7th 8th 9th 10th | |
| label var MP1`x'pos`k' "Position in biography of `kord' occurrance of 'M.P.' for `xlab'" | |
| label var MPall`x'_`k' "`xlab''s MP info in thepeerage.com biography (`kord' M.P. occurrance)" | |
| label var party`x'_`k' "`xlab''s political party (`kord' M.P. occurrance)" | |
| label var cnsty`x'_`k' "`xlab''s electoral constituency (`kord' M.P. occurrance)" | |
| label var term1`x'_`k' "`xlab''s term start year (`kord' M.P. occurrance)" | |
| label var term2`x'_`k' "`xlab''s term end year (`kord' M.P. occurrance)" | |
| label var cnstycounty`x'_`k' "`xlab''s county of electoral constituency (`kord' M.P. occurrance)" | |
| label var cnstywgs`x'_`k' "`xlab''s lat & lon of electoral constituency (`kord' M.P. occurrance)" | |
| } | |
| } | |
| label var MP`x' "N occurrances of 'M.P.' string for `xlab' (incl. zeros)" | |
| label var lib`x' "`xlab' was ever Liberal/Whig/Liberal Union MP (=0 no; 1=yes)" | |
| label var tory`x' "`xlab' was ever Conservative/Unionist MP (=0 no; 1=yes)" | |
| label var MP`x'_years "Total years MP (`xlab')" | |
| label var MP`x'_years_aft "Years MP after a woman's marriage (`xlab')" | |
| label var d_MP`x'_bef "`xlab' is MP before woman's marriage" | |
| label var d_MP`x'_aft "`xlab' is MP after woman's marriage" | |
| label var MP`x'_years_loc "Total years local MP (`xlab'), by family seat" | |
| label var MP`x'_years_locaft "Years local MP after woman's marriage (`xlab'), by family seat" | |
| local j = `j'+1 | |
| } | |
| label var b11bio1 "B11's short biography in thepeerage.com" | |
| label var b11bio2 "B11's long biography in thepeerage.com" | |
| label var b11h "B11 is family head in 1872 (=0 no; =1 yes)" | |
| label var MPb "N occurrances of 'M.P.' string in long biography for all brothers" | |
| label var MPb_aft "N occurrances of 'M.P.' string after woman's marriage for all brothers" | |
| label var MPb_bef "N occurrances of 'M.P.' string before woman's marriage for all brothers" | |
| label var d_MPb "Any brother was ever MP (=0 no; 1=yes)" | |
| label var MPh_years "Total years MP (family heads)" | |
| label var MPh_years_aft "Years MP after a woman's marriage (family heads)" | |
| label var d_MPh_bef "Family head is MP before woman's marriage" | |
| label var d_MPh_aft "Family head is MP after woman's marriage" | |
| label var d_MPb_bef "Any brother is MP before woman's marriage" | |
| label var MPb_years "Total years MP (all brothers)" | |
| label var MPb_years_aft "Years MP after a woman's marriage (all brothers)" | |
| label var nsib "Number of brothers" | |
| label var d_MPf_local "Local MP indicator before woman's marriage, by family seat" | |
| label var d_MPf_local2 "Local MP indicator before woman's marriage, by woman" | |
| label var MPb_years_loc "Total years local MP (all brothers)" | |
| label var MPb_years_locaft "Years local MP after a woman's marriage (all brothers)" | |
| label var MPb_local "N occurrances of 'M.P.' string in same county as family seat (all brothers)" | |
| label var d_MPb_local "Any brother was ever local MP (=0 no; 1=yes)" | |
| label var MPb_locaft "N occurrances of 'M.P.' string in same county as family seat (all brothers)" | |
| label var d_MPb_locaft "Any brother is local MP after woman's marriage, by family seat" | |
| label var d_MPb_locaft2 "Any brother is local MP after woman's marriage, by woman" | |
| label var MPf_years_bef "Years MP before a woman's marriage" | |
| label var MPf_years_locbef "Years local MP before a woman's marriage (father)" | |
| label var MPh_years_bef "Years MP before a woman's marriage (family heads)" | |
| drop MPh_aft MPh_bef MPf_aft MPf_bef MPb1_aft MPb1_bef MPb2_bef MPb2_aft MPb3_aft MPb3_bef MPb4_aft MPb4_bef MPb5_aft MPb5_bef MPb6_aft MPb6_bef MPb7_aft MPb7_bef MPb8_aft MPb8_bef MPb9_aft MPb9_bef MPb10_aft MPb10_bef /// | |
| MPb_aft MPb_bef d_MPb_years d_MPb_years_aft /// | |
| d_MPh_local MPh_local d_MPh_locaft MPh_locaft MPf_local MPf_locaft d_MPf_locaft | |
| save "${dirdata}\final-data-sec4.dta", replace | |
| * ============================================================================== | |
| * 8.3 LABELS FOR placebo-data | |
| * ------------------------------------------------------------------------------ | |
| use "${dirdata}\placebo-data.dta", clear | |
| label var refno "Reference number in Hollingsworth" | |
| label var title "Title" | |
| label var byear "Birth/baptism Year" | |
| label var nthismarriage "Number this Marriage" | |
| label var myear "Marriage year" | |
| label var bdate "Birth date " | |
| label var mage "Age at marriage" | |
| label var biorder "Birth order (excluding heirs)" | |
| label var prank "Highest title the parent succeeded to/was heir to at 15/was created for" | |
| label var crankspo "Spouse's rank (heir to at 15 for men; highest parental rank for women)" | |
| label var pr4 "Duke/Earl/Marquis' daughter (1=yes; 0=no)" | |
| label var hengpee "Peerage of England (1=yes; 0=no)" | |
| label var cOut "Married a commoner (1=yes; 0=no)" | |
| label var mheir "Married an heir (1=yes; 0=no)" | |
| label var distlondon "Shortest distance between seat and London" | |
| label var synthetic_plac "Synthetic probability to marry during placebo interruptions" | |
| label var sample01 "Sample (Placebo Interruption start year)" | |
| label var sample0 "Sample (Baseline or Placebo)" | |
| label var age1861_plac "Age at the start of the Placebo Interruption of the Season" | |
| label var mourn_plac "Married during the Placebo Interruption of the Season" | |
| forvalues j = 10(1)50{ | |
| local y1 = 1861-`j' | |
| local y2 = 1863-`j' | |
| label var age`y1' "Age at the start of the `y1'-`y2' Placebo Interruption of the Season" | |
| } | |
| label var age1861 "Age at the start of the 1861 Season" | |
| label var syntheticT "Treatment" | |
| label var base_sample "Baseline sample (1=yes;0=no)" | |
| label var byearclst "Indicator for clusters by byear across samples (for suest pooled estimation)" | |
| save "${dirdata}\placebo-data.dta", replace | |
| * ============================================================================== | |
| * LABELS FOR TEMPORARY DTA FILES | |
| * ------------------------------------------------------------------------------ | |
| * LABELS FOR eduXseatsaverages.dta TEMP FILE | |
| use "${dirdta}\eduXseatsaverages.dta", clear | |
| label var fid_b10sea "FID identifier for family seats of women in baseline sample (ArcGIS)" | |
| label var countyN "County where family seat is located" | |
| label var refno "Reference number in Hollingsworth" | |
| label var wgslat_ "Latitude of family seat, WGS84" | |
| label var wgslon_ "Longitude of family seat, WGS84" | |
| label var numsb "Number of School Boards within 10mi of seat" | |
| label var rateperpound "Average tax rate (%) in 1872-78 set by School Board within 10mi from family seat" | |
| label var distlondon2 "Shortest distance between seat and London" | |
| label var income "Income pc in county in 1881 census (Hechter 1976)" | |
| label var propman100 "% working in manufacturing in county in 1881 census (Hechter 1976)" | |
| label var logincome "Log Income pc in county in 1881 census (Hechter 1976)" | |
| label var propcon "Proportion voting conservative in county in 1885 General Election (Hechter 1976)" | |
| label var propnonc "Proportion non-conformists in county in 1881 census (Hechter 1976)" | |
| label var relig "Religiosity in county (Hechter 1976)" | |
| save "${dirdta}\eduXseatsaverages.dta", replace | |
| * LABELS FOR Peers_biographies.dta TEMP FILE | |
| use "${dirdta}\Peers_biographies.dta", clear | |
| label var refno "Reference number in Hollingsworth" | |
| label var firstnames "First Names" | |
| label var surname "Surname" | |
| label var title "Title" | |
| label var byear "Birth/baptism Year" | |
| label var dyear "Death/burial Year" | |
| label var myear "Marriage year" | |
| label var wom "Woman (1=yes;0=no)" | |
| label var mourn "Married in 1861-63" | |
| label var cOut "Married a commoner" | |
| label var cs "Recorded family seat indicator (1=yes;0=no)" | |
| label var fhead_1872 "Family member who was family head in 1872 (brother 1;brother 2... father;other)" | |
| label var fhead_1878 "Family member who was family head in 1878 (brother 1;brother 2... father;other)" | |
| label var relation_f "Woman's family relation to f variables" | |
| label var fh "Father is family head in 1872 (=0 no, =1 yes)" | |
| forvalues i=1/10{ | |
| label var relation_b`i' "Woman's family relation to b`i' variables" | |
| label var heir_b`i' "Brother `i' is heir (=0 no; =1 yes)" | |
| label var b`i'h "Brother `i' is family head in 1872 (=0 no; =1 yes)" | |
| } | |
| label var relation_b11 "Woman's relation to B11 (ie, to 'other' relative who is family head in 1872)" | |
| label var heir_b11 "B11 is heir (=0 no; =1 yes)" | |
| label var b11bio1 "B11's short biography in thepeerage.com" | |
| label var b11bio2 "B11's long biography in thepeerage.com" | |
| label var b11h "B11 is family head in 1872 (=0 no; =1 yes)" | |
| label var note "Notes on thepeerage.com biographies" | |
| local j = -1 | |
| foreach x in f h b1 b2 b3 b4 b5 b6 b7 b8 b9 b10{ | |
| if `j'==-1{ | |
| local xlab = "Father" | |
| } | |
| if `j'==0{ | |
| local xlab = "Family head in 1872" | |
| } | |
| if `j'>0{ | |
| local xlab = "Brother `j'" | |
| } | |
| label var `x'bio1 "`xlab''s short biography in thepeerage.com" | |
| label var `x'bio2 "`xlab''s long biography in thepeerage.com" | |
| label var myear_`x'_0 "`xlab''s marriage info in thepeerage.com biography" | |
| label var myear_`x'_alt "`xlab''s marriage date (day month year)" | |
| label var myear_`x' "`xlab''s marriage year" | |
| label var d_MP`x' "`xlab' was ever MP (=0 no; 1=yes)" | |
| label var MP1`x'count "N occurrances of 'M.P.' string in long biography for `xlab'" | |
| label var MP`x' "N occurrances of 'M.P.' string for `xlab' (incl. zeros)" | |
| label var lib`x' "`xlab' was ever Liberal/Whig/Liberal Union MP (=0 no; 1=yes)" | |
| label var tory`x' "`xlab' was ever Conservative/Unionist MP (=0 no; 1=yes)" | |
| label var MP`x'_years "Total years MP (`xlab')" | |
| label var MP`x'_years_aft "Years MP after a woman's marriage (`xlab')" | |
| label var d_MP`x'_bef "`xlab' is MP before woman's marriage" | |
| label var d_MP`x'_aft "`xlab' is MP after woman's marriage" | |
| qui summ MP1`x'count | |
| if `r(max)'>0{ | |
| forvalues k=1/`r(max)'{ | |
| local kord : word `k' of 1st 2nd 3rd 4th 5th 6th 7th 8th 9th 10th | |
| label var MP1`x'pos`k' "Position in biography of `kord' occurrance of 'M.P.' for `xlab'" | |
| label var MPall`x'_`k' "`xlab''s MP info in thepeerage.com biography (`kord' M.P. occurrance)" | |
| label var party`x'_`k' "`xlab''s political party (`kord' M.P. occurrance)" | |
| label var cnsty`x'_`k' "`xlab''s electoral constituency (`kord' M.P. occurrance)" | |
| label var term1`x'_`k' "`xlab''s term start year (`kord' M.P. occurrance)" | |
| label var term2`x'_`k' "`xlab''s term end year (`kord' M.P. occurrance)" | |
| label var cnstycounty`x'_`k' "`xlab''s county of electoral constituency (`kord' M.P. occurrance)" | |
| label var cnstywgs`x'_`k' "`xlab''s lat & lon of electoral constituency (`kord' M.P. occurrance)" | |
| } | |
| } | |
| local j = `j'+1 | |
| } | |
| forvalues i=1/10{ | |
| label var byear_b0`i' "Notes on Brother `i''s birth & death info in thepeerage.com" | |
| label var byear_b`i' "Brother `i''s birth year" | |
| } | |
| label var MPb "N occurrances of 'M.P.' string in long biography for all brothers" | |
| label var d_MPb "Any brother was ever MP (=0 no; 1=yes)" | |
| label var d_MPb_aft "Any brother is MP after woman's marriage" | |
| label var d_MPb_bef "Any brother is MP before woman's marriage" | |
| label var MPb_years "Total years MP (all brothers)" | |
| label var MPb_years_aft "Years MP after a woman's marriage (all brothers)" | |
| label var fhead_1872_2 "Family member who was family head in 1872 (brother; father; other)" | |
| label var nfhead_1872 "Encoded family member who was family head in 1872 (brother; father; other)" | |
| label var nsib "Number of brothers" | |
| drop fbio2_6 hbio2_5 b1bio2_6 b2bio2_5 b3bio2_9 b4bio2_4 b5bio2_2 b6bio2_2 b7bio2_2 b8bio2_2 b9bio2_1 b10bio2_1 MPh_aft MPh_bef MPf_aft MPf_bef MPb1_aft MPb1_bef MPb2_bef MPb2_aft MPb3_aft MPb3_bef MPb4_aft MPb4_bef MPb5_aft MPb5_bef MPb6_aft MPb6_bef MPb7_aft MPb7_bef MPb8_aft MPb8_bef MPb9_aft MPb9_bef MPb10_aft MPb10_bef MPb_aft MPb_bef d_MPb_years d_MPb_years_aft | |
| save "${dirdta}\Peers_biographies.dta", replace | |