Candidate-voter distance and vote choice in England, 2010 (Arzheimer and Evans 2012)
Source:R/data.R
bes2010.RdRespondents of the 2010 British Election Study face-to-face survey in English constituencies, with the driving distance from their home to each party's candidate, whether the candidate was the sitting MP, the difference in local deprivation between the respondent's and the candidate's ward, and their feelings about the parties before and after the election (Arzheimer and Evans 2012). One row per respondent and party (Labour, Conservative, Liberal Democrat; a party whose candidate's distance is unknown is left out, so the choice sets vary).
Usage
data(bes2010)Format
A data frame with 1,788 rows (674 respondents) and 9 variables:
- id
Respondent identifier.
- party
Factor:
labour,conservative,libdem.- chosen
1 for the party voted for.
- feeling
Feeling about the party before the election, 0 to 10.
- incumbent
1 if the party's candidate was the sitting MP.
- distance
Driving distance between the respondent's home and the candidate's.
- deprivation
Absolute difference in the Index of Multiple Deprivation 2010 between the respondent's and the candidate's ward.
- rating
Feeling about the party after the election, 0 to 10 (
NAif not asked or not answered).- constituency
Constituency name.
Source
Arzheimer, K. and Evans, J. (2012). Geolocation and voting: Candidate-voter distance effects on party choice in the 2010 UK general election in England. Political Geography, 31, 301-310. doi:10.1016/j.polgeo.2012.03.004 . Data: Whiteley, P.F. and Sanders, D. British Election Study, 2010: Face-to-Face Survey. UK Data Service, SN 7529. doi:10.5255/UKDA-SN-7529-1
Provenance and terms
From the replication archive of Arzheimer and Evans (2012) at the Harvard
Dataverse (hdl:1902.1/17940, version 1.0, released under CC0 1.0):
the file replication.dta (md5 d82e986aef3f1389c6ee3babb0a15566). The rows
are those of the archive's fourth conditional logit (replication.do, line
52), dropped as Stata's clogit drops them; the respondents' ward
identifiers and the candidates' postcodes are not carried over. The
survey is the British Election Study, 2010: Face-to-Face Survey (Whiteley
and Sanders; UK Data Service SN 7529, doi:10.5255/UKDA-SN-7529-1
), which
the UK Data Service distributes under the Creative Commons Attribution 4.0
licence; use of these data should cite it. The rebuilding script is
data-raw/make_examples.R of the development repository.
Examples
data(bes2010)
table(table(bes2010$id)) # parties in each respondent's choice set
#>
#> 2 3
#> 234 440
m <- mnl(chosen ~ feeling + incumbent + distance + deprivation | 1, data = bes2010, id = "id",
alt = "party", ref = "labour", cluster = "constituency", se = "cluster")
summary(m)
#> Conditional logit
#> Call: mnl(formula = chosen ~ feeling + incumbent + distance + deprivation |
#> 1, data = bes2010, id = "id", alt = "party", ref = "labour",
#> se = "cluster", cluster = "constituency")
#> Alternatives: labour, conservative, libdem (base: labour)
#>
#> Outcome equations (alternative:term):
#> Estimate Std. Error z value Pr(>|z|)
#> conservative:(Intercept) 0.33298 0.14278 2.332 0.0197 *
#> libdem:(Intercept) 0.05992 0.18450 0.325 0.7454
#> ---
#> Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
#>
#> Generic coefficients (alternative-specific covariates):
#> Estimate Std. Error z value Pr(>|z|)
#> feeling 0.8172822 0.0609151 13.417 < 2e-16 ***
#> incumbent 0.6457370 0.1566508 4.122 3.75e-05 ***
#> distance -0.0060600 0.0024868 -2.437 0.0148 *
#> deprivation 0.0003232 0.0115231 0.028 0.9776
#> ---
#> Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
#>
#> Standard errors: cluster. Log-likelihood -328.472 on 6 parameters, 674 cases. AIC 668.94, BIC 696.02.
## the post-election ratings as rankings (equal ratings tie)
r <- bes2010[!is.na(bes2010$rating), ]
r$rank <- stats::ave(-r$rating, r$id, FUN = function(v) match(v, sort(unique(v))))
keep <- stats::ave(r$rank, r$id, FUN = function(v) length(v) >= 2 & length(unique(v)) >= 2) == 1
mr <- rologit(rank ~ incumbent + distance + deprivation | 1, data = r[keep, ], id = "id",
alt = "party", ref = "labour")
summary(mr)
#> Rank-ordered logit
#> Call: rologit(formula = rank ~ incumbent + distance + deprivation |
#> 1, data = r[keep, ], id = "id", alt = "party", ref = "labour")
#> Alternatives: labour, conservative, libdem (base: labour)
#>
#> Outcome equations (alternative:term):
#> Estimate Std. Error z value Pr(>|z|)
#> conservative:(Intercept) 0.57840 0.09077 6.372 1.86e-10 ***
#> libdem:(Intercept) 0.60976 0.09520 6.405 1.51e-10 ***
#> ---
#> Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
#>
#> Generic coefficients (alternative-specific covariates):
#> Estimate Std. Error z value Pr(>|z|)
#> incumbent 0.4494021 0.0960493 4.679 2.88e-06 ***
#> distance -0.0001369 0.0010919 -0.125 0.900
#> deprivation -0.0079397 0.0058598 -1.355 0.175
#> ---
#> Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
#>
#> Standard errors: analytic. Log-likelihood -800.548 on 5 parameters, 652 cases. AIC 1611.10, BIC 1633.50.