Gavin Height - 3873959
25 Oct 2020
In 2017 the Australian Bureau of Statistics carried out a plebiscite on the direction of the Federal Government with the purpose to ascertain the level of public support for changing the Marriage Act to include non-heterosexual couples.
The question posed was: “Should the law be changed to allow same-sex couples to marry?”
The plebiscite was carried out via mail and was not compulsory. 79.5% of the eligible Australians returned the ballot.
The result was 61.6% in favour of changing the law, 38.4% against. The vote was non-binding on legislators, however, the Marriage Act amendment was passed by parliament on the 7th of December 2017. 133 out of the 150 federal electorates returned majorities for the ‘yes’ vote.
There had been ongoing discussions within the broader Australian community in the years prior to the plebiscite and much debate between political parties.
The Australian Greens Party had been in support of marriage equality for some years, introducing a marriage equality amendment bill into parliament in 2008 that was unsuccessful.
The Australian Labor Party had allowed a conscious vote for legislators since 2010.
Private members bills were introduced into parliament multiple times but Tony Abbott refused to allow the Liberal Party under his leadership a conscious vote (where legislators get to vote as the choose, and not follow official party policy), arguing that the Coalition’s policy against marriage equality was clear.
It was not until after the successful plebiscite that coalition legislators were granted a conscious vote.
In Parliament, there was more opposition to marriage equality from the Coalition than the Labor Party. But was this division reflected in the Australian population?
This project poses the question: Is there a relationship between support for marriage equality and particular political parties?
To answer this question the results of the 2017 marriage equality plebiscite were compared against the 2019 federal election to see if there was a correlation between electorates that voted for either Labor or the Coalition and support for or against marriage equality. As the Greens only hold one seat in the lower house there was not enough of a sample to include the party in the analysis.
The lower house uses preferential voting and predominately comes down to the two major parties. Preference voting leads to a two party-preferred figure, meaning after potential primary votes for a minor party, who did the voter preference higher, Labor or Liberal. This two-party preferred result is the one used for analysis, not only for this report but in the majority of research into election results.
Along with descriptive statistics and visualisations, the primary statistics tool to assess the research question a Welch Two Sample T-Test was used.
Data was sourced from official data sets. The plebiscite results were obtained from the Australian Bureau of Statistics, while the 2019 election results data set was obtained through the Australian Electoral Commission. Both data sets are open source and free for public use such as this project.
Furthermore, background information on the development of legislation and the policy standpoints of different parties over time was obtained from the Australian Parliament House.
Plebiscite data set - https://www.abs.gov.au/AUSSTATS/abs@.nsf/DetailsPage/1800.02017?OpenDocument
2019 Election data set - https://results.aec.gov.au/24310/Website/HouseDownloadsMenu-24310-Csv.htm
Marriage Equality Bill development and debate - https://www.aph.gov.au/About_Parliament/Parliamentary_Departments/Parliamentary_Library/pubs/rp/rp1718/Quick_Guides/SSMarriageBills
There are a total of 17 variables and 151 observations.
The data sets were joined on the identifying feature of electorate name.
Variables are clearly named but some are explained in further detail below:
PartyAB: Political party abbreviation. ALP = Australian Labor Party; LP = Liberal Party; NP = National Party; LNP = Liberal National Party (Amalgamation of Liberal Party and National Party in QLD)
TotalVotes: Total number of votes cast in the electorate
Swing: Percentage swing for winning party from previous election
difference: percentage difference between yes and no. Positive values are ‘yes’, negative values are ‘no’.
tpp: (Two Party Preferred) Assigns coalition party votes to value ‘coalition’, ALP votes stay as ‘ALP’.
Eight electorates were missing plebiscite results data. This is because they are new electorates created after the plebiscite. They were excluded from analysis.
There was one significant outlier for ‘swing’. The electorate of Whitlam had a 39% swing towards the ALP. This was significantly more than the other outliers for that variable, they were in the 11-12% range. Upon further investigation it was uncovered that in 2019 a Liberal candidate did not run, where as in 2016 there had been a Liberal candidate. Therefore the swing was an artificial value and was re-coded as NA.
While the election result data distinguished the coalition votes among the Liberal and National Parties (and the Liberal National Party in QLD where they are officially amalgamated), for the purpose of this analysis we were only interested in the breakdown between ALP and the Coalition, as they are the two entities competing to gain government. Therefore, a new variable was created to reflect this, ‘tpp’ (two party preferred).
The Coalition won 81 seat, the ALP 70 in the election, but removing the new seats without plebiscite data, it was 79 for the coalition, 64 for the ALP. This is reflected in the barplot below. As these n values are larger than 30, we can confidently conduct a T test without the data being normalised.
tpp1 <- read_csv("HouseTppByDivisionDownload-24310.csv", skip=1)
marriage1 <- read_excel("australian_marriage_law_postal_survey_2017_-_response_final.xls", sheet=3, skip= 5)
marriage2 <- rename(marriage1, electorate =...1, yes_votes = Yes, yes_percentage=...3, no_votes= No, no_percentage = ...5, total_votes = Total...6, total_percentage = ...7)
tpp2 <- rename(tpp1,electorate=DivisionNm)
marriage3 <- marriage2 %>% select(electorate,yes_votes,yes_percentage,no_votes,no_percentage,total_votes)
voting1 <- tpp2 %>% left_join(marriage3)
voting1$StateAb <- voting1$StateAb%>% as.factor()
voting1$PartyAb <- voting1$PartyAb %>% as.factor()
voting1$yes_votes <- voting1$yes_votes %>% as.double()
voting1$yes_percentage <- voting1$yes_percentage %>% as.double()
voting1$no_votes <- voting1$no_votes %>% as.double()
voting1$no_percentage <- voting1$no_percentage %>% as.double()
voting1$total_votes <- voting1$total_votes %>% as.double()
voting1$Swing[148] <- NA
voting1$yes_percentage[25] <- 74.1
voting1$no_percentage [25] <- 25.9
voting1$yes_percentage[50] <- 74
voting1$no_percentage[50] <- 26
voting1$yes_percentage[92] <- 54.5
voting1$no_percentage[92] <- 45.5
voting1 <- voting1[-c(8,31,33,58,98,117,111,137), ]
voting2 <- mutate(voting1, difference = yes_percentage - no_percentage)
voting2$tpp <- voting2$PartyAb %>% fct_recode( "Coalition" = "LNP", "Coalition" = "LP", "Coalition" = "NP", "ALP" = "ALP")
seat_perc <- voting2$tpp %>% table() %>% prop.table()*100
seat_perc %>% barplot(main="Percentage of Seats Won", ylab = "Percent", ylim = c(0,60))voting2 %>% group_by(tpp) %>% summarise(Min = min(yes_percentage,na.rm = TRUE),
Q1 = quantile(yes_percentage,probs = .25,na.rm = TRUE),
Median = median(yes_percentage, na.rm = TRUE),
Q3 = quantile(yes_percentage,probs = .75,na.rm = TRUE),
Max = max(yes_percentage,na.rm = TRUE),
Mean = mean(yes_percentage, na.rm = TRUE),
SD = sd(yes_percentage, na.rm = TRUE),
n = n(),
Missing = sum(is.na(yes_percentage))) -> table1
knitr::kable(table1)| tpp | Min | Q1 | Median | Q3 | Max | Mean | SD | n | Missing |
|---|---|---|---|---|---|---|---|---|---|
| ALP | 26.1 | 54.575 | 64.25 | 68.725 | 83.7 | 60.94844 | 12.613221 | 64 | 0 |
| Coalition | 43.9 | 55.150 | 61.10 | 64.700 | 80.8 | 60.90633 | 7.757632 | 79 | 0 |
voting2 %>% boxplot(yes_percentage ~ tpp, data = .,main= "Yes Support by Party Preference",ylab = "Yes Support (Percentage)", xlab = "Two Party Preferred")Next we checked to see if there was a relationship between voting behaviour for either of the two political parties and voting behaviour on marriage equality, on an electorate level.
The null hypothesis was that there was not a statistically significant difference for marriage equality support between the two political party voting groups. \[H_0: \mu_1 = \mu_2 \] The alternate hypothesis was that there was a statistically significant difference. \[H_A: \mu_1 \ne \mu_2\]
As can be seen in the results below, with a P value of 0.98, the null hypothesis was failed to be rejected.
##
## Call:
## lm(formula = yes_percentage ~ tpp, data = voting2)
##
## Residuals:
## Min 1Q Median 3Q Max
## -34.848 -5.856 0.794 6.752 22.752
##
## Coefficients:
## Estimate Std. Error t value Pr(>|t|)
## (Intercept) 60.94844 1.27706 47.726 <2e-16 ***
## tppCoalition -0.04211 1.71816 -0.025 0.98
## ---
## Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
##
## Residual standard error: 10.22 on 141 degrees of freedom
## Multiple R-squared: 4.26e-06, Adjusted R-squared: -0.007088
## F-statistic: 0.0006006 on 1 and 141 DF, p-value: 0.9805
alp <-subset(voting2,tpp =="ALP")
Lib<-subset(voting2, tpp !="ALP")
yesp <-t.test(alp$yes_percentage,Lib$yes_percentage)
yesp##
## Welch Two Sample t-test
##
## data: alp$yes_percentage and Lib$yes_percentage
## t = 0.023366, df = 99.948, p-value = 0.9814
## alternative hypothesis: true difference in means is not equal to 0
## 95 percent confidence interval:
## -3.533258 3.617475
## sample estimates:
## mean of x mean of y
## 60.94844 60.90633
This project posed the question: Is there a relationship between support for marriage equality and particular political parties?
The analysis found that there is not a statistically significant relationship between voting support in the 2017 Marriage Equality Plebiscite, and voting support for either the ALP or the Coalition.
While ALP electorates had a slightly higher mean for marriage equality support, they also had greater variance, and included the electorates with the lowest support.
From these results it points to the need to investigate other variables that may have a relationship with support for marriage equality.
While the two major parties had different policy stances on the issue, it appears there was not the same difference dividing their voters.
Plebiscite data set - https://www.abs.gov.au/AUSSTATS/abs@.nsf/DetailsPage/1800.02017?OpenDocument
2019 Election data set - https://results.aec.gov.au/24310/Website/HouseDownloadsMenu-24310-Csv.htm
Marriage Equality Bill development and debate - https://www.aph.gov.au/About_Parliament/Parliamentary_Departments/Parliamentary_Library/pubs/rp/rp1718/Quick_Guides/SSMarriageBills