r/thebutton • u/pressiah_witness can't press • Apr 13 '15
A thorough statistical analysis on button click rate.
INTRO
This is going to be short because I have a lot left to finish tonight (since I've spent the entire weekend doing this simulation, instead of doing homework). Here is a link to my drive folder with a spreadsheet for predictions, as well as an analysis on the every day's data since April 4th. I encourage you to download and view the spreadsheets since the formatting gets all thrown off by Google sheets. Additionally, I would have liked to throw them in a single file but they were just too big for Google.
...which brings me to my next point. None of this would have been possible without /u/def-. He has grabbed data every second for over a week, and having large chunks of data is what made this statistical analysis possible. Thank you. And with that said..
ANALYSIS
I started by making a big assumption here, and that is that the time between button clicks is exponentially distributed. When I find time, I'd like to provide input analysis to show how well an exponential distribution models this data. I made a couple histograms, however, and they indicate as such.
Now, the first thing I did was tabulate this data and calculate the interarrival times (IAs, time between clicks). The mean IA time is the average time between clicks, and if you invert that number, it becomes the parameter lambda (rate) for the exponential distribution. Once calculated, I constructed plots on the changing rate of IAs.
As you all are probably aware, there is a time every 24 hours where the rate of clicking is very low, and the final moments of the button depend on the clicking rate in this reoccurring time range. So what I wanted to do next, was calculate the rates that represented these low points each day. To find these rates, I wanted to construct an optimization problem using Excel's Solver to find the range of time that minimized lambda for that day. I know a little about operations research and optimization, but not enough to get solver to work for a discrete, non-linear function of clicking rates. Soooo, below those failed calculations you can find two roughly minimal lambdas based on the required minimum size of the time interval ("light" approximation and "extreme" (precise) approximation). These corrected lambdas are a better indication of the end-date than the overall daily rate.
Finally, having calculated a few different values for lambda over several days, I was able to plot the decay rate of lambda over the past week. I believe the decay rate of the corrected lambdas will give the strongest indication of an end-date for the timer. I don't have the time right now to do an exponential regression or confidence intervals or anything I want to do to come up with a more accurate prediction, so I just eyeballed it. I feel a little silly having done all this work and then not conducting a proper prediction analysis, but I really don't have the time right now. Maybe someone can use my data (which I'll continue to update and load to the drive) to form a stronger prediction.
CONCLUSION
Based on the corrected lambdas, I guessed the end time to be the point of low activity on April 17th. However, that prediction does not take into account the many conditions that are difficult to quantify. How many people are holding on to their click instead of representing a true random arrival? I don't know what that number is, but if it's half of the people currently subscribed to this subreddit, that's a lot of clickers unaccounted for. Not to mention, this subreddit could hit mainstream and garner a lot more attention, further extending the date. But even if all these new people join in, will they be staying up late to press the button when we really need them?
Predictions can be based on many different conditions that are hard to quantify, and for that reason, the true end-date is hard to forecast at this time. Perhaps we'll have a better idea with a couple more days of data.
IN SUMMARY
There's not much time left guys. With strong discipline, the knights may be able to hold back the clock for a couple days. But without a sustained and concerted effort from the rest of reddit, we are fucked. I really don't want to know what's going to happen when this button stops. Will it reverse counting, and will we have to keep it from reaching infinity..? I'd rather be in hell. Will my doorbell stop ringing? Probably not. Will my great grandmas life support terminate? Hopefully.
edit: I have thought a lot more about my analysis since posting, and if you'd like to look further into my viewpoint, you can read some of my comments below. This one in particular I think is worth noting.
8
u/[deleted] Apr 13 '15
I'm guessing that once it hits red though the sub will get a lot of attention again and that we might regress a bit.
4
u/moaihead non presser Apr 13 '15
Seems like you have done a lot of work, and it needs to be more accessible. How about a plot of the final prediction, where you "eyeball" it. My unpublished results using the data from /u/def- and the team led by /u/TuskEvil seem to indicate that we have about until somewhere around early morning April 24th give or take a few days either side. Why your pessimism?
3
u/Ramanadjinn 33s Apr 13 '15 edited Apr 13 '15
Could you like.. put a part where you tell us what you found and what your conclusion was?
edit: thanks OP for adding it.
3
u/Free_Logo_Thread 60s Apr 13 '15
you're the worst great grandson ever and you're out of the will
3
u/theus2 non presser Apr 13 '15
Your data seems logical. But I'd have to disagree. I believe there are at least 17 days left on the timer (if not several months).
If there are 100,000 pressers left that will wait 15 seconds to press the button (i.e. press it and get a blue 45), the button will be alive for over 17 more days. Maybe there are only 30,000 pressers waiting for sub 10 second flair; this also means that there are at least 17 days left.
If we add all the people still pushing in the 50's, the red guard, and people just looking for 1 second flair, I believe the button will survive well into May, if not longer.
0
u/jgraham12345 56s Apr 14 '15
Okay, so I'm no math genius, but this is what I am thinking:
3,632,750 – total number of current reddit users -739,145 – total number who have pressed the button = 2,893,740 – number of reddit users who have yet to push the button
Assuming that the button has to be pressed by at least one reddit user every minute, if one person pressed the button every minute exactly, the button would be pressed every minute for exactly 2,893,740 more minutes.
Since there are 60 minutes in an hour, 2,893,740 minutes/ 60 minutes = 48229 hours left.
48229 total hours left / 24 hours in a day = 2009.5 days
2009.5 days / 365 days in a year = 5.5 years!!!!
Of course, no one is waiting a whole minute to press the button (thank god for all of those purple pushers!) but if everyone did, we could be waiting for quite a while.. lol