Jeremy Kun, a mathematics PhD student at the University of Illinois in Chicago, has posted a wonderful primer on probability theory for programmers on his blog. It's a subject vital to machine learning and data-mining, and it's at the heart of much of the stuff going on with Big Data. His primer is lucid and easy to follow, even for math ignoramuses like me.
For instance, suppose our probability space is and is defined by setting for all (here the “experiment” is rolling a single die). Then we are likely interested in more exquisite kinds of outcomes; instead of asking the probability that the outcome is 4, we might ask what is the probability that the outcome is even? This event would be the subset , and if any of these are the outcome of the experiment, the event is said to occur. In this case we would expect the probability of the die roll being even to be 1/2 (but we have not yet formalized why this is the case).
As a quick exercise, the reader should formulate a two-dice experiment in terms of sets. What would the probability space consist of as a set? What would the probability mass function look like? What are some interesting events one might consider (if playing a game of craps)?
Probability Theory — A Primer
(Image: Dice, a Creative Commons Attribution (2.0) image from artbystevejohnson's photostream)
Old-school bOING bOING editor Jon Lebkowsky invites everyone to Cyberpunk2017, the Annual EFF/EFF-Austin SXSW Afterparty in Austin, Texas, Saturday, March 11, 2017, from 5pm to 1am! It’s free! Jon writes: Our latest EFF/EFF-Austin event takes a cyberpunk perspective on 2017, exploring how our vision of the future has changed over the last forty years of […]
The fully-funded Macchina project on Kickstarter is an Arduino-based, “open, versatile” gadget that bypasses the DRM in your car’s network, allowing you to configure it to work the way you want it to, so you can customize your car in all kinds of cool ways.
I’m touring 20 US cities (plus dates in Canada and the UK!) with my forthcoming novel Walkaway; the full tour hasn’t been announced yet, but I’m delighted to reveal that the NYC stop on May 3 will be at the New York Public Library, where my interlocutor will be the whistleblower Edward Snowden. Tickets are […]
DJI is the world’s leading designer and producer of easy-to-fly drones and aerial photography systems. If you’re a drone enthusiast, you want a DJI. If you know absolutely nothing about drones and think they’re weird, if you win a DJI you’re going to become a drone enthusiast.Enter this giveaway (for free, yes) and you’ll get a […]
Although there will never be a consensus about the best way to make coffee, any coffee connoisseur will agree that controlling the grind of your beans and balancing water temperature are the keys to a tasty cup. Since your plastic coffee pot doesn’t really allow for that kind of customization, going back to the French […]