Introduction
When people talk of ideology, they typically conceive of it in spatial terms between the ‘left’ and the ‘right’. In political science, an ideal point refers to an individual's position within this latent ideological dimension where spatial voting models will attempt to estimate ideal points of legislators using the votes they cast on legislation (Enelow and Hinich Reference Enelow and Hinich1984). Spatial voting models operate under the guiding principle that political preferences can be represented as points in a uni- or multi-dimensional space where legislators will consistently favour policy outcomes that most closely align with their own ideal point (Clinton, Jackman, and Rivers Reference Clinton, Jackman and Rivers2004). Classical spatial theory derives from the seminal works of Hotelling (Reference Hotelling1929), Downs (Reference Downs1957), and Black (Reference Black1958) and has since been foundational to the study of legislative and electoral politics. The most well-known application of this method is Poole and Rosenthal's (Reference Poole and Rosenthal1985), Poole and Rosenthal's (Reference Poole and Rosenthal1991), and Poole and Rosenthal's (Reference Poole and Rosenthal1997) DW-NOMINATE, which uses roll-call data from United States Congress to estimate ideal points of its members and has since been applied to a host of other legislative bodies including the European Parliament (Hix Reference Hix2001; Lo Reference Lo2018; Martin Reference Martin2021), the Supreme Court (Cameron and Park Reference Cameron and Park2009), the UN General Assembly (Binder and Payton Reference Binder and Payton2022), and the national assemblies of other countries (Clerici Reference Clerici2021; Rosenthal and Voeten Reference Rosenthal and Voeten2004). Unfortunately, estimating the ideal points of members of the UK House of Commons (HoC) using this same method has historically proven to be extremely difficult. This is largely due to the idiosyncratic nature of the UK parliament, which is characterized by a strong whipping system and a ‘government vs. opposition culture’, encouraging Members of Parliament (MPs) to toe the party line more often than not instead of voting independently (Hix and Noury Reference Hix and Noury2010; Spirling and McLean Reference Spirling and McLean2007).
As such, there remains a need for an adequate measure of MP's left/right positions in the UK. Potential solutions have been previously proposed by other researchers, including the use of Early Days Motions (EDM) in place of roll-call data (Franklin and Tappin Reference Franklin and Tappin1977; Kellermann Reference Kellermann2012), directly surveying parliamentary candidates (Norris and Lovenduski Reference Norris and Lovenduski1992; Norris and Lovenduski Reference Norris and Lovenduski1997; Norris and Lovenduski Reference Norris and Lovenduski2001), analyzing legislative speeches (Goet Reference Goet2019; Schwarz, Traber, and Benoit Reference Schwarz, Traber and Benoit2017), or, very recently, by surveying local councillors (Hanretty and Lazarov Reference Hanretty and Lazarov2023). This research note looks to add to this space by providing left/right estimates of sitting UK MPs through a proven estimation method that exploits the informativeness of social media followership. Research has shown that network connections between politically engaged users on social media are driven heavily by an ideological component (Bright Reference Bright2016; Colleoni, Rozza, and Arvidsson Reference Colleoni, Rozza and Arvidsson2014), and this fact can be leveraged to estimate the ideological position of users based on other users they connect with. The first paper to do so was Barberá's (Reference Barberá2015) Bayesian Spatial Following model, subsequently followed by Barberá et al. (Reference Barberá2015) which employs a multidimensional scaling technique known as correspondence analysis (CA) to estimate ideal points via social media network data.Footnote 1 Following the same methodology, this research generates left/right estimates for UK MPs sitting in the HoC as of 22/08/2022 (when the data was extracted) based on their social media followership, with network data derived from the platform formerly known as Twitter (X). To confirm the accuracy of these estimates, the ideal points generated through this method are validated against a set of mean ideological estimates gathered through an expert survey. Finally, to demonstrate the informative value of these ideal points, they are used to predict candidate endorsement in the September 2022 Conservative Party leadership contest.
Not only should these estimates prove useful for researchers and others more generally who are interested in measures of left/right position for parliamentary members they also highlight the effectiveness of social media followership in estimating ideal points for members in restrictive legislatures such as the UK. The data source for which these estimates were derived (Twitter/X) no longer provides comprehensive API access to researchers for free, which significantly restricts the likelihood of generating updated ideal points through this platform again in the future. Nonetheless, new opportunities may present themselves on alternative platforms, for which the method used in this research note can be similarly applied.
Method
Typical spatial voting models like DW-NOMINATE work under the assumption that rational voters will most likely opt for individuals, parties, or policies they believe most closely align with their own ideal point (Enelow and Hinich Reference Enelow and Hinich1984). As such, ideologically driven network structures, such as those found on social media platforms, can be exploited in a similar way: ordinary users are more likely to connect with political elites they perceive to be closest to them ideologically (McPherson, Smith-Lovin, and Cook Reference McPherson, Smith-Lovin and Cook2001). Barberá's (Reference Barberá2015) Spatial Following model leverages this fact to estimate the ideological position of political elites based on their social media followership. In essence, the model relies on the choice of ordinary users to follow (or not to follow) a political elite as a signal about the latent ideological position of that user, as well as their perception of the ideological position of the political elite. The closer an ordinary user i perceives political actor j to be to them in the latent ideological space, the higher the probability that they will follow them. Under this assumption, the probability that an individual user i chooses to follow a political elite j (y ij = 1) can be formulated as the Spatial Following model (Barberá Reference Barberá2015, 79):
where α j controls for the overall popularity of the political actor j (reflecting their likelihood of attracting more followers), β i controls for user i's level of political interest (reflecting their likelihood to follow more political actors), γ is a normalising constant, and ${\parallel} \Theta _i- \Phi _j\parallel ^2$ is the squared Euclidean distance in the unidimensional space between Twitter user i and political actor j. In this case, Θi reflects the ideal point of Twitter user i and Φj reflects the ideal point of political actor j. It is from these two latter parameters (Θi, Φj) that we can derive ideological estimates for both elite political actors and for the ordinary users that follow them.
Traditionally, latent space models are estimated through Bayesian methods using Monte Carlo Markov Chain Simulations, and this is the case in Barberá's (Reference Barberá2015) original Spatial Following model. However, as is documented in Barberá et al. (2015, 1,533), this becomes computationally intractable for extremely large network datasets such as those found on social media. Thus, CA is used instead, which has been found to produce a close approximation of a statistical ideal point model but at a much-reduced computational cost (Bonica Reference Bonica2014, 369). CA is a multidimensional scaling technique that is conceptually similar to principal components analysis but can be applied to categorical data instead of continuous (Greenacre Reference Greenacre2010). A particular benefit of using CA is that it allows for multiple dimensions to be scaled at once where, in this case, ideology is typically captured in the 1st dimension (indicating that this is the most informative dimension driving political elite followership on social media). However, further dimensions could help to uncover other underlying factors driving ordinary-to-elite connectiveness in the UK.Footnote 2
Data
Social media network data for sitting UK MPs was gathered from Twitter/X via its API, accessed through Python's publicly available Tweepy library.Footnote 3 Owing to the API's rate limits and the volume of data to be gathered, data harvesting took place over a three-and-a-half week period commencing on 22/08/2022 and ending on 15/09/2022. As of the week commencing 22/08/2022, the number of UK MPs with an active Twitter/X account was n = 591. Summary statistics for each political party's representation on Twitter/X can be seen in Table 1.
N (%) relative to N in the House of Commons.
The total combined number of followers between these MPs was m = 34,653,181 and, among these followers, the overall number of unique accounts was m = 11,071,104. A significant proportion of these accounts are not useful due to inactivity and the presence of bots, so the sample was refined before being used for analysis, following two steps from Barberá's (Reference Barberá2015, 81) 5-step approach to filtering fake or non-active user profiles. Profiles were discarded if they satisfied any of two criteria: (1) sent fewer than one hundred tweets and/or (2) had fewer than twenty-five followers. After filtering the dataset using these criteria, this left the sample of unique accounts at m = 4,460,657. Among these accounts, the median number of MPs followed is extremely low (1). The overall distribution of users by the number of MPs they follow is heavily right-skewed, with over half of all users (52 per cent) in the filtered dataset following only a single MP (see Fig. 1).
Previous research supports this finding, where studies have shown that the majority of Twitter/X users do not follow political elites, instead favouring non-political opinion leaders over political ones (Mukerjee, Jaidka, and Lelkes Reference Mukherjee, Jaidka and Lelkes2022; Wojcieszak et al. Reference Wojcieszak2022). Given that the modelling strategy used here relies upon the ability of ordinary users to reasonably judge the ideological position of both themselves and political elites, only users who are especially politically engaged are selected to optimize model performance (as well as significantly reduce computational cost). To do so, in line with Barberá's (Reference Barberá2015, 81) 5-step filtering approach, the sample of ordinary users is further filtered to include only those users who follow at least ten times the median number of MPs (10). This especially informative subset contains m = 424,297 users and e = 11,443,165 unique follow connections with the n = 591 MPs.Footnote 4 (See Table 2 for user profile summary statistics).
Taking this final set of MPs n and their especially informative subset of followers m, a network adjacency matrix Y is constructed where individual elements can take a binary form of integers 0 or 1. Where an ordinary user i follows MP j y ij = 1, otherwise y ij = 0. Ordinary users m form the rows and MPs n form the columns, thus generating a large matrix of dimensions 424,297 × 591. The nature of this network is fundamentally non-reciprocal with e follow connections only flowing in one direction from users m to MPs n. (See Table 3).
Realized e calculated as the actual e over potential e.
Dimensionality reduction is then performed on this sparse follower adjacency matrix Y using CA, implemented in R using the ca function from the ca library. One unique aspect of the UK HoC is the presence of nationalist parties in Scotland, Wales and Northern Ireland. The modelling strategy assumes that when controlling for α i and β j, the primary component that predicts the likelihood of a connection between actors j and users i is ideological. Thus, when scaling the HoC, one would expect MPs to cluster around some form of shared ideological or partisan identity. However, in the case of nationalist parties, their shared regional component appears to overwhelm their ideological one. This effect is especially dominant with the Scottish National Party (SNP), the third largest party block in the HoC, and significantly warps the overall ideological scale as well as the estimates for MPs from other parties.Footnote 5 Fortunately, another benefit of using CA for ideal point estimation is the ability to scale spatial maps using an initial subset of data and then subsequently project supplementary data onto this pre-constructed space. Therefore, the ideological space is initially scaled excluding MPs representing nationalist parties to ensure that the dimension being mapped reasonably approximates left/right ideology. The nationalist party MPs are then retroactively projected onto this scale.Footnote 6
Results and Validation
Figure 2 illustrates a beeswarm plot of ideal points for the 591 MPs by political party in the HoC. Plotting the spatial map in this way demonstrates that the CA model has high face validity.
Clear between-party clustering indicates that the model can successfully discriminate between MPs from different political parties. More importantly, MPs from different parties that we know officially occupy similar spaces on the ideological axis, such as the Greens and Labour on the left or the DUP and the Conservatives on the right, are also clustered closer together. This indicates that the dimension is not simply capturing partisanship but reflects the left/right spectrum of British politics. Ordinary users are not necessarily just following MPs from the political parties they identify with but MPs from across parties that they perceive to sit in reasonable proximity to themselves along the ideological axis.
To formally validate the ideal point estimates, an expert survey was conducted. This survey was distributed to a select group of expert academics in the field of British politics. Of the experts, 133 were contacted with a 53 per cent response rate (70). The survey asked them to place a sample of 30 MPs on an ideological scale between 0 (Left) and 10 (Right). Thirteen MPs were sampled from both the Conservative and Labour parties, along with two from the Liberal Democrats, one from the Green Party, and one Independent. There was an attempt to balance the sample with some more established MPs along with some that are reasonably lesser known, as well as between MPs with larger Twitter/X followings and those with less. This was to ensure that model performance for both left-wing and right-wing MPs could be assessed, and also to validate its accuracy when estimating placement for MPs with smaller sample sizes (low follower counts).Footnote 7 Validation of the CA model estimates for the 30 MPs against the mean estimates provided by the experts is illustrated in Fig. 3.
For validation, weighted least squares regression was conducted to predict the expert ideology estimates using the ideal point estimates generated by the CA model. Model weights were applied using the standard errors of the expert estimates to account for the degree of uncertainty in the validation set itself. Model coefficients would indicate that the CA model ideal points have a high degree of between-party accuracy (R 2 = 0.93). Pearson's correlation tests were used to assess the within-party accuracy of the CA model between Conservative and Labour MPs respectively, demonstrating a high degree of correlation in both cases (Con: r = 0.84; Lab: r = 0.81).
To further demonstrate the within-party discriminative power of the CA model estimates, ideal point distributions of Conservative and Labour MPs are split along three major ideological divides: abortion stance, Brexit stance, and party faction. For the abortion stance, an MP's position is inferred through their vote on Clause 11 of the Public Order Bill 2022, which makes it an offence to interfere with access to abortion services.Footnote 8 There were no recorded votes against this bill from Labour MPs but there was a 19 per cent abstention rate. Brexit stance for Conservative MPs is derived from a dataset collated by Cygan, Lynch, and Whitaker (Reference Cygan, Lynch and Whitaker2021), which provides Remain/Leave positions for 200 Conservative MPs elected in the 2015–2017 parliament, sourced from various statements made by MPs on their websites, in the media, and on Twitter. For Labour MPs, instances of open declarations of support for Leave were extremely rare in this dataset, so the Brexit stance for Labour MPs is inferred through their support for or rebellion against Boris Johnson's European Union (Future Relationships) Bill in December 2020, which allowed for the ratification of Brexit withdrawal. This is an imperfect method as the support for or rebellion against this bill does not necessarily directly reflect remain/leave sentiment. However, given that supporting this bill was enforced with a three-line whip by Labour, rebellion was a high-cost decision and so can still be informative.Footnote 9 Finally, both parties contain multiple internal factions and pressure groups that can help to distinguish between different ideological spaces within them. The most prominent faction within the Conservative Party is the European Research Group (ERG), a hard-right caucus of MPs, set up in 1993 to act as the voice of Euroscepticism within the party. Whilst there is no official membership list, support for this faction can be inferred through subscriptions paid to the ERG by MPs since 2016. Sixty-four Conservative MPs can be identified as either current or former members of the ERG.Footnote 10 The most prominent faction within the Labour Party is the Socialist Campaign Group (SCG), a hard-left socialist contingent of MPs, founded in 1982. There are currently 33 official members.Footnote 11 Within-party MP ideal points are illustrated along these three ideological divides as jittered boxplots in Fig. 4.
The boxplots in Fig. 4 add credence to the fact that these ideal point estimates reasonably approximate the left/right ideological spectrum of British politics. In both cases, party faction membership, on average, places these MPs notably further to the right and the left of the median position of their parties, respectively. As for abortion stance, the median ideal point of pro-choice MPs is to the left of the average pro-life MP in both parties (assuming abstaining MPs in the Labour Party are pro-life). The model also places Conservative MPs who declared their support for remaining towards the left of the party, and this effect is the same to a lesser degree in the case of Labour MPs who rebelled against Johnson's Brexit Bill. However, it is also evident that there is a significant range across these distributions, emphasizing the importance of having a unique ideal point for each MP.
Application
These ideal points have a range of potential applications within the field of UK parliamentary study, such as a better understanding of intra-party competition or dyadic representation (Hanretty, Lauderdale, and Vivyan Reference Hanretty, Lauderdale and Vivyan2017). The final section of this research note will demonstrate one such example, using these ideal points to predict candidate endorsement in the September 2022 Conservative Party leadership contest. Voting for this contest opened on July 13 and was initially contested by eight MPs, travelling through five separate MP ballots, eventually narrowing down to two final candidates: Liz Truss and Rishi Sunak (see Table 4). The resulting members' ballot elected Truss as leader on September 5th by a margin of 57 per cent/43 per cent.Footnote 12
Candidate endorsements are obtained via the Conservative Home official website.Footnote 13 Of the 357 Conservative MPs eligible to vote at the time of the contest, leadership endorsements could be obtained for 319 (89 per cent) in the first round of voting, leaving 38 undeclared. Of those 319 MPs, 278 had Twitter/X accounts from which ideal points could be estimated. Figure 5 illustrates the jittered boxplots for ideal points of MPs who publicly endorsed each of the eight initial party leadership candidates. A descriptive analysis would align with general expectations: candidates Truss, Braverman, and Badenoch appear to have drawn their support from further to the right of the party, whilst Truss' two primary competitors, Sunak and Mordaunt, look to have drawn their support from closer to the centre of the party in the early stages of the contest.
Initial Candidate Endorsements – First Round
Over five rounds of MP ballots, six candidates were eliminated, leaving Liz Truss and Rishi Sunak to contest the final members' ballot. As candidates were eliminated, many MPs switched their initial endorsements to other remaining candidates. This provides a reasonably balanced sample of endorsements split between the two final candidates. Endorsements could be obtained for 245 MPs with Twitter accounts in the final round, leaving 112 undeclared or with no ideal point. Figure 6 illustrates the jittered boxplots for ideal points of MPs who publicly endorsed the two final candidates in the membership round of voting.
Final Candidate Endorsements – Membership Round
The median ideal point of supporters for both Rishi Sunak and Liz Truss do not change substantially from their scores in the first round of endorsements. Both Sunak's (1.24→1.23) and Truss’ (1.4→1.39) lower slightly, suggesting a mild moderating effect as they gained more endorsements from MPs across the party. What remains clear in both instances is that Liz Truss appears to have drawn more support from MPs further to the right of the Conservative Party. To formally confirm this association, simple binary logistic regression is used, predicting endorsement for the eventual winner, Truss, relative to the unsuccessful runner-up, Sunak, using an MP's ideal point as the key independent variable. A number of demographic and political control variables are also included in the model, details of which can be found in Supplementary Material: Section 5. Three models are fitted, one including only an MP's ideal point, the second controlling for demographic variables, and the third also including political variables. Model results are shown in Table 5.
Signif. Codes: ≤0.05*, ≤0.01**, ≤0.001***.
Model results would indicate that an MP's ideal point was a statistically significant predictor of endorsement choice, with each unit increase further to the right associated with a higher likelihood of endorsement for Truss over Sunak. This relationship remains statistically significant when controlling for both social and political variables. These results would confirm that ideological position was a significant component of candidate endorsement in the September Conservative leadership election and that, for each ideal point increase further to the right an MP moved, they were at least eleven times more likely to endorse Truss over Sunak. The model also demonstrates that a gendered component to candidate endorsement was present, with female MPs significantly more likely to endorse Truss over Sunak.
Conclusion
In conclusion, this research note has produced ideal point estimates for 591 UK MPs sitting in the House of Commons as of 22/08/2022. These left/right estimates were derived from their complete Twitter/X follower networks using correspondence analysis and were validated against a set of expert estimates, confirming both a high degree of between-party and within-party accuracy. As a demonstration of their potential usage in the UK parliamentary study, these ideal points were then used to predict candidate endorsement in the September 2022 Conservative Party leadership contest, confirming that ideology was a statistically significant component of Liz Truss' victory over Sunak. Results indicated that Truss drew her support primarily from the further right of the Conservative Party, whilst Sunak drew his from closer to the centre. Although data access via the Twitter/X API to update these estimates has now been significantly restricted for the majority of researchers, these ideal points still provide wide coverage of the majority of MPs in the HoC. In future, there may be the potential for generating new estimates using this same method via alternative social networking sites, if we see significant uptake by UK politicians. In the meantime, these ideal point estimates (along with estimates for additional dimensions and ideal points of the ordinary users produced by the CA model) will be made available online for researchers interested in the study of legislative politics in the UK.
Supplementary material
The supplementary material for this article can be found at https://doi.org/10.1017/S0007123424000450.
Data availability statement
Replication Data for this article can be found in Harvard Dataverse at: https://doi.org/10.7910/DVN/JDB0SE.
Acknowledgements
The author gratefully acknowledges the 70 academics contacted as part of the expert survey who gave their time to complete the survey, providing a validation set for this research. The author also acknowledges the comments made on earlier versions of this article by Will Jennings, Rebecca Hoyle, Markus Brede, Stuart Turnbull-Dugarte, George Bolton, and all the members of the ECPR Joint Session on social media research at Sciences Po, Toulouse, 2023. Finally, the author thanks the three anonymous reviewers and the editor, René Lindstäd, for their detailed feedback.
Financial support
This work was supported by the Economic and Social Research Council [grant number: ES/P000673/1].
Competing interests
None.