When did same-sex marriage laws become effective by state?

June 26, 2015
By

(This article was first published on Decision Science News » R, and kindly contributed to R-bloggers)

CORRELATION WITH REPUBLICAN VOTING IN THE 2012 PRESIDENTIAL ELECTION

samesex.pre201506.s

Click to enlarge

In light of the good news today that the Supreme Court ruled that same-sex couples have the right to marry in the United States, we thought we’d look at when same-sex marriage laws became effective by state (if they did at all) before today.

Noting that same sex marriage is a dividing issue between the left and right in the US, we thought we’d compare the date of when same-sex marriage laws become effective in each state with each state’s Republican (two-party) vote share in 2012. Results are above.

Note that California’s same-sex marriage law was effective in 2008, then it was overturned, and then made effective again in 2013. We went with the earlier date because you’ve got to chose something.

The next question is “what about the states that were added by the Supreme Court decision today”? We made a second plot, below, in which we put today’s date for those states in the “effective date” column. The result is pretty much the same.

Click to enlarge

It is interesting to note that none of the plurality Romney-voting states had same sex marriage laws in effect before 2014.

A couple last things. You probably want to see the data, because the graph can be hard to read.

THE DATA

Or you can get the data and the R code both

R CODE

The post When did same-sex marriage laws become effective by state? appeared first on Decision Science News.

To leave a comment for the author, please follow the link and comment on their blog: Decision Science News » R.

R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: Data science, Big Data, R jobs, visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...



If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Comments are closed.

Sponsors

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)