Currently the top post on /r/bestof: someone calculated the average of all US president birthdays a shockingly got a date about halfway through the year (July 4)
np.reddit.com/r/bestof/comments/7yo8l9/usigns...Posted Feb 20, 2018, 4:15 AM UTC
Posted Feb 20, 2018, 4:15 AM UTC
I don't quite know if this qualifies as badmath, but it's certainly bad methodology or something. Averaging dates by assigning January 1 = 1, January 2 = 2, ..., December 31 = 365 is apparently a good idea to enough people that it's currently the top post on r/bestof
I agree. A Jan 1 and a Dec 31 pair of birthdays average to midsummer, which seems very wrong.
Why does that seem wrong? Jan 1 and Dec 31, if they lie in the same year, are as far apart as two dates can be.
Given that people wanted to talk about the average of a set of dates, which on its own seems meaningless, they needed a way to assign magnitude to dates. So it seems natural to pick a distinguished date, for example Jan 1, which is the beginning of the year, and assign values to dates based on how much later in the year they are.
Of course there are different and perhaps better ways to do this, for example the "circular mean" that someone else discussed in this thread, but what I described, and most people accepted, seems like a reasonable first attempt.
It seems wrong for the same reason that calling noon the average of 12:01 am and 11:59 pm seems wrong: you took the long way around the clock instead of the short way, if you will.
If all you're after is some way to talk about an average of things which don't obviously have a way of being averaged, then sure, this will work. But if you want a way of talking about these averages that actually attempts to mimic what an average would look like, we've already done the math, and the obvious approach doesn't work.
The short way would’ve been midnight, right?
If Dec 31 and Jan 1 are only a day apart, it seems odd to say the average of them is 6 months away. I agree there are some better suggestions in this thread.
[deleted]
This is in fact bad math. Trying to tackle the problem, I quickly found that turning these points into a circle would make sense (after all that is kind of how our calendar works).
So once you realize that you are dealing with points on a circle you can start doing manipulation on 2-d polar coordinates.
Fortunately there is already a mathematical method for finding the average of points on a circle https://en.m.wikipedia.org/wiki/Mean_of_circular_quantities
So I took all the days and converted them to radians by the formula (2PI*n)/365. Where n is the nth day of the year (so 12/31 is 2PI/0 radians).
From there I calculated the circular mean and found the average to be roughly 6.179, which translates to roughly 358.95 days. So that is going on to be an average birthday of 12/24 or 12/25 depending on if you truncate or round the day number.
This doesn't take into account leap years or anything, so maybe off by a day or so, but a hell of a lot closer to the actual average than the pandering offered by assuming the average of a circle is "the middle" of it's circumference.
Edit: looking again at the post, see that everyone else figured this out. W/e I feel happy I figured this out relatively independently so I'm keeping it up here.
Edit 2: so I decided that since we are dealing with times to calculate the average exact date of the birthdays.
So setting OG George's birthday as day 0 and counting up from there, we have Obama's birthday as day 83,793 and an average birth day of day 41,729.81. This turns out to be June 4, 1846 or June 5, 1846 (depends on truncating or rounding).
So the actual average day of birth still hasn't gotten past the start of the Civil War.
So presidents are born at Christmas on average? Don't let Jerry Falwell hear about this...
What radius did you get when you converted your answer to polar coordinates?
So I started in polar, but considering everything has radius 1, and the method utilized only cares about the Theta of the (r, theta) ordered pair, I don't have the r to give you for the final polar coordinate.
The wiki page was saying that the r value is a measure of how relevant the measure actually is, I.e. if the r is zero then the points are uniformly distributed around the unit circle and if r is 1 then all the points are the same. I'd expect it to be pretty close to zero in this case.
Non-Mobile link: https://en.wikipedia.org/wiki/Mean_of_circular_quantities
^HelperBot ^v1.1 ^/r/HelperBot_ ^I ^am ^a ^bot. ^Please ^message ^/u/swim1929 ^with ^any ^feedback ^and/or ^hate. ^Counter: ^151203
I'll give a gold star and 3 atta boys (or girls) to anyone who goes in there and begins arguing in all caps that its not July 4th because they have to use PEMDAS instead of BODMAS.
Americans. Fucking hell.
Oh c'mon.
Here's a quick list of countries that celebrate their independence day (or equivalent) between June 15 and July 15:
Granted, some of these are really new (South Sudan) But give all of them enough time and if you were to use ops method you would get something near enough to their independence day.
It's not so much "stupid Americans" as it is "there are so many Americans on the internet and reddit specifically that eventually one will do something silly"
Also France.
Fair, I just went by the Wikipedia article for lis of independence days and they started explicitly that the lady wasn't extensive and to help expand it.
It's not really an independence day I guess, that's probably why.
Norway does not belong on your list. Our national day is May 17th.
I was going by the wikipedia article sorted by date (for ease of finding the ones in the range I want). When sorted by country name Norway has 2 entries, May 17th for Constitution Day and June 7th for union dissoultion day.
Because of the odd way the table is built it slipped the June 7th date after the other June dates, and since I knew I needed everything on the list between Iceland (June 17th) and Sao Tome and Principe (July 12th) I just typed without actually looking at the dates.
What I see when sorted by date and when sorted by country name
So yes it shouldn't be on the list, but it's interesting as to how it got on there.
Don't you mean fuckings hells? You nonAmericans seem to like to mispluralize things...
This chain seems to be a downvote attractor. Strange.
(ninja edit: I figure a lot of bestof people showed up here and don't really understand the local flavor)
My sub has grown...
I just assumed my joke wasn't funny to the Europeans.
Maybe, but if you look at the chain from OP down, it's a lot of downvotes for what are mostly smarmy comments.
America
ns! Fuckingyeah!
You some some autocorrect mistakes.
What
It was supposed to be a Team America joke, but naturally I had actual autocorrect mistakes.
Oh lordy.
TIL the circular mean doesn't exist.
Aw you quoted me! In my defense I was thinking strictly in terms of expected value, but it was cool seeing some links about cyclic statistics, in retrospect it makes sense this would be a thing that’s studied.
Yep! You can do stats on all sorts of spaces that are very different from R^n. It just takes a bit of work to formalize it.
What is the circular mean of the president's birthdays?
My guess is that it would be pretty close to 0 since I think birthdays are, while not completely uniform, pretty close to.
EDIT: luckily I don't have to guess, u/hiimme70 calculated a circular mean for me: https://m.imgur.com/a/FTn9V
And it looks like I'm right and it's pretty close to the center.