<codeBook xmlns="ddi:codebook:2_5" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="ddi:codebook:2_5 https://ddialliance.org/Specification/DDI-Codebook/2.5/XMLSchema/codebook.xsd" version="2.5"><docDscr><citation><titlStmt><titl>Replication Data for: As We Like It: Did the UK’s 2016 EU Referendum Reveal the “Will of the People?”</titl><IDNo agency="DOI">doi:10.7910/DVN/Y06T2Y</IDNo></titlStmt><distStmt><distrbtr source="archive">Harvard Dataverse</distrbtr><distDate>2023-06-05</distDate></distStmt><verStmt source="archive"><version date="2023-06-06" type="RELEASED">1</version></verStmt><biblCit>Ahlstrom-Vij, Kristoffer, 2023, "Replication Data for: As We Like It: Did the UK’s 2016 EU Referendum Reveal the “Will of the People?”", https://doi.org/10.7910/DVN/Y06T2Y, Harvard Dataverse, V1, UNF:6:bWI/fW9yge250ReFka312w== [fileUNF]</biblCit></citation></docDscr><stdyDscr><citation><titlStmt><titl>Replication Data for: As We Like It: Did the UK’s 2016 EU Referendum Reveal the “Will of the People?”</titl><IDNo agency="DOI">doi:10.7910/DVN/Y06T2Y</IDNo></titlStmt><rspStmt><AuthEnty affiliation="Birkbeck, University of London">Ahlstrom-Vij, Kristoffer</AuthEnty></rspStmt><prodStmt/><distStmt><distrbtr source="archive">Harvard Dataverse</distrbtr><contact affiliation="Birkbeck, University of London" email="ahlstromvij@gmail.com">Ahlstrom-Vij, Kristoffer</contact><contact affiliation="Nuffield College, University of Oxford" email="william.allen@politics.ox.ac.uk">Allen, William</contact><depositr>Ahlstrom-Vij, Kristoffer</depositr><depDate>2023-04-28</depDate></distStmt><holdings URI="https://doi.org/10.7910/DVN/Y06T2Y"/></citation><stdyInfo><subject><keyword xml:lang="en">Social Sciences</keyword></subject><abstract>Since the UK’s 2016 referendum on EU membership, politicians on both sides of the debate have invoked the “will of the people” either to claim the matter is settled or to justify further confirmatory action. Building on prior information effects research in political science, we argue that the extent to which voters are informed about politically relevant issues is a key factor in evaluating whether any particular result accurately reflects an electorate’s collective “will.” By applying counterfactual modeling to British Election Study data collected after the referendum (N=2,067), we estimate that support for leaving the EU would have dropped by up to 10 percentage points, had voters been more fully informed. More generally, we suggest that such modeling exercises—accompanied by transparent theoretical assumptions to enable stress-testing under different conditions—provide diagnostic tools for assessing the sensitivity of electoral outcomes to varying levels of information, and therefore offer relevant insight as to whether they truly capture the “will of the people.”</abstract><sumDscr/><notes>In addition to the data files available here, in order to replicate the analysis, one needs to register for British Election Study data access, download the original SAV file from www.britishelectionstudy.com/data-object/2017-face-to-face/, and add this one to the /data folder, along with the other data files.</notes></stdyInfo><method><dataColl><sources/></dataColl><anlyInfo/></method><dataAccs><setAvail/><useStmt/><notes type="DVN:TOU" level="dv">&lt;a href="http://creativecommons.org/publicdomain/zero/1.0">CC0 1.0&lt;/a></notes></dataAccs><othrStdyMat/></stdyDscr><fileDscr ID="f7081987" URI="https://dataverse.harvard.edu/api/access/datafile/7081987"><fileTxt><fileName>bes_preprocessed.tab</fileName><dimensns><caseQnty>2067</caseQnty><varQnty>17</varQnty></dimensns><fileType>text/tab-separated-values</fileType></fileTxt><notes level="file" type="VDC:UNF" subject="Universal Numeric Fingerprint">UNF:6:bWI/fW9yge250ReFka312w==</notes><notes level="file" type="DATAVERSE:FILEDESC" subject="DataFile Description">Output of 01_preprocessing.R. Script outputs CSV.</notes></fileDscr><dataDscr><var ID="v31132595" name="gender" intrvl="discrete"><location fileid="f7081987"/><labl level="variable">gender</labl><varFormat type="character"/><notes subject="Universal Numeric Fingerprint" level="variable" type="Dataverse:UNF">UNF:6:3AQxxI72Ro1VVaq/t5M3MQ==</notes></var><var ID="v31132594" name="age" intrvl="discrete"><location fileid="f7081987"/><labl level="variable">age</labl><varFormat type="character"/><notes subject="Universal Numeric Fingerprint" level="variable" type="Dataverse:UNF">UNF:6:s8hnIAF469hVP/xqvY7ZJw==</notes></var><var ID="v31132584" name="ethnic_group" intrvl="discrete"><location fileid="f7081987"/><labl level="variable">ethnic_group</labl><varFormat type="character"/><notes subject="Universal Numeric Fingerprint" level="variable" type="Dataverse:UNF">UNF:6:opOVkmeikXBrk1TaAFk9og==</notes></var><var ID="v31132593" name="social_class" intrvl="discrete"><location fileid="f7081987"/><labl level="variable">social_class</labl><varFormat type="character"/><notes subject="Universal Numeric Fingerprint" level="variable" type="Dataverse:UNF">UNF:6:mzMpAJySuVpU43jAt9CIKw==</notes></var><var ID="v31132583" name="religion" intrvl="discrete"><location fileid="f7081987"/><labl level="variable">religion</labl><varFormat type="character"/><notes subject="Universal Numeric Fingerprint" level="variable" type="Dataverse:UNF">UNF:6:i/fFvW+e+OcbdFnwLZPqvQ==</notes></var><var ID="v31132590" name="marital_status" intrvl="discrete"><location fileid="f7081987"/><labl level="variable">marital_status</labl><varFormat type="character"/><notes subject="Universal Numeric Fingerprint" level="variable" type="Dataverse:UNF">UNF:6:mz0SpgX/RkHVJuNWjXunAQ==</notes></var><var ID="v31132592" name="income" intrvl="discrete"><location fileid="f7081987"/><labl level="variable">income</labl><sumStat type="vald">2067.0</sumStat><sumStat type="max">15.0</sumStat><sumStat type="medn">7.0</sumStat><sumStat type="mode">.</sumStat><sumStat type="mean">7.660861151427191</sumStat><sumStat type="invd">0.0</sumStat><sumStat type="stdev">3.8649305460041403</sumStat><sumStat type="min">1.0</sumStat><varFormat type="numeric"/><notes subject="Universal Numeric Fingerprint" level="variable" type="Dataverse:UNF">UNF:6:pHeO08paFjCcHzZdlNQsdQ==</notes></var><var ID="v31132586" name="education" intrvl="discrete"><location fileid="f7081987"/><labl level="variable">education</labl><varFormat type="character"/><notes subject="Universal Numeric Fingerprint" level="variable" type="Dataverse:UNF">UNF:6:TbugsFNndbrKDVaCItNEXA==</notes></var><var ID="v31132596" name="party_id" intrvl="discrete"><location fileid="f7081987"/><labl level="variable">party_id</labl><varFormat type="character"/><notes subject="Universal Numeric Fingerprint" level="variable" type="Dataverse:UNF">UNF:6:caXuHns/6j4pLL+0ifN+xw==</notes></var><var ID="v31132587" name="eu_vote" intrvl="discrete"><location fileid="f7081987"/><labl level="variable">eu_vote</labl><varFormat type="character"/><notes subject="Universal Numeric Fingerprint" level="variable" type="Dataverse:UNF">UNF:6:yxl3luj6AQWRhSg+YWCZmw==</notes></var><var ID="v31132589" name="x01_1" intrvl="discrete"><location fileid="f7081987"/><labl level="variable">x01_1</labl><sumStat type="vald">2067.0</sumStat><sumStat type="min">0.0</sumStat><sumStat type="stdev">0.3283827711462461</sumStat><sumStat type="max">1.0</sumStat><sumStat type="invd">0.0</sumStat><sumStat type="mode">.</sumStat><sumStat type="mean">0.8771165940977262</sumStat><sumStat type="medn">1.0</sumStat><varFormat type="numeric"/><notes subject="Universal Numeric Fingerprint" level="variable" type="Dataverse:UNF">UNF:6:QSpyonF5wu+u8/7mAR4rwg==</notes></var><var ID="v31132591" name="x01_2" intrvl="discrete"><location fileid="f7081987"/><labl level="variable">x01_2</labl><sumStat type="stdev">0.5000319630324953</sumStat><sumStat type="mean">0.5094339622641508</sumStat><sumStat type="min">0.0</sumStat><sumStat type="vald">2067.0</sumStat><sumStat type="invd">0.0</sumStat><sumStat type="medn">1.0</sumStat><sumStat type="max">1.0</sumStat><sumStat type="mode">.</sumStat><varFormat type="numeric"/><notes subject="Universal Numeric Fingerprint" level="variable" type="Dataverse:UNF">UNF:6:fct85folPsz9ri9NetxadQ==</notes></var><var ID="v31132582" name="x01_3" intrvl="discrete"><location fileid="f7081987"/><labl level="variable">x01_3</labl><sumStat type="mean">0.8824383164005802</sumStat><sumStat type="min">0.0</sumStat><sumStat type="medn">1.0</sumStat><sumStat type="mode">.</sumStat><sumStat type="invd">0.0</sumStat><sumStat type="max">1.0</sumStat><sumStat type="vald">2067.0</sumStat><sumStat type="stdev">0.3221663352567569</sumStat><varFormat type="numeric"/><notes subject="Universal Numeric Fingerprint" level="variable" type="Dataverse:UNF">UNF:6:nhAHa8mI2uypxSRT6pjpsg==</notes></var><var ID="v31132581" name="x01_4" intrvl="discrete"><location fileid="f7081987"/><labl level="variable">x01_4</labl><sumStat type="stdev">0.5001139101917773</sumStat><sumStat type="medn">0.0</sumStat><sumStat type="vald">2067.0</sumStat><sumStat type="mean">0.49733913884857206</sumStat><sumStat type="invd">0.0</sumStat><sumStat type="mode">.</sumStat><sumStat type="min">0.0</sumStat><sumStat type="max">1.0</sumStat><varFormat type="numeric"/><notes subject="Universal Numeric Fingerprint" level="variable" type="Dataverse:UNF">UNF:6:my5TZlo2A9Tf61u/9T7TDg==</notes></var><var ID="v31132588" name="x01_5" intrvl="discrete"><location fileid="f7081987"/><labl level="variable">x01_5</labl><sumStat type="medn">1.0</sumStat><sumStat type="max">1.0</sumStat><sumStat type="invd">0.0</sumStat><sumStat type="mean">0.6361877116594096</sumStat><sumStat type="mode">.</sumStat><sumStat type="vald">2067.0</sumStat><sumStat type="stdev">0.4812119456889169</sumStat><sumStat type="min">0.0</sumStat><varFormat type="numeric"/><notes subject="Universal Numeric Fingerprint" level="variable" type="Dataverse:UNF">UNF:6:5213eLukhwvLIMwxQ5RtfQ==</notes></var><var ID="v31132585" name="x01_6" intrvl="discrete"><location fileid="f7081987"/><labl level="variable">x01_6</labl><sumStat type="vald">2067.0</sumStat><sumStat type="min">0.0</sumStat><sumStat type="max">1.0</sumStat><sumStat type="mean">0.7019835510401545</sumStat><sumStat type="stdev">0.4574974369982773</sumStat><sumStat type="mode">.</sumStat><sumStat type="medn">1.0</sumStat><sumStat type="invd">0.0</sumStat><varFormat type="numeric"/><notes subject="Universal Numeric Fingerprint" level="variable" type="Dataverse:UNF">UNF:6:Np5K0GJ9p+xbqWhfLduQgg==</notes></var><var ID="v31132597" name="wt_vote" intrvl="contin"><location fileid="f7081987"/><labl level="variable">wt_vote</labl><sumStat type="max">5.798219210043137</sumStat><sumStat type="mean">1.0</sumStat><sumStat type="medn">0.8938752279338705</sumStat><sumStat type="mode">.</sumStat><sumStat type="stdev">0.5741613849499531</sumStat><sumStat type="invd">0.0</sumStat><sumStat type="vald">2067.0</sumStat><sumStat type="min">0.2765692330942338</sumStat><varFormat type="numeric"/><notes subject="Universal Numeric Fingerprint" level="variable" type="Dataverse:UNF">UNF:6:jCNOmN/3dKxt9gESHp+swQ==</notes></var></dataDscr><otherMat ID="f7081985" URI="https://dataverse.harvard.edu/api/access/datafile/7081985" level="datafile"><labl>01_preprocessing-1.R</labl><txt>Preprocesses BES data and imputes missing values</txt><notes level="file" type="DATAVERSE:CONTENTTYPE" subject="Content/MIME Type">type/x-r-syntax</notes></otherMat><otherMat ID="f7081992" URI="https://dataverse.harvard.edu/api/access/datafile/7081992" level="datafile"><labl>02_scales.R</labl><txt>Constructs knowledge scales</txt><notes level="file" type="DATAVERSE:CONTENTTYPE" subject="Content/MIME Type">type/x-r-syntax</notes></otherMat><otherMat ID="f7081983" URI="https://dataverse.harvard.edu/api/access/datafile/7081983" level="datafile"><labl>03_prop_scores.R</labl><txt>Calculates propensity scores</txt><notes level="file" type="DATAVERSE:CONTENTTYPE" subject="Content/MIME Type">type/x-r-syntax</notes></otherMat><otherMat ID="f7140601" URI="https://dataverse.harvard.edu/api/access/datafile/7140601" level="datafile"><labl>04_models.R</labl><txt>Fits models and generates plots</txt><notes level="file" type="DATAVERSE:CONTENTTYPE" subject="Content/MIME Type">type/x-r-syntax</notes></otherMat><otherMat ID="f7081988" URI="https://dataverse.harvard.edu/api/access/datafile/7081988" level="datafile"><labl>bes_preprocessed_scales_prop.rds</labl><txt>Output of 03_prop_scores.R</txt><notes level="file" type="DATAVERSE:CONTENTTYPE" subject="Content/MIME Type">application/gzip</notes></otherMat><otherMat ID="f7081984" URI="https://dataverse.harvard.edu/api/access/datafile/7081984" level="datafile"><labl>bes_preprocessed_scales.rds</labl><txt>Output of 02_scales.R</txt><notes level="file" type="DATAVERSE:CONTENTTYPE" subject="Content/MIME Type">application/gzip</notes></otherMat></codeBook>