Created
June 5, 2013 19:36
-
-
Save Deradon/5716613 to your computer and use it in GitHub Desktop.
Humble Indie Bundle 8 - Stats
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Patrick Helm - @htwk_pat - 2013 | |
# | |
# Humblde Bundle 8 - 05.06.2013 | |
# | |
# Stats - Estimate purchases per plattform | |
total_payments = 2174259.44 | |
purchases = 378038 | |
average_purchase = 5.75 | |
average_windows = 5.37 | |
average_mac = 6.88 | |
average_linux = 8.81 | |
percent_windows = 0.7599954750265175 | |
percent_mac = 0.1460024937460807 | |
percent_linux = 0.09400203122740179 | |
count_windows = total_payments * percent_windows / average_windows | |
count_mac = total_payments * percent_mac / average_mac | |
count_linux = total_payments * percent_linux / average_linux | |
total_count = count_windows + count_mac + count_linux | |
diff = (total_count - purchases).abs | |
# Win: 307714 | |
# Mac: 46140 | |
# Linux: 23199 | |
# | |
# diff < 1000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment