Business,  personal

Statistical Models and Same Sex Marriage

As you’ve likely heard, if you live in the United States (and possibly elsewhere), same sex marriage has now been legalized. And it’s legal in Netherlands, Belgium, Spain, Canada, South Africa, Norway, Sweden, Portugal, Iceland, Argentina, Denmark, France, Brazil, Uruguay, New Zealand, Britain, Luxembourg, Finland and Ireland already. The trend to legalize same sex marriage started in 2001. And it’s been gaining popularity. At some point, it’s likely that same sex marriage will be universally legal. But when?

Let’s ask Excel, using polynomial trendlines. To get started, let’s look at how many countries have legalized same sex marriage. The below spreadsheet lays out how many countries have legalized same sex marriage to date, and when.

Screen Shot 2015-07-03 at 1.52.28 AM

To then see a trend line, we’ll add a chart element, selecting Add Chart Element and then select More Trendline Options…

Screen Shot 2015-07-03 at 1.52.46 AM

At the Format Trendline pane, click Polynomial and check the box for “Display equation on chart”

Screen Shot 2015-07-03 at 1.53.07 AM

Then copy the equation into your clipboard and pasties into the formula bar. Next, we’ll remove the y and convert the symbols into formula elements.

Screen Shot 2015-07-03 at 1.53.54 AM

This results in wrong numbers because we’ve got years instead of ascending numbers and we’ve got missing years when same sex marriage wasn’t legalized in any countries. So, we’ll convert the years into a number starting with 1 and going up (where 1 is 2001, etc).

Screen Shot 2015-07-03 at 1.59.49 AM

Keep adding rows and copying the formula into each new row and you’ll find that same sex marriage will be universally accepted in 2035, by summing up the numbers and looking for 206 countries.